Create Macro
POST {{baseUrl}}/api/v2/macros
Allowed For
- Agents
Request Body
{"macro"=>{"title"=>"<string>", "actions"=>[{"field"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"field"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "active"=>"<boolean>", "description"=>"<string>", "restriction"=>{"id"=>"<integer>", "ids"=>["<integer>", "<integer>"], "type"=>"<string>", "aliqua_90c"=>"Lorem ex aliqua proident"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"macro":{"actions":[{"field":"status","value":"solved"}],"id":25,"restriction":{},"title":"Roger Wilco"}}