Retrieve documents for a specific vendor by its identifier
application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the Vendor to retrieve |
200 OK
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the vendor document response data |
data.vendorDocuments | array | List of document entries associated with the vendor |
data.vendorDocuments[].id | string | The unique identifier for the document |
data.vendorDocuments[].createdOn | string | The date when the document entry was created (ISO 8601 format) |
data.vendorDocuments[].name | string | The name of the document |
data.vendorDocuments[].size | string | The size of the document |
data.vendorDocuments[].type | string | The type of the document. Like: GENERAL, PAN_CERTIFICATE, REIMBURSEMENT_ITEM |
data.vendorDocuments[].extension | string | The file extension of the document |
data.vendorDocuments[].downloadUrl | string | The URL to download the document |
data.vendorDocuments[].user | object | Information about the user who made the comment |
data.vendorDocuments[].user.id | string | Unique identifier for the user |
data.vendorDocuments[].user.name | string | Name of the user |
data.context | object | Additional context for the document |
data.context.count | number | The total number of document |
400 Bad Request
404 Not Found
403 Forbidden
401 Unauthorized
403 Forbidden
id returned from the vendor creation endpoint to retrieve document