PUT api/providers/{pid}/locations/{locationId}/services/{serviceId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid | integer |
Required |
|
| locationId | integer |
Required |
|
| serviceId | integer |
Required |
Body Parameters
UpdateServiceCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required Max length: 100 |
|
| Description | string |
None. |
|
| Tags | Collection of string |
None. |
|
| AverageTime | integer |
None. |
|
| EstimatedPrice | decimal number |
None. |
|
| AverageServiceDuration | integer |
None. |
|
| ServiceConfigId | integer |
None. |
|
| Note | string |
None. |
|
| AttendenceServiceType | AttendenceServiceType |
None. |
|
| serviceCategoryId | integer |
None. |
|
| LobbyContent | string |
None. |
|
| IsRecommendDesktop | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"description": "sample string 2",
"tags": [
"sample string 1",
"sample string 2"
],
"averageTime": 3,
"estimatedPrice": 1.1,
"averageServiceDuration": 1,
"serviceConfigId": 1,
"note": "sample string 4",
"attendenceServiceType": 0,
"serviceCategoryId": 1,
"lobbyContent": "sample string 5",
"isRecommendDesktop": true
}
application/xml, text/xml
Sample:
<UpdateServiceCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Core.BusinessUnit.Application.Services.Commands">
<AttendenceServiceType>PRESENTIAL</AttendenceServiceType>
<AverageServiceDuration>1</AverageServiceDuration>
<AverageTime>3</AverageTime>
<Description>sample string 2</Description>
<EstimatedPrice>1.1</EstimatedPrice>
<IsRecommendDesktop>true</IsRecommendDesktop>
<LobbyContent>sample string 5</LobbyContent>
<Name>sample string 1</Name>
<Note>sample string 4</Note>
<ServiceConfigId>1</ServiceConfigId>
<Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Tags>
<serviceCategoryId>1</serviceCategoryId>
</UpdateServiceCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.