PUT api/providers/{pid}/locations/{locationId}/serviceconfigs/{serviceConfigId}/selfservice-confirmation

Atualiza as políticas de confirmação para o autoatendimento

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

SelfServiceConfirmationModel
NameDescriptionTypeAdditional information
Start

SelfServiceDatePolicieModel

None.

End

SelfServiceDatePolicieModel

None.

SelfServiceConfirmationEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "start": {
    "type": "sample string 1",
    "dateRef": "sample string 2",
    "value": "sample string 3"
  },
  "end": {
    "type": "sample string 1",
    "dateRef": "sample string 2",
    "value": "sample string 3"
  },
  "selfServiceConfirmationEnabled": true
}

application/xml, text/xml

Sample:
<SelfServiceConfirmationModel 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>
  <SelfServiceConfirmationEnabled>true</SelfServiceConfirmationEnabled>
  <Start>
    <DateRef>sample string 2</DateRef>
    <Type>sample string 1</Type>
    <Value>sample string 3</Value>
  </Start>
</SelfServiceConfirmationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.