POST api/sitetimezoneapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
SiteTimeZoneViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| end_date | date |
Required |
|
| id | globally unique identifier |
None. |
|
| offset | decimal number |
Required |
|
| site_id | globally unique identifier |
Required |
|
| start_date | date |
Required |
Request Formats
application/json, text/json
Sample:
{
"active": true,
"end_date": "2026-01-19T09:36:46.2484336+00:00",
"id": "5615167b-f1f9-466b-be9a-c4c02b91389f",
"offset": 4.1,
"site_id": "471327f8-5536-40b2-bc12-98dbd2b2b2e1",
"start_date": "2026-01-19T09:36:46.2484336+00:00"
}
application/xml, text/xml
Sample:
<SiteTimeZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <end_date>2026-01-19T09:36:46.2484336+00:00</end_date> <id>5615167b-f1f9-466b-be9a-c4c02b91389f</id> <offset>4.1</offset> <site_id>471327f8-5536-40b2-bc12-98dbd2b2b2e1</site_id> <start_date>2026-01-19T09:36:46.2484336+00:00</start_date> </SiteTimeZone>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"dc2d459e-e452-4b64-bcaf-ee9df4c5b139"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">dc2d459e-e452-4b64-bcaf-ee9df4c5b139</guid>