POST api/Calendar/PatientAppointmentPost_v2
Request Information
URI Parameters
None.
Body Parameters
AppointmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EncounterTypeId | globally unique identifier |
None. |
|
| EncounterTypeModeDurationId | globally unique identifier |
None. |
|
| ProviderId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
Required |
|
| PatientId | globally unique identifier |
None. |
|
| SpecialityId | globally unique identifier |
None. |
|
| AppointmentOn | date |
Required |
|
| SecondaryAppointmentOn | date |
None. |
|
| Reason | string |
Required String length: inclusive between 0 and 250 |
|
| Note | string |
String length: inclusive between 0 and 1000 |
|
| ParentId | globally unique identifier |
None. |
|
| ReferredParentId | globally unique identifier |
None. |
|
| PaidAmount | decimal number |
None. |
|
| AccountId | globally unique identifier |
Required |
|
| ServiceId | globally unique identifier |
None. |
|
| MethodId | integer |
None. |
|
| IsCustomFormFlow | string |
None. |
|
| DocIds | string |
None. |
|
| Reasons | Collection of Reasons |
None. |
Request Formats
application/json, text/json
Sample:
{
"EncounterTypeId": "af108aca-55e2-4b2e-9c3c-4cb0d3877103",
"EncounterTypeModeDurationId": "34b07717-4ca9-466d-bdd3-d37be6d60535",
"ProviderId": "9bea293a-b007-4ef3-984c-756d2fada223",
"UserId": "1b309c9f-99a4-4c15-bc40-0cc611c67f7e",
"PatientId": "70da1bec-d5bf-4dfd-9763-d4901c63a081",
"SpecialityId": "9f8349b8-700e-42e2-96c0-80ea696247ba",
"AppointmentOn": "2025-12-16T09:12:21.0924707+00:00",
"SecondaryAppointmentOn": "2025-12-16T09:12:21.0924707+00:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "6de64f88-d62a-4a58-954d-1f86065cd4f0",
"ReferredParentId": "e39f18a2-f637-41d4-bec3-6fbbfbc67297",
"PaidAmount": 5.0,
"AccountId": "fea356d4-20d8-4b17-bc96-e6b2ab572105",
"ServiceId": "02a8855f-b9f2-4b4e-986a-bb5d710cc046",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "e813bc3b-65bc-4ee3-8637-167982f8ef46"
},
{
"ReasonId": "e813bc3b-65bc-4ee3-8637-167982f8ef46"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.