Show Macro Replica
GET {{baseUrl}}/api/v2/macros/new?macro_id=<integer>&ticket_id=<integer>
Returns an unpersisted macro representation derived from a ticket or macro.
The endpoint takes one of the following query parameters: macro_id or ticket_id. If you include both, macro_id is used.
Allowed For
- Agents
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| macro_id | string | (Required) The ID of the macro to replicate | |
| ticket_id | string | (Required) The ID of the ticket from which to build a macro replica | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
{"macro":{"actions":[],"active":true,"description":"Sets the ticket status to `solved`","id":25,"position":42,"restriction":{},"title":"Close and Save"}}