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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;macro&quot;:{&quot;actions&quot;:[{&quot;field&quot;:&quot;status&quot;,&quot;value&quot;:&quot;solved&quot;}],&quot;id&quot;:25,&quot;restriction&quot;:{},&quot;title&quot;:&quot;Roger Wilco&quot;}}