Developer API - XML response format
The XML response format is a simple XML block.
XML is the default response format for all methods of the webcams.travel API. To explicitly set the response format to XML, send the parameter format=xml along with the method call.
A successful method call will return this:
<?xml version="1.0" encoding="utf-8"?> <wct_response status="ok"> [XML payload here] </wct_response>If an error occurs the method call will return this:
<?xml version="1.0" encoding="utf-8"?> <wct_response status="fail"> <error> <code>[error code]</code> <description>[error description]</description> </error> </wct_response>Common errors are listed on the API common error page. Individual errors are listed on the method's specification page.
Back to the API index page

