POST api/v1/Pulse
Returns the number of seconds since midnight.
Lightweight option to determine web service availability
Request Information
URI Parameters
None.
Body Parameters
PulseParamsNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<PulseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
Response Information
Resource Description
Returns:
200 OK Returns number of seconds since midnight
400 Bad Request - parameters supplied cannot be properly interpreted
401 Not Authorised if supplied api key is not valid
Name | Description | Type | Additional information |
---|---|---|---|
SecondsFromMidnight |
Number of seconds elapsed since midnight |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "SecondsFromMidnight": 1.1 }
application/xml, text/xml
Sample:
<Pulse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SecondsFromMidnight>1.1</SecondsFromMidnight> </Pulse>