POST api/BookingItem/Occurrence
Request Information
URI Parameters
None.
Body Parameters
OccurrenceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | globally unique identifier |
None. |
|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Comments | string |
None. |
|
| StartTime | time interval |
None. |
|
| EndTime | time interval |
None. |
|
| WeeklyDayOfWeek | integer |
None. |
|
| TenantID | integer |
None. |
|
| IsClosed | boolean |
None. |
|
| Every | integer |
None. |
|
| RecurrenceSystemDurationPatternID | integer |
None. |
|
| MonthlyDayOfMonth | integer |
None. |
|
| IsActive | boolean |
None. |
|
| BookingItemGUID | globally unique identifier |
None. |
|
| IsParentSeat | boolean |
None. |
|
| TotalSeats | integer |
None. |
|
| TotalWaitingListSeats | integer |
None. |
|
| RecurrenceStartDate | date |
None. |
|
| RecurrenceEndDate | date |
None. |
|
| OccurrencePriceTypeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GUID": "131ffa35-9af9-41e5-bc0d-1341c841f49d",
"ID": 2,
"Name": "sample string 3",
"Comments": "sample string 4",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"WeeklyDayOfWeek": 1,
"TenantID": 7,
"IsClosed": true,
"Every": 9,
"RecurrenceSystemDurationPatternID": 10,
"MonthlyDayOfMonth": 1,
"IsActive": true,
"BookingItemGUID": "119fe2b4-55d4-4690-8d1e-617785ae5b7a",
"IsParentSeat": true,
"TotalSeats": 1,
"TotalWaitingListSeats": 1,
"RecurrenceStartDate": "2026-11-05T11:43:31.2376797+00:00",
"RecurrenceEndDate": "2026-11-05T11:43:31.2376797+00:00",
"OccurrencePriceTypeID": 1
}
text/xml
Sample:
<OccurrenceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO">
<BookingItemGUID>119fe2b4-55d4-4690-8d1e-617785ae5b7a</BookingItemGUID>
<Comments>sample string 4</Comments>
<EndTime>PT0.1234567S</EndTime>
<Every>9</Every>
<GUID>131ffa35-9af9-41e5-bc0d-1341c841f49d</GUID>
<ID>2</ID>
<IsActive>true</IsActive>
<IsClosed>true</IsClosed>
<IsParentSeat>true</IsParentSeat>
<MonthlyDayOfMonth>1</MonthlyDayOfMonth>
<Name>sample string 3</Name>
<OccurrencePriceTypeID>1</OccurrencePriceTypeID>
<RecurrenceEndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:43:31.2376797Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</RecurrenceEndDate>
<RecurrenceStartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:43:31.2376797Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</RecurrenceStartDate>
<RecurrenceSystemDurationPatternID>10</RecurrenceSystemDurationPatternID>
<StartTime>PT0.1234567S</StartTime>
<TenantID>7</TenantID>
<TotalSeats>1</TotalSeats>
<TotalWaitingListSeats>1</TotalWaitingListSeats>
<WeeklyDayOfWeek>1</WeeklyDayOfWeek>
</OccurrenceDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.