Sindicatos / TradeUnions

Cadastro

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

post/tradeunions

Request

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

Request body

idinteger

[PT]ID do sindicato [EN]Trade union ID

namestring required

[PT]Nome do sindicato. [EN]Trade union name

externalIdstring

[PT]Id externo do sindicato. [EN]Trade union external Id

emailstring

[PT]E-mail do sindicato [EN]Trade union E-mail

activeboolean required

[PT]Ativar sindicato [EN]Trade union active

registerDatestring required

[PT]Data de registro [EN]Register date

Example request

{
  "registerDate": "ddMMyyyyHHmmss"
}

Response

OK

idinteger

ID do response

messagestring

Mensagem do response

commentsstring[]

Comentários do response

Example response

{
  "value": {
    "registerDate": "ddMMyyyyHHmmss"
  }
}

Changes

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