POST api/Reservations/UpsertReservation
Request Information
URI Parameters
None.
Body Parameters
ReservationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReservationKey | string |
None. |
|
| ExaminationRoomKey | string |
None. |
|
| ReservationDate | date |
None. |
|
| IsInsured | boolean |
None. |
|
| InsuranceKey | string |
None. |
|
| VisitTypeId | integer |
None. |
|
| NoShow | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| PatientReportedShow | boolean |
None. |
|
| IsVezeetaReservation | boolean |
None. |
|
| ReservationStatusId | integer |
None. |
|
| PatientName | string |
None. |
|
| PatientMobileNumber | string |
None. |
|
| PatientEmail | string |
None. |
|
| PatientGender | integer |
None. |
|
| PatientBirthDate | date |
None. |
|
| ActionMaker | string |
None. |
|
| PromoCodeKey | string |
None. |
|
| Fees | decimal number |
None. |
|
| UserKey | string |
None. |
|
| CountrySpecialityKey | string |
None. |
|
| CallSourceId | integer |
None. |
|
| FeesAfterDiscount | decimal number |
None. |
|
| ServiceKey | string |
None. |
|
| PromoCodePercentage | integer |
None. |
|
| ReservationSource | integer |
None. |
|
| CampaignKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReservationKey": "sample string 1",
"ExaminationRoomKey": "sample string 2",
"ReservationDate": "2025-10-28T19:35:14.2787842+03:00",
"IsInsured": true,
"InsuranceKey": "sample string 3",
"VisitTypeId": 1,
"NoShow": true,
"IsDeleted": true,
"PatientReportedShow": true,
"IsVezeetaReservation": true,
"ReservationStatusId": 1,
"PatientName": "sample string 4",
"PatientMobileNumber": "sample string 5",
"PatientEmail": "sample string 6",
"PatientGender": 1,
"PatientBirthDate": "2025-10-28T19:35:14.2787842+03:00",
"ActionMaker": "sample string 7",
"PromoCodeKey": "sample string 8",
"Fees": 1.0,
"UserKey": "sample string 9",
"CountrySpecialityKey": "sample string 10",
"CallSourceId": 1,
"FeesAfterDiscount": 1.0,
"ServiceKey": "sample string 11",
"PromoCodePercentage": 12,
"ReservationSource": 1,
"CampaignKey": "sample string 13"
}
application/xml, text/xml
Sample:
<ReservationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VezeetaCrmApi.Models"> <ActionMaker>sample string 7</ActionMaker> <CallSourceId>1</CallSourceId> <CampaignKey>sample string 13</CampaignKey> <CountrySpecialityKey>sample string 10</CountrySpecialityKey> <ExaminationRoomKey>sample string 2</ExaminationRoomKey> <Fees>1</Fees> <FeesAfterDiscount>1</FeesAfterDiscount> <InsuranceKey>sample string 3</InsuranceKey> <IsDeleted>true</IsDeleted> <IsInsured>true</IsInsured> <IsVezeetaReservation>true</IsVezeetaReservation> <NoShow>true</NoShow> <PatientBirthDate>2025-10-28T19:35:14.2787842+03:00</PatientBirthDate> <PatientEmail>sample string 6</PatientEmail> <PatientGender>1</PatientGender> <PatientMobileNumber>sample string 5</PatientMobileNumber> <PatientName>sample string 4</PatientName> <PatientReportedShow>true</PatientReportedShow> <PromoCodeKey>sample string 8</PromoCodeKey> <PromoCodePercentage>12</PromoCodePercentage> <ReservationDate>2025-10-28T19:35:14.2787842+03:00</ReservationDate> <ReservationKey>sample string 1</ReservationKey> <ReservationSource>1</ReservationSource> <ReservationStatusId>1</ReservationStatusId> <ServiceKey>sample string 11</ServiceKey> <UserKey>sample string 9</UserKey> <VisitTypeId>1</VisitTypeId> </ReservationModel>
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. |