Cisco Cisco Workload Automation 6.3 Developer's Guide

Page of 190
10
Introducing the CWA REST API
REST API Call Template
REST API Call Template
REST API calls can be described using the following template.
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
  <id>id_value</id>
  <tes:ApiObject.apiMethod xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
    <tes:param1>param1_value</tes:param1>
           …
    <tes:paramN>paramN_value</tes:paramN>
  </tes:ApiObject.apiMethod>
</entry>
Note:
 The standard header specifies the use of XML version 1.0 and UTF-8 encoding. The 
name space ("")for Atom. An object for REST API has a primary key (identifier) specified by the <id> tag. The xml name 
space te
s is defined as .tes:ApiObject.apiMethod is the fully qualified name of the method. A method can have one or 
more parameters.