REST Request Format

REST is the simplest request format to use - it's a simple HTTP GET or POST action.

The REST Endpoint URL is TBD
To request the sessions’ service, invoke like this: http://XXX/?do=cnt.getservice&service=XXXXX

By default, all requests will send a REST Response payload.



REST Response Format

REST is the simplest response format to use - it's a simple XML block. A method call returns this:

<?xml version="1.0" encoding="utf-8" ?>
<rst stat="ok">        
[xml-payload-here]
</rst>

If an error occurs, the following is returned:

<?xml version="1.0" encoding="utf-8" ?> <rst stat="fail">        
<err code="[error-code]" msg="[error-message]" />
</rst>