PUT api/AppintmentAPI
Request Information
URI Parameters
None.
Body Parameters
Appointment| Name | Description | Type | Additional information |
|---|---|---|---|
| AppoStartDate | date |
Required |
|
| AppoEndDate | date |
Required |
|
| PatientCode | string |
None. |
|
| PatientName | string |
None. |
|
| IdNumber | string |
Required |
|
| PatientMobile | string |
None. |
|
| PatientAge | integer |
None. |
|
| Doctor_MOH_No | string |
Required |
|
| AppoNotes | string |
None. |
|
| Status | integer |
None. |
|
| IsActive | boolean |
None. |
|
| ConfirmStatus | integer |
None. |
|
| WaitingOrder | integer |
None. |
|
| OverBooking | boolean |
None. |
|
| IsWaiting | boolean |
None. |
|
| PatientType | integer |
None. |
|
| PatientGender | string |
None. |
|
| ObAppoId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppoStartDate": "2025-12-08T22:22:45.9740355+03:00",
"AppoEndDate": "2025-12-08T22:22:45.9740355+03:00",
"PatientCode": "sample string 3",
"PatientName": "sample string 4",
"IdNumber": "sample string 5",
"PatientMobile": "sample string 6",
"PatientAge": 1,
"Doctor_MOH_No": "sample string 7",
"AppoNotes": "sample string 8",
"Status": 1,
"IsActive": true,
"ConfirmStatus": 1,
"WaitingOrder": 1,
"OverBooking": true,
"IsWaiting": true,
"PatientType": 1,
"PatientGender": "sample string 9",
"ObAppoId": 1
}
application/xml, text/xml
Sample:
<Appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nitcotek.API.DAL.Models"> <AppoEndDate>2025-12-08T22:22:45.9740355+03:00</AppoEndDate> <AppoNotes>sample string 8</AppoNotes> <AppoStartDate>2025-12-08T22:22:45.9740355+03:00</AppoStartDate> <ConfirmStatus>1</ConfirmStatus> <Doctor_MOH_No>sample string 7</Doctor_MOH_No> <IdNumber>sample string 5</IdNumber> <IsActive>true</IsActive> <IsWaiting>true</IsWaiting> <ObAppoId>1</ObAppoId> <OverBooking>true</OverBooking> <PatientAge>1</PatientAge> <PatientCode>sample string 3</PatientCode> <PatientGender>sample string 9</PatientGender> <PatientMobile>sample string 6</PatientMobile> <PatientName>sample string 4</PatientName> <PatientType>1</PatientType> <Status>1</Status> <WaitingOrder>1</WaitingOrder> </Appointment>
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. |