PUT api/providers/{pid}/locations/{locationId}/serviceconfigs/{serviceConfigId}/payment-support

Atualiza as políticas de agendamento para pagamento

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

UpdatePaymentSupportModel
NameDescriptionTypeAdditional information
IsEnabledPayment

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "isEnabledPayment": true
}

application/xml, text/xml

Sample:
<UpdatePaymentSupportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Presentation.WebAPI.Models.ServiceConfig">
  <IsEnabledPayment>true</IsEnabledPayment>
</UpdatePaymentSupportModel>

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.