Worker Documents API
Access and worker document data, such as worker attachments and document type.
Actions
| Verb | Path | Action | Description |
|---|---|---|---|
| POST |
/api/workers/:worker_id/worker_documents
|
create | Create Worker Document |
| DELETE |
/api/workers/:worker_id/worker_documents/:id
|
destroy | Delete Worker Document |
| GET |
/api/workers/:worker_id/worker_documents
|
index | Query Worker Document |
| GET |
/api/workers/:worker_id/worker_documents/:id
|
show | Show a Worker Document |
| PATCH |
/api/workers/:worker_id/worker_documents/:id
|
update | Update Worker Document |
| PUT |
/api/workers/:worker_id/worker_documents/:id
|
update | Update Worker Document |
Elements
| Element | Description | Req'd | Unique | Allowable Value | In | Out | Data Type |
|---|---|---|---|---|---|---|---|
| attachments | Attachments | yes | Attachment | ||||
|
created-at |
Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ | yes |
datetime |
||||
|
created-by |
User who created | yes | User | ||||
| id | Coupa’s Internal ID | yes |
integer |
||||
| type | Document Type | yes | ReferenceData::DocumentType | ||||
|
updated-at |
Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ | yes | datetime | ||||
|
updated-by |
User who updated | yes | User |