GET v1/systemtime

Return the current system time. Also returns client offset given a client_time timestamp.

Request Information

Parameters

NameDescriptionAdditional information
client_time Timestamp at which client sent request. The ClientOffset field will be the difference in miliseconds from this timestamp.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "time": "2017-03-30T07:34:17.8815493-05:00",
  "timeZone": "sample string 2",
  "gMTOffset": 3.1,
  "clientOffset": 1,
  "ianaTimeZone": "sample string 4"
}

application/xml, text/xml

Sample:
<SystemTimeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.Controllers.api.v1">
  <ClientOffset>1</ClientOffset>
  <GMTOffset>3.1</GMTOffset>
  <IanaTimeZone>sample string 4</IanaTimeZone>
  <Time>2017-03-30T07:34:17.8815493-05:00</Time>
  <TimeZone>sample string 2</TimeZone>
</SystemTimeInfo>