PUT api/providers/{pid}/locations/{locationId}/serviceconfigs/{serviceConfigId}/selfservice-booking
Atualiza as políticas de agendamento para o autoatendimento
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid |
Id da Empresa |
integer |
Required |
| locationId |
Id da Unidade de negócio |
integer |
Required |
| serviceConfigId |
Id da configuração de atendimento |
integer |
Required |
Body Parameters
SelfServiceBookingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SelfServiceBookingEnabled |
Define se o autoatendimento está habilitado. |
boolean |
None. |
| UpdateAllSessions |
Define se as sessões também serão habilitadas/desabilitadas de acordo com o valor do SelfServiceBookingEnabled. |
boolean |
None. |
| End |
Políticas de término do autoatendimento. |
SelfServiceDatePolicieModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"selfServiceBookingEnabled": true,
"updateAllSessions": true,
"end": {
"type": "sample string 1",
"dateRef": "sample string 2",
"value": "sample string 3"
}
}
application/xml, text/xml
Sample:
<SelfServiceBookingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Presentation.WebAPI.Models.ServiceConfig">
<End>
<DateRef>sample string 2</DateRef>
<Type>sample string 1</Type>
<Value>sample string 3</Value>
</End>
<SelfServiceBookingEnabled>true</SelfServiceBookingEnabled>
<UpdateAllSessions>true</UpdateAllSessions>
</SelfServiceBookingModel>
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.