POST api/providers/{pid}/locations/{locationId}/serviceconfigs
Criar nova configuração de atendimento
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid |
Id da Empresa |
integer |
Required |
| locationId |
Id da Unidade de negócio |
integer |
Required |
Body Parameters
CreateServiceConfigModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Nome da configuração de atendimento. |
string |
Required Max length: 50 |
| Type |
Tipo da configuração de serviço(formas de previsão) |
ServiceConfigType |
Required |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"type": 0
}
application/xml, text/xml
Sample:
<CreateServiceConfigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Presentation.WebAPI.Models.ServiceConfig"> <Name>sample string 1</Name> <Type>TRADITIONAL</Type> </CreateServiceConfigModel>
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.