POST api/DataList/TimeZoneList

The time zone list gets the interface

Request Information

Body Parameters

TimeZoneListModel
NameDescriptionTypeAdditional information
Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Language": "sample string 2",
  "AppId": "sample string 3"
}

application/xml, text/xml

Sample:
<TimeZoneListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 3</AppId>
  <Language>sample string 2</Language>
  <Token>sample string 1</Token>
</TimeZoneListModel>

Response Information

Resource Description

Returning time zone list

TimeZoneListResult
NameDescriptionTypeAdditional information
Items

Collection of TimeZone

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "OffsetTime": 1.1,
      "TimeZoneName": "sample string 2"
    },
    {
      "OffsetTime": 1.1,
      "TimeZoneName": "sample string 2"
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<TimeZoneListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items>
    <TimeZone>
      <OffsetTime>1.1</OffsetTime>
      <TimeZoneName>sample string 2</TimeZoneName>
    </TimeZone>
    <TimeZone>
      <OffsetTime>1.1</OffsetTime>
      <TimeZoneName>sample string 2</TimeZoneName>
    </TimeZone>
  </Items>
</TimeZoneListResult>