Home / API Specifications / Response Format

Response Format


Currently Site24x7 supports XML response format.

The response will have the <response> tag as the root node. It might either contain a <result> or <error> node as it's child, but not both. The <result> node will be present under normal circumstances, whereas <error> node will be present in case of error conditions.

Format

<response uri="/api/xml/<actionname> action="<specifiedaction>">
<result>
<response>[specific XML response based on action]</response>
</result>
</response>

Sample

XML response to a request adding a new website monitor to an account.

<response uri="/api/xml/addMonitor" action="AddURL">
<result>
<response>Successfully Added Monitor</response>
</result>
</response>






     RSS of this page