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": "4d3a9a89-f793-4ecc-835f-a7d39d8c8d46",
"EncounterTypeModeDurationId": "765fa886-70f4-4404-a0ab-34d412fcbd66",
"ProviderId": "59d3e55f-0558-4bb9-88a9-4eb47d74eaae",
"UserId": "3e4e75d9-3110-41e5-babc-e54bb5022bfc",
"PatientId": "023e3e0c-c931-4fd0-86db-07df0e4f13d9",
"SpecialityId": "d5b14703-3313-4d05-b1ef-54703f3494d2",
"AppointmentOn": "2026-03-21T16:56:53.2385037-05:00",
"SecondaryAppointmentOn": "2026-03-21T16:56:53.2385037-05:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "5cde6824-53c0-4141-980b-6b22fb79ebff",
"ReferredParentId": "b839c6a6-73fb-48dd-ba1d-bc7e70a53ac9",
"PaidAmount": 5.0,
"AccountId": "7bb2d930-eacd-4612-8578-29a7fee2a554",
"ServiceId": "1f174aee-a8da-4592-9321-523f134a7284",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "36e1f332-a2ca-4f48-8efe-22889a91a229"
},
{
"ReasonId": "36e1f332-a2ca-4f48-8efe-22889a91a229"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.