Messages
Making requests
The ‘Content-Type’ header must be set to ‘application/xml’ or ‘application/json’ to identify the request and response format. The default is ‘application/xml’. All requests must include a basic authorization header.
Get messages
URL: rest/v1/messages
HTTP method: GET
Returns all accessible messages
Get timelog
URL: rest/v1/messages/{ID}
HTTP method: GET
Returns message
Create message
URL: rest/v1/messages/{ID}
HTTP method: POST
Request body contains a message
Returns status code 201 (Created) on success
Update message
URL: rest/v1/messages/{ID}
HTTP method: PUT
Request body contains a message
Response with “200 OK” on success
Delete message
URL: rest/v1/messages/{ID}
HTTP method: DELETE
Response with “200 OK” on success