POST api/TimeZone/Save

Request Information

URI Parameters

None.

Body Parameters

TimeZoneViewModel
NameDescriptionTypeAdditional information
CountryId

string

Required

TimeZoneName

string

None.

StandardName

string

None.

TimeZoneAbbreviation

string

None.

UtcHourOffset

integer

None.

UtcMinuteOffset

integer

None.

IsDaylightSavingTime

boolean

None.

AlternateCountryIds

Collection of AlternateCountryViewModel

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryId": "sample string 1",
  "TimeZoneName": "sample string 2",
  "StandardName": "sample string 3",
  "TimeZoneAbbreviation": "sample string 4",
  "UtcHourOffset": 5,
  "UtcMinuteOffset": 6,
  "IsDaylightSavingTime": true,
  "AlternateCountryIds": [
    {
      "CountryId": "sample string 1"
    },
    {
      "CountryId": "sample string 1"
    }
  ],
  "Id": "sample string 8",
  "CreatedDate": "2024-11-21T09:17:54.8775065+00:00",
  "UpdatedDate": "2024-11-21T09:17:54.8775065+00:00",
  "CreatedBy": "sample string 11",
  "UpdatedBy": "sample string 12",
  "CreatedByUserId": "sample string 13",
  "UpdatedByUserId": "sample string 14",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<TimeZoneViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 13</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T09:17:54.8775065+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 8</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 12</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 14</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T09:17:54.8775065+00:00</UpdatedDate>
  <AlternateCountryIds>
    <AlternateCountryViewModel>
      <CountryId>sample string 1</CountryId>
    </AlternateCountryViewModel>
    <AlternateCountryViewModel>
      <CountryId>sample string 1</CountryId>
    </AlternateCountryViewModel>
  </AlternateCountryIds>
  <CountryId>sample string 1</CountryId>
  <IsDaylightSavingTime>true</IsDaylightSavingTime>
  <StandardName>sample string 3</StandardName>
  <TimeZoneAbbreviation>sample string 4</TimeZoneAbbreviation>
  <TimeZoneName>sample string 2</TimeZoneName>
  <UtcHourOffset>5</UtcHourOffset>
  <UtcMinuteOffset>6</UtcMinuteOffset>
</TimeZoneViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.