Add a New Timeline Entry rpa.timeline.add

Scope: rpa

Who can execute the method: any user

This method creates a new timeline entry for the itemId of the typeId process.

This method allows modifying only the title and description fields.

Method Parameters

Name
type

Description

typeId
integer

Process identifier

itemId
integer

Entity identifier

fields
object

Object with fields of the entry

Fields Parameter

Name
type

Description

title
string

Title of the entry

description
string

Description of the entry. HTML tags can be used

Response Handling

HTTP Status: 200

{
            "timeline": {
                "id": 325,
                "typeId": 24,
                "itemId": 10,
                "createdTime": "2020-03-26T21:55:25+02:00",
                "userId": 1,
                "title": "rest update",
                "description": "<h5>small header</h5>",
                "action": false,
                "isFixed": false,
                "data": {
                    "scope": "rest"
                },
                "createdTimestamp": 1585252525000,
                "users": {
                    "1": {
                        "id": "1",
                        "name": "Anthony",
                        "secondName": "",
                        "lastName": "",
                        "title": null,
                        "workPosition": "",
                        "fullName": "Anthony",
                        "link": "/company/personal/user/1/"
                    }
                }
            }
        }
        

Continue Learning