POST api/Scheduler/SaveBlockTime
Request Information
URI Parameters
None.
Body Parameters
SaveBlockTime| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffTypeId | integer |
None. |
|
| LocationIds | string |
None. |
|
| StartDateTime | date |
None. |
|
| EndDateTime | date |
None. |
|
| Comments | string |
None. |
|
| CompanyId | integer |
None. |
|
| StaffId | integer |
None. |
|
| ServiceId | integer |
None. |
|
| BlockTimeTypeId | integer |
None. |
|
| BlockTimeId | integer |
None. |
|
| IsRecurrence | boolean |
None. |
|
| RecurranceId | integer |
None. |
|
| Recurrances | Recurrance |
None. |
|
| TimeZoneID | string |
None. |
|
| EditAll | boolean |
None. |
|
| BlockTimeSubTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StaffTypeId": 1,
"LocationIds": "sample string 1",
"StartDateTime": "2026-04-17T12:55:03.0245987+00:00",
"EndDateTime": "2026-04-17T12:55:03.0245987+00:00",
"Comments": "sample string 2",
"CompanyId": 3,
"StaffId": 1,
"ServiceId": 1,
"BlockTimeTypeId": 4,
"BlockTimeId": 5,
"IsRecurrence": true,
"RecurranceId": 1,
"Recurrances": {
"RecurrenceType": "sample string 1",
"Interval": 2,
"Start": "2026-04-17T12:55:03.0245987+00:00",
"EndsOn_Never": true,
"EndsOn_Count": true,
"EndsOn_Count_Input": 1,
"EndsOn_Until": true,
"EndsOn_Until_Input": "2026-04-17T12:55:03.0245987+00:00",
"DayOfMonthRepeat": true,
"DayOfWeekRepeat": true,
"DayOfWeekMonday": true,
"DayOfWeekTuesday": true,
"DayOfWeekWednesday": true,
"DayOfWeekThursday": true,
"DayOfWeekFriday": true,
"DayOfWeekSaturday": true,
"DayOfWeekSunday": true
},
"TimeZoneID": "sample string 6",
"EditAll": true,
"BlockTimeSubTypeId": 1
}
application/xml, text/xml
Sample:
<SaveBlockTime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI.Cx360.WebAPI.Models.Scheduler">
<BlockTimeId>5</BlockTimeId>
<BlockTimeSubTypeId>1</BlockTimeSubTypeId>
<BlockTimeTypeId>4</BlockTimeTypeId>
<Comments>sample string 2</Comments>
<CompanyId>3</CompanyId>
<EditAll>true</EditAll>
<EndDateTime>2026-04-17T12:55:03.0245987+00:00</EndDateTime>
<IsRecurrence>true</IsRecurrence>
<LocationIds>sample string 1</LocationIds>
<RecurranceId>1</RecurranceId>
<Recurrances>
<DayOfMonthRepeat>true</DayOfMonthRepeat>
<DayOfWeekFriday>true</DayOfWeekFriday>
<DayOfWeekMonday>true</DayOfWeekMonday>
<DayOfWeekRepeat>true</DayOfWeekRepeat>
<DayOfWeekSaturday>true</DayOfWeekSaturday>
<DayOfWeekSunday>true</DayOfWeekSunday>
<DayOfWeekThursday>true</DayOfWeekThursday>
<DayOfWeekTuesday>true</DayOfWeekTuesday>
<DayOfWeekWednesday>true</DayOfWeekWednesday>
<EndsOn_Count>true</EndsOn_Count>
<EndsOn_Count_Input>1</EndsOn_Count_Input>
<EndsOn_Never>true</EndsOn_Never>
<EndsOn_Until>true</EndsOn_Until>
<EndsOn_Until_Input>2026-04-17T12:55:03.0245987+00:00</EndsOn_Until_Input>
<Interval>2</Interval>
<RecurrenceType>sample string 1</RecurrenceType>
<Start>2026-04-17T12:55:03.0245987+00:00</Start>
</Recurrances>
<ServiceId>1</ServiceId>
<StaffId>1</StaffId>
<StaffTypeId>1</StaffTypeId>
<StartDateTime>2026-04-17T12:55:03.0245987+00:00</StartDateTime>
<TimeZoneID>sample string 6</TimeZoneID>
</SaveBlockTime>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />