Documentos - Documents

[PT] Atualiza documento existente. [EN] Update existing document

put/documents/{id}

Request

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

Path parameters

idinteger required

Request body

issueDatestring
[PT]Data de emissão do documento
[EN]Document issue date
dueDatestring
[PT]Data de vencimento do documento
[EN]Document due date
notifyUsersboolean
[PT]Enviar notificação (sim ou não)
[EN]Send notification (true or false)
daysToNotifyinteger
[PT]Número de dias antes da data de vencimento em que a notificação será enviada
[EN]Number of days before due date that notification will be sent
notificationPersonIdsinteger[]
[PT]IDs dos colaboradores notificados: para quem será enviada a notificação
[EN]IDs of persons to whom the notification will be sent
notificationPersonExternalIdsstring[]
[PT]IDs externos dos colaboradores notificados: para quem será enviada a notificação
[EN]External IDs of persons to whom the notification will be sent
notestring
[PT]Observação
[EN]Note
refresherLastDatestring
[PT]Data da última reciclagem do documento CNV
[EN]Date of last CNV document renewal
refresherDueDatestring
[PT]Data de vencimento da reciclagem do documento CNV
[EN]CNV document renewal due date

Example request

{
  "issueDate": "ddMMyyyy",
  "dueDate": "ddMMyyyy",
  "refresherLastDate": "ddMMyyyy",
  "refresherDueDate": "ddMMyyyy"
}

Response

OK

Changes

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