Tipos de serviços / Types of service

Cadastro

[PT]Este serviço permite o cadastro de um novo tipo de serviço via Nexti API. Um JSON no formato abaixo relacionado deve ser enviado como payload. Os campos obrigatórios estão marcados com um "". name - Tipo de Serviço. [EN]This service allows the registration of a new type of service by the Nexti API. A JSON in the format listed below must be submitted how to payload. Required fields are marked with a "".

post/servicetypes

Request

  • Base URL: https://api.nexti.com
  • URL: https://api.nexti.com/servicetypes
  • Auth: OAuth 2 (client credentials, token URL https://api.nexti.com/security/oauth/token)

Request body

idinteger

[PT]ID do tipo de serviço [EN]Type of service ID

namestring required

[PT]Nome do tipo de serviço [EN]Type of service Name

externalIdstring

[PT]ID externo do tipo de serviço [EN]External type of service ID

controlIdlenessboolean

[PT]Controle de ociosidade [EN]Idle control

createAbsenceInsteadNotRegisteredboolean

[PT]Gerar ausência no lugar do esquecimento [EN]Generate absence in the place of forgetfulness

controlLackOfStaffboolean

[PT]Controle de efetivo [EN]Control of lack of effective

activeboolean

[PT]Ativo [EN]Active

Response

OK

idinteger

ID do response

messagestring

Mensagem do response

commentsstring[]

Comentários do response

Changes

No recorded changes to this operation across all 1 revision of this API.