POST api/v1/zones
Request Information
URI Parameters
None.
Body Parameters
ZoneDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Code | string |
None. |
|
| ZoneGroupCode | string |
None. |
|
| PlaceId | globally unique identifier |
None. |
|
| PlaceCode | string |
None. |
|
| IsIo | boolean |
None. |
|
| ZoneIntervalDtos | Collection of ZoneIntervalDto |
None. |
|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| ModificationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"code": "sample string 2",
"zoneGroupCode": "sample string 3",
"placeId": "8a8ae4e7-1808-492d-b661-17e0ad7e9f39",
"placeCode": "sample string 5",
"isIo": true,
"zoneIntervalDtos": [
{
"startYear": 1,
"startMonth": 1,
"startDay": 1,
"startHour": 1,
"startMinute": 2,
"endYear": 1,
"endMonth": 1,
"endDay": 1,
"endHour": 3,
"endMinute": 4,
"mode": 0,
"zoneCode": "sample string 5",
"id": "ec87c5df-0f68-47d2-95f5-098c70809d61",
"creationDate": "2026-02-04T04:35:18.484815+00:00",
"modificationDate": "2026-02-04T04:35:18.484815+00:00"
},
{
"startYear": 1,
"startMonth": 1,
"startDay": 1,
"startHour": 1,
"startMinute": 2,
"endYear": 1,
"endMonth": 1,
"endDay": 1,
"endHour": 3,
"endMinute": 4,
"mode": 0,
"zoneCode": "sample string 5",
"id": "ec87c5df-0f68-47d2-95f5-098c70809d61",
"creationDate": "2026-02-04T04:35:18.484815+00:00",
"modificationDate": "2026-02-04T04:35:18.484815+00:00"
}
],
"id": "7078d6a0-7070-4bcf-a39a-3395e37e91fd",
"creationDate": "2026-02-04T04:35:18.484815+00:00",
"modificationDate": "2026-02-04T04:35:18.484815+00:00"
}
application/xml, text/xml
Sample:
<ZoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos.Location">
<CreationDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">2026-02-04T04:35:18.484815+00:00</CreationDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">7078d6a0-7070-4bcf-a39a-3395e37e91fd</Id>
<ModificationDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">2026-02-04T04:35:18.484815+00:00</ModificationDate>
<Code>sample string 2</Code>
<IsIo>true</IsIo>
<Name>sample string 1</Name>
<PlaceCode>sample string 5</PlaceCode>
<PlaceId>8a8ae4e7-1808-492d-b661-17e0ad7e9f39</PlaceId>
<ZoneGroupCode>sample string 3</ZoneGroupCode>
<ZoneIntervalDtos>
<ZoneIntervalDto>
<CreationDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">2026-02-04T04:35:18.484815+00:00</CreationDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">ec87c5df-0f68-47d2-95f5-098c70809d61</Id>
<ModificationDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">2026-02-04T04:35:18.484815+00:00</ModificationDate>
<EndDay>1</EndDay>
<EndHour>3</EndHour>
<EndMinute>4</EndMinute>
<EndMonth>1</EndMonth>
<EndYear>1</EndYear>
<Mode>Never</Mode>
<StartDay>1</StartDay>
<StartHour>1</StartHour>
<StartMinute>2</StartMinute>
<StartMonth>1</StartMonth>
<StartYear>1</StartYear>
<ZoneCode>sample string 5</ZoneCode>
</ZoneIntervalDto>
<ZoneIntervalDto>
<CreationDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">2026-02-04T04:35:18.484815+00:00</CreationDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">ec87c5df-0f68-47d2-95f5-098c70809d61</Id>
<ModificationDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects">2026-02-04T04:35:18.484815+00:00</ModificationDate>
<EndDay>1</EndDay>
<EndHour>3</EndHour>
<EndMinute>4</EndMinute>
<EndMonth>1</EndMonth>
<EndYear>1</EndYear>
<Mode>Never</Mode>
<StartDay>1</StartDay>
<StartHour>1</StartHour>
<StartMinute>2</StartMinute>
<StartMonth>1</StartMonth>
<StartYear>1</StartYear>
<ZoneCode>sample string 5</ZoneCode>
</ZoneIntervalDto>
</ZoneIntervalDtos>
</ZoneDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.