POST api/userAppointments/AppointmentServiceDetails_Upsert
Request Information
URI Parameters
None.
Body Parameters
AppointmentServiceDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AppointmentId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| ServiceId | string |
None. |
|
| AssignedToUserId | integer |
None. |
|
| OldPrice | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Duration | decimal number |
None. |
|
| AssignedUserName | string |
None. |
|
| AssignedUserProfile | string |
None. |
|
| AssignedUserEmail | string |
None. |
|
| Language | string |
None. |
|
| AssignUserQueue | integer |
None. |
|
| ExpectedServiceTime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"AppointmentId": 2,
"CategoryId": 3,
"ServiceId": "sample string 4",
"AssignedToUserId": 5,
"OldPrice": 6.0,
"Price": 7.0,
"Duration": 8.0,
"AssignedUserName": "sample string 9",
"AssignedUserProfile": "sample string 10",
"AssignedUserEmail": "sample string 11",
"Language": "sample string 12",
"AssignUserQueue": 13,
"ExpectedServiceTime": "sample string 14"
}
text/xml
Sample:
<AppointmentServiceDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1"> <AppointmentId xmlns="http://schemas.datacontract.org/2004/07/">2</AppointmentId> <AssignUserQueue xmlns="http://schemas.datacontract.org/2004/07/">13</AssignUserQueue> <AssignedToUserId xmlns="http://schemas.datacontract.org/2004/07/">5</AssignedToUserId> <AssignedUserEmail xmlns="http://schemas.datacontract.org/2004/07/">sample string 11</AssignedUserEmail> <AssignedUserName xmlns="http://schemas.datacontract.org/2004/07/">sample string 9</AssignedUserName> <AssignedUserProfile xmlns="http://schemas.datacontract.org/2004/07/">sample string 10</AssignedUserProfile> <CategoryId xmlns="http://schemas.datacontract.org/2004/07/">3</CategoryId> <Duration xmlns="http://schemas.datacontract.org/2004/07/">8</Duration> <ExpectedServiceTime xmlns="http://schemas.datacontract.org/2004/07/">sample string 14</ExpectedServiceTime> <Id xmlns="http://schemas.datacontract.org/2004/07/">1</Id> <Language xmlns="http://schemas.datacontract.org/2004/07/">sample string 12</Language> <OldPrice xmlns="http://schemas.datacontract.org/2004/07/">6</OldPrice> <Price xmlns="http://schemas.datacontract.org/2004/07/">7</Price> <ServiceId xmlns="http://schemas.datacontract.org/2004/07/">sample string 4</ServiceId> </AppointmentServiceDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.