Escalas / Schedule

Atualizar / Update

[PT] Este serviço permite o atualizar os dados de uma escala especificada utilizando o id externo. Um JSON no formato abaixo relacionado deve ser enviado como payload. Os campos obrigatórios estão marcados com um "*" na aba "Model". [EN] Updates the specified schedule by external id. The payload to be sent is the bellow JSON. Required fields have a asterisk mark "*" in "Model" tab.

put/schedules/dto/externalId/{externalId}

Request

  • Base URL: https://api.nexti.com
  • URL: https://api.nexti.com/schedules/dto/externalId/{externalId}
  • Auth: OAuth 2 (client credentials, token URL https://api.nexti.com/security/oauth/token)

Path parameters

externalIdstring required

Request body

object required

Response

OK

idinteger

ID do response

messagestring

Mensagem do response

commentsstring[]

Comentários do response

Example response

{
  "value": {
    "rotations": [
      {
        "baseDateTime": "ddMMyyyyHHmmss"
      }
    ],
    "registerDate": "ddMMyyyyHHmmss",
    "lastUpdate": "ddMMyyyyHHmmss"
  }
}

Changes

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