POST api/Calendar/PatientAppointmentPost_v2
Request Information
URI Parameters
None.
Body Parameters
AppointmentModelName | 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": "97362f40-f8d4-49d4-b3b7-11972f778fa8", "EncounterTypeModeDurationId": "2c9c16ce-a305-47f0-9544-f912799ea605", "ProviderId": "f9e1778b-9f5f-4f6b-99e1-f7d57370f439", "UserId": "ca247056-66e6-40d2-91f7-e2603a14b21a", "PatientId": "cfc9f528-61f2-4f13-b377-03b1a4a414a8", "SpecialityId": "624a6825-031a-467e-b1c0-674bc48e14d0", "AppointmentOn": "2025-06-08T16:10:12.9739442+05:30", "SecondaryAppointmentOn": "2025-06-08T16:10:12.9739442+05:30", "Reason": "sample string 3", "Note": "sample string 4", "ParentId": "07a7b5f9-8090-4515-ae9b-022790b1f297", "ReferredParentId": "39fa393c-e74a-408b-b1e6-a5323ac10955", "PaidAmount": 5.0, "AccountId": "9425e3c5-e617-4de7-80f4-c3a4d2c9af4b", "ServiceId": "07a974a7-eeb2-4313-8241-4826219dde74", "MethodId": 1, "IsCustomFormFlow": "sample string 7", "DocIds": "sample string 8", "Reasons": [ { "ReasonId": "fdc00ae4-8902-4a75-9156-5073d6ac8620" }, { "ReasonId": "fdc00ae4-8902-4a75-9156-5073d6ac8620" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.