Sugarcrm支持 产品指南 糖开发人员 糖开发人员指南10.0 一体化 网页服务 休息API. 终点 /<module> /活动/过滤器获得

/<module> /活动/过滤器获得

在模块列表视图上的活动

概括:

此端点列出了系统中特定模块的活动。 它使用订阅模型,可以像普通的Bean集合一样查询,但没有搜索,排序或过滤。

查询参数:

帕纳 描述 可选的
max_num. 最大返回的记录数 可选的
抵消 在返回记录之前跳过多少条记录 可选的

输入示例:

此端点不接受任何输入

输出示例:

{
    "next_offset": 20, This will be set to -1 when there are no more records after this "page".
    "records": [{
        "id": "22fb8b16-de1d-f1dc-b15b-51240efde177",
        "date_entered": "2013-02-19T23:47:11+00:00",
        "date_modified": "2013-02-19T23:47:11+00:00",
        "created_by": "1",
        "deleted": "0",
        "parent_id": "f5bb0331-2c0f-5c7c-b4db-5123caac0056",
        "parent_type": "Contacts",
        "activity_type": "post", This will be the type of activity performed.
        "data": {
            "value": "This is a test post on a contact I'm subscribed to."
        },
        "comment_count": 0, This will be set to the total number of comments on the post.
        "last_comment": { This will be the last comment on the post, which can be used to create a comment model on the frontend.
            "deleted": 0,
            "data": []
        },
        "fields": [],
        "first_name": null,
        "last_name": "Administrator",
        "created_by_name": " Administrator" This will be the locale-formatted full name of the user.
    }, ... ]
}

最后修改:2020-03-16 17:04:48