Turmas / Rotation

Atualizar / Update

[PT] Este serviço permite o atualizar os dados de uma turma específica utilizando o id externo da escala. Um JSON no formato abaixo relacionado deve ser enviado como payload by external id. Os campos obrigatórios estão marcados com um "*" na aba "Model".

[EN] Updates the specified rotation by schedule external id. The payload to be sent is the bellow JSON. Required fields have a asterisk mark "*" in "Model" tab.

put/rotations/scheduleexternalid/{scheduleexternalid}/rotationcode/{rotationcode}

Request

  • Base URL: https://api.nexti.com
  • URL: https://api.nexti.com/rotations/scheduleexternalid/{scheduleexternalid}/rotationcode/{rotationcode}
  • Auth: OAuth 2 (client credentials, token URL https://api.nexti.com/security/oauth/token)

Path parameters

scheduleexternalidstring required

ID externo da escala

rotationcodeinteger required

Código da turma

Request body

object required

Dados da turma.

Response

OK

idinteger

ID do response

messagestring

Mensagem do response

commentsstring[]

Comentários do response

Example response

{
  "value": {
    "baseDateTime": "ddMMyyyyHHmmss"
  }
}

Changes

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