POST api/AppointmentRequestReasons
Request Information
URI Parameters
None.
Body Parameters
AppointmentRequestReasonModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InternalId |
ID of the appointment request reason. |
globally unique identifier |
None. |
| AccountId |
Account's unique identifier. |
globally unique identifier |
None. |
| Name |
Name of appointment request reason. |
string |
None. |
| AppliesToNewPatients |
Indicates whether the appointment request reason applies to new patient or not. |
boolean |
None. |
| AppliesToExistentPatients |
Indicates whether the appointment request reason applies to existen patient or not. |
boolean |
None. |
| IsLogicalDeleted |
Indicates whether the appointment request reason is logical deleted or not. |
boolean |
None. |
| SlotDuration |
Estimated time for an appointment with this reason. |
integer |
None. |
| Changed |
Result of reason whether changed or no. |
boolean |
None. |
| Active |
Indicates whether the appointment request reason is active or not. |
boolean |
None. |
| LastChanged |
Timestamp value of the last modification. |
string |
None. |
Request Formats
application/json, text/json
{
"internalId": "39562c77-0d5b-430b-bf10-5910009e2fc6",
"accountId": "2332aea4-dd7d-48f5-ad2d-d64c1e39d9ca",
"name": "sample string 3",
"appliesToNewPatients": true,
"appliesToExistentPatients": true,
"isLogicalDeleted": true,
"slotDuration": 7,
"changed": true,
"active": true,
"lastChanged": "sample string 10"
}
application/xml, text/xml
<AppointmentRequestReasonModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.AppointmentRequestReasons"> <AccountId>2332aea4-dd7d-48f5-ad2d-d64c1e39d9ca</AccountId> <Active>true</Active> <AppliesToExistentPatients>true</AppliesToExistentPatients> <AppliesToNewPatients>true</AppliesToNewPatients> <Changed>true</Changed> <InternalId>39562c77-0d5b-430b-bf10-5910009e2fc6</InternalId> <IsLogicalDeleted>true</IsLogicalDeleted> <LastChanged>sample string 10</LastChanged> <Name>sample string 3</Name> <SlotDuration>7</SlotDuration> </AppointmentRequestReasonModel>
application/x-www-form-urlencoded
Response Information
Resource Description
AppointmentRequestReasonModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InternalId |
ID of the appointment request reason. |
globally unique identifier |
None. |
| AccountId |
Account's unique identifier. |
globally unique identifier |
None. |
| Name |
Name of appointment request reason. |
string |
None. |
| AppliesToNewPatients |
Indicates whether the appointment request reason applies to new patient or not. |
boolean |
None. |
| AppliesToExistentPatients |
Indicates whether the appointment request reason applies to existen patient or not. |
boolean |
None. |
| IsLogicalDeleted |
Indicates whether the appointment request reason is logical deleted or not. |
boolean |
None. |
| SlotDuration |
Estimated time for an appointment with this reason. |
integer |
None. |
| Changed |
Result of reason whether changed or no. |
boolean |
None. |
| Active |
Indicates whether the appointment request reason is active or not. |
boolean |
None. |
| LastChanged |
Timestamp value of the last modification. |
string |
None. |
Response Formats
application/json, text/json
{
"internalId": "c44ee9a3-541a-4106-a787-d1456a873f18",
"accountId": "35f4f4d8-48ee-42a9-880e-d1c3a1339f03",
"name": "sample string 3",
"appliesToNewPatients": true,
"appliesToExistentPatients": true,
"isLogicalDeleted": true,
"slotDuration": 7,
"changed": true,
"active": true,
"lastChanged": "sample string 10"
}
application/xml, text/xml
<AppointmentRequestReasonModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.AppointmentRequestReasons"> <AccountId>35f4f4d8-48ee-42a9-880e-d1c3a1339f03</AccountId> <Active>true</Active> <AppliesToExistentPatients>true</AppliesToExistentPatients> <AppliesToNewPatients>true</AppliesToNewPatients> <Changed>true</Changed> <InternalId>c44ee9a3-541a-4106-a787-d1456a873f18</InternalId> <IsLogicalDeleted>true</IsLogicalDeleted> <LastChanged>sample string 10</LastChanged> <Name>sample string 3</Name> <SlotDuration>7</SlotDuration> </AppointmentRequestReasonModel>