POST api/appointment/systemchangetreatment
Request Information
URI Parameters
None.
Body Parameters
AppointmentChangeTreatmentRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AppId | integer |
None. |
|
| TrtId | integer |
None. |
|
| TrtDuration | integer |
None. |
|
| TrtPrice | decimal number |
None. |
|
| SaleTypeId | integer |
None. |
|
| PriceListId | integer |
None. |
|
| UnitPrice | decimal number |
None. |
|
| DiscountPrcnt | decimal number |
None. |
|
| DiscountValue | decimal number |
None. |
|
| PayoutValue | decimal number |
None. |
|
| ChargeDateStr | string |
None. |
|
| LeaderId | integer |
None. |
|
| AssistantId | integer |
None. |
|
| ExtraInfo | string |
None. |
|
| AppointmentDate | string |
None. |
|
| AppointmentStartTime | string |
None. |
|
| Resource1Id | integer |
None. |
|
| Resource2Id | integer |
None. |
|
| Resource3Id | integer |
None. |
|
| Notes | string |
None. |
|
| BookingSourceId | integer |
None. |
|
| BookingSourceActionId | integer |
None. |
|
| IsLocked | boolean |
None. |
|
| PropertyId | integer |
None. |
|
| IsForCouple | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppId": 1,
"TrtId": 2,
"TrtDuration": 3,
"TrtPrice": 4.1,
"SaleTypeId": 5,
"PriceListId": 6,
"UnitPrice": 7.1,
"DiscountPrcnt": 8.1,
"DiscountValue": 9.1,
"PayoutValue": 10.1,
"ChargeDateStr": "sample string 11",
"LeaderId": 12,
"AssistantId": 13,
"ExtraInfo": "sample string 14",
"AppointmentDate": "sample string 15",
"AppointmentStartTime": "sample string 16",
"Resource1Id": 17,
"Resource2Id": 18,
"Resource3Id": 19,
"Notes": "sample string 20",
"BookingSourceId": 21,
"BookingSourceActionId": 22,
"IsLocked": true,
"PropertyId": 24,
"IsForCouple": true
}
application/xml, text/xml
Sample:
<AppointmentChangeTreatmentRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <AppId>1</AppId> <AppointmentDate>sample string 15</AppointmentDate> <AppointmentStartTime>sample string 16</AppointmentStartTime> <AssistantId>13</AssistantId> <BookingSourceActionId>22</BookingSourceActionId> <BookingSourceId>21</BookingSourceId> <ChargeDateStr>sample string 11</ChargeDateStr> <DiscountPrcnt>8.1</DiscountPrcnt> <DiscountValue>9.1</DiscountValue> <ExtraInfo>sample string 14</ExtraInfo> <IsForCouple>true</IsForCouple> <IsLocked>true</IsLocked> <LeaderId>12</LeaderId> <Notes>sample string 20</Notes> <PayoutValue>10.1</PayoutValue> <PriceListId>6</PriceListId> <PropertyId>24</PropertyId> <Resource1Id>17</Resource1Id> <Resource2Id>18</Resource2Id> <Resource3Id>19</Resource3Id> <SaleTypeId>5</SaleTypeId> <TrtDuration>3</TrtDuration> <TrtId>2</TrtId> <TrtPrice>4.1</TrtPrice> <UnitPrice>7.1</UnitPrice> </AppointmentChangeTreatmentRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |