Ticket json query string12/26/2023 For positional parameters that do not have names, use the arg1, arg2, arg3 convention as the names for the pairs. Use the name of the parameter as the name for the pair. Include each parameter in a separate name and value pair. You can use JavaScript Object Notation (JSON) to format parameters in the message body of a Legacy REST Web Services request.Įnclose the parameters in standard JSON format as shown in the example below. JSON Parameter Markup in ATG REST Services The jsonquery filter lets you query a complex JSON structure and iterate over it using a loop structure. Make sure that you specify Content-Type: application/xml in the HTTP message. Selecting JSON data: JSON queries To select a single element or a data subset from a complex data structure in JSON format (for example, Ansible facts), use the jsonquery filter. Use the name of the parameter as its element name. Include each parameter in a separate child element. You can use eXtensible Markup Language (XML) to format parameters in the message body of an ATG REST Web Services request.Įnclose all message body content in a parameters element as shown in the example below. > Content-Length: 125 XML Parameter Markup in ATG REST Services > POST /rest/bean/atg/userprofiling/ProfileServices/loginUser HTTP/1.1 If specified, requires the ticket to have the SLA requirement completed (1) or. Possible values are awaitinguser, awaitingagent, closed (archived), hidden, resolved. Requires ticket to be in the specified status. d "MyUsernameMyPasswordMyMessageId" bean/atg/userprofiling/ProfileServices/loginUser Requires ticket to contain the specified text within it. The following example shows an HTTP request that sets its Content-Type to application/xml. Content-Type: application/x-www-form-urlencoded
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |