BootView WebApi

<back to all web services

SystemCheck

The following routes are available for this service:
POST/systemcheckAdds Event when Partner Service is DOWN, removes when Partner Service is UP
SystemCheck Parameters:
NameParameterData TypeRequiredDescription
check_idbodyintYes
check_namebodystringYes
check_typebodystringYes
previous_statebodystringYes
current_statebodystringYes
descriptionbodystringYes
long_descriptionbodystringYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /systemcheck HTTP/1.1 
Host: api.paylock.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SystemCheck xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <check_id>0</check_id>
  <check_name>String</check_name>
  <check_type>String</check_type>
  <current_state>String</current_state>
  <description>String</description>
  <long_description>String</long_description>
  <previous_state>String</previous_state>
</SystemCheck>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>