POST api/Schedules/UpsertMultipleSchedules
Request Information
URI Parameters
None.
Body Parameters
Collection of SchedulesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ScheduleKey | string |
None. |
|
| UserKey | string |
None. |
|
| ExaminationRoomKey | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ReservationType | integer |
None. |
|
| ExaminationFee | decimal number |
None. |
|
| WorkingHoursModel | Collection of WorkingHoursModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ScheduleKey": "sample string 1",
"UserKey": "sample string 2",
"ExaminationRoomKey": "sample string 3",
"StartDate": "2025-10-28T19:27:33.1425296+03:00",
"EndDate": "2025-10-28T19:27:33.1425296+03:00",
"ReservationType": 1,
"ExaminationFee": 1.0,
"WorkingHoursModel": [
{
"DayOfWeek": 1,
"Start": "2025-10-28T19:27:33.1425296+03:00",
"End": "2025-10-28T19:27:33.1425296+03:00",
"NumberOfAllowedSlots": 1,
"SlotDuration": "00:00:00.1234567"
},
{
"DayOfWeek": 1,
"Start": "2025-10-28T19:27:33.1425296+03:00",
"End": "2025-10-28T19:27:33.1425296+03:00",
"NumberOfAllowedSlots": 1,
"SlotDuration": "00:00:00.1234567"
}
]
},
{
"ScheduleKey": "sample string 1",
"UserKey": "sample string 2",
"ExaminationRoomKey": "sample string 3",
"StartDate": "2025-10-28T19:27:33.1425296+03:00",
"EndDate": "2025-10-28T19:27:33.1425296+03:00",
"ReservationType": 1,
"ExaminationFee": 1.0,
"WorkingHoursModel": [
{
"DayOfWeek": 1,
"Start": "2025-10-28T19:27:33.1425296+03:00",
"End": "2025-10-28T19:27:33.1425296+03:00",
"NumberOfAllowedSlots": 1,
"SlotDuration": "00:00:00.1234567"
},
{
"DayOfWeek": 1,
"Start": "2025-10-28T19:27:33.1425296+03:00",
"End": "2025-10-28T19:27:33.1425296+03:00",
"NumberOfAllowedSlots": 1,
"SlotDuration": "00:00:00.1234567"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfSchedulesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VezeetaCrmApi.Models">
<SchedulesModel>
<EndDate>2025-10-28T19:27:33.1425296+03:00</EndDate>
<ExaminationFee>1</ExaminationFee>
<ExaminationRoomKey>sample string 3</ExaminationRoomKey>
<ReservationType>1</ReservationType>
<ScheduleKey>sample string 1</ScheduleKey>
<StartDate>2025-10-28T19:27:33.1425296+03:00</StartDate>
<UserKey>sample string 2</UserKey>
<WorkingHoursModel>
<WorkingHoursModel>
<DayOfWeek>1</DayOfWeek>
<End>2025-10-28T19:27:33.1425296+03:00</End>
<NumberOfAllowedSlots>1</NumberOfAllowedSlots>
<SlotDuration>PT0.1234567S</SlotDuration>
<Start>2025-10-28T19:27:33.1425296+03:00</Start>
</WorkingHoursModel>
<WorkingHoursModel>
<DayOfWeek>1</DayOfWeek>
<End>2025-10-28T19:27:33.1425296+03:00</End>
<NumberOfAllowedSlots>1</NumberOfAllowedSlots>
<SlotDuration>PT0.1234567S</SlotDuration>
<Start>2025-10-28T19:27:33.1425296+03:00</Start>
</WorkingHoursModel>
</WorkingHoursModel>
</SchedulesModel>
<SchedulesModel>
<EndDate>2025-10-28T19:27:33.1425296+03:00</EndDate>
<ExaminationFee>1</ExaminationFee>
<ExaminationRoomKey>sample string 3</ExaminationRoomKey>
<ReservationType>1</ReservationType>
<ScheduleKey>sample string 1</ScheduleKey>
<StartDate>2025-10-28T19:27:33.1425296+03:00</StartDate>
<UserKey>sample string 2</UserKey>
<WorkingHoursModel>
<WorkingHoursModel>
<DayOfWeek>1</DayOfWeek>
<End>2025-10-28T19:27:33.1425296+03:00</End>
<NumberOfAllowedSlots>1</NumberOfAllowedSlots>
<SlotDuration>PT0.1234567S</SlotDuration>
<Start>2025-10-28T19:27:33.1425296+03:00</Start>
</WorkingHoursModel>
<WorkingHoursModel>
<DayOfWeek>1</DayOfWeek>
<End>2025-10-28T19:27:33.1425296+03:00</End>
<NumberOfAllowedSlots>1</NumberOfAllowedSlots>
<SlotDuration>PT0.1234567S</SlotDuration>
<Start>2025-10-28T19:27:33.1425296+03:00</Start>
</WorkingHoursModel>
</WorkingHoursModel>
</SchedulesModel>
</ArrayOfSchedulesModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |