Show Changes to Ticket
GET {{baseUrl}}/api/v2/macros/:macro_id/apply
Returns the changes the macro would make to a ticket. It doesn't actually change a ticket. You can use the response data in a subsequent API call to the Tickets endpoint to update the ticket.
The response includes only the ticket fields that would be changed by the macro. To get the full ticket object after the macro is applied, see Show Ticket After Changes.
Allowed For
- Agents
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"result":{"ticket":{"assignee_id":235323,"comment":{"body":"Assigned to Agent Uno.","public":false,"scoped_body":[["channel:all","Assigned to Agent Uno."]]},"fields":{"id":27642,"value":"745"},"group_id":98738}}}