Parameter | Type | Description |
---|---|---|
id | integer | Document ID |
Key | Type | Description |
---|---|---|
document.title | string | |
document.description | string |
Key | Type | Description |
---|---|---|
document.deadline_at | datetime | Date until the document should be confirmed |
document.first_reminder.days_before_deadline | integer | Number of days before the deadline the first reminder should be sent |
document.second_reminder.days_before_deadline | integer | Number of days before the deadline the second reminder should be sent |
Key | Type | Description |
---|---|---|
document | Document | See: Document model |
Status | Description |
---|---|
404 | Document not found |
422 | Invalid parameters - see Invalid parameters errors model |
Key | Error |
---|---|
document.first_reminder | already_sent |
document.second_reminder | already_sent |
document.second_reminder | cannot_be_present_without_first_reminder |
document.second_reminder.days_before_deadline | cannot_be_before_first_reminder |
{
"document": {} // Document - see 'Document model'
}