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": "0057a2ba-bf86-42c0-937b-0da534a7c2f5",
"EncounterTypeModeDurationId": "492c9a83-d5ff-4119-8c0f-f7e4164b364f",
"ProviderId": "71439466-7bf9-4a49-bbae-4df24b9bf9bf",
"UserId": "83397e3c-49e6-4258-aff0-f42ff35f2c1f",
"PatientId": "2f0d5514-9e9f-4496-8805-f4c4a8c3af9a",
"SpecialityId": "38889683-d781-4428-94c1-03533bc0e818",
"AppointmentOn": "2026-05-06T13:35:34.472485+00:00",
"SecondaryAppointmentOn": "2026-05-06T13:35:34.472485+00:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "cdc56a36-5a66-4599-b37f-c6b2cfd4989a",
"ReferredParentId": "4e72d38c-4fd1-4172-a0f2-0a5a288fa609",
"PaidAmount": 5.0,
"AccountId": "fb4f72b5-5558-4b8d-a3d6-764a96f4c5f8",
"ServiceId": "8c5652cc-d9e3-4162-b4c7-b07e4858dac3",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "eb2e9cf0-a166-4dcf-aa90-29834a351805"
},
{
"ReasonId": "eb2e9cf0-a166-4dcf-aa90-29834a351805"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.