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": "d5021929-8f71-4f83-8124-c5f7d8489433",
"EncounterTypeModeDurationId": "e73cc5a2-b2c5-4565-8391-4d5fb5e7e979",
"ProviderId": "4cbc3a0c-18ec-47fc-a142-b14797f095e3",
"UserId": "7c43e39e-168a-434d-ab42-e5ba95519226",
"PatientId": "9b25af11-3f8a-4f70-960a-3ebae4e44ebc",
"SpecialityId": "57a03643-572b-4cfc-a84e-3334dfeed277",
"AppointmentOn": "2026-03-21T22:07:24.5292368+00:00",
"SecondaryAppointmentOn": "2026-03-21T22:07:24.5292368+00:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "d1af66fb-f1ca-4f63-85fa-c210a4a62dbd",
"ReferredParentId": "f8d76df5-4a5f-4bf3-b07f-fd0f6289d153",
"PaidAmount": 5.0,
"AccountId": "10579d8f-0d16-4c24-acff-092e2c665070",
"ServiceId": "158e3772-e1b5-45e0-b8d5-b2a88a968574",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "cc76631a-82de-4a73-93ac-f5a0ee9d1a9e"
},
{
"ReasonId": "cc76631a-82de-4a73-93ac-f5a0ee9d1a9e"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.