RESTful service activity

Use the RESTful service activity to integrate TotalAgility with external applications.

The RESTful service activity can integrate with external applications through the RESTful web service references.

  • TotalAgility supports only simple types of RESTful web services, which should not be used with complex data structures.

  • TotalAgility supports specifying custom headers to be passed to a RESTful service activity.

RESTful web services typically map the four main HTTP methods to the operations they perform: Post, Get, Put and Delete.

The web service only sends the basic HTTP verbs – GET, PUT, POST, and DELETE – to the server and expects JSON or XML as response.

For example, http://service.com/emp/123

XML format:

<Emp>
           <Name>ABC</Name>
           <Id>321</Id>
           <Email>abc@domain.com</Email>
           <Org>Kofax</Org>
</Emp>

JSON format:

{
         "Name":"ABC",
         "Id":"321",
         "Email":"abc@doamin.com",
         "Org":"Kofax"
}

How to: Configure a RESTful service activity