POST api/TimeZone/CRUD

Add/Update/Delete TimeZones

Request Information

URI Parameters

None.

Body Parameters

String Array of TimeZones And Information(Mandatory)

Collection of TimeZonesInfo
NameDescriptionTypeAdditional information
TimeZoneId

integer

None.

TimeZoneName

string

None.

TimeZoneCode

string

None.

IsActive

boolean

None.

IsDaylightSavings

boolean

None.

offset

integer

None.

TimeZoneAbbr

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "TimeZoneId": 1,
    "TimeZoneName": "sample string 2",
    "TimeZoneCode": "sample string 3",
    "IsActive": true,
    "IsDaylightSavings": true,
    "offset": 1,
    "TimeZoneAbbr": "sample string 4",
    "IsDeleted": true
  },
  {
    "TimeZoneId": 1,
    "TimeZoneName": "sample string 2",
    "TimeZoneCode": "sample string 3",
    "IsActive": true,
    "IsDaylightSavings": true,
    "offset": 1,
    "TimeZoneAbbr": "sample string 4",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfTimeZonesInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
  <TimeZonesInfo>
    <IsActive>true</IsActive>
    <IsDaylightSavings>true</IsDaylightSavings>
    <IsDeleted>true</IsDeleted>
    <TimeZoneAbbr>sample string 4</TimeZoneAbbr>
    <TimeZoneCode>sample string 3</TimeZoneCode>
    <TimeZoneId>1</TimeZoneId>
    <TimeZoneName>sample string 2</TimeZoneName>
    <offset>1</offset>
  </TimeZonesInfo>
  <TimeZonesInfo>
    <IsActive>true</IsActive>
    <IsDaylightSavings>true</IsDaylightSavings>
    <IsDeleted>true</IsDeleted>
    <TimeZoneAbbr>sample string 4</TimeZoneAbbr>
    <TimeZoneCode>sample string 3</TimeZoneCode>
    <TimeZoneId>1</TimeZoneId>
    <TimeZoneName>sample string 2</TimeZoneName>
    <offset>1</offset>
  </TimeZonesInfo>
</ArrayOfTimeZonesInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>