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": "21717d65-d0b5-42da-9d1e-739079797ddb",
"EncounterTypeModeDurationId": "81746f70-eb75-4fb4-a351-84498b32f057",
"ProviderId": "675738e8-006c-4fd9-8fb2-51de8c03c724",
"UserId": "870f55f7-6deb-4ebf-9083-72eb0f2d99d8",
"PatientId": "942b99cc-5402-4af3-b65b-0a484d42de7b",
"SpecialityId": "298b0928-0f1c-448b-a5a9-82552144c020",
"AppointmentOn": "2026-02-04T03:26:31.8705169+00:00",
"SecondaryAppointmentOn": "2026-02-04T03:26:31.8705169+00:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "de4eac4f-eab8-419a-bc0b-3f825943d6ff",
"ReferredParentId": "adf0777b-f704-4770-8443-e323937c0511",
"PaidAmount": 5.0,
"AccountId": "13041b75-dfe5-419a-8cc6-d5c569d54e27",
"ServiceId": "cbad1077-521a-41ac-ad49-6d83fcd5dcd4",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "ef0e6fb0-0f3c-4ed5-891e-34902259be0d"
},
{
"ReasonId": "ef0e6fb0-0f3c-4ed5-891e-34902259be0d"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.