Miscellaneous Bill Attachment
Returns Attachments on Miscellaneous Bill transactions
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Purchase/Bill/Miscellaneous/{Bill_UID}/Attachment | |
| The {guid} in the URL above is replaced with the unique ID for any given company file | |
Attribute Details
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique guid identifier created for a spend money transaction. |
Attachments [] | Array | The Array that contains the Attachment. |
Attachments [].UID | Guid (36) | Unique guid identifier created for the Attachment. |
Attachments [].OriginalFileName | String | The Original filename of the uploaded document. |
Attachments [].ThumbnailUri | String | A s3 pre-signed url using for getting uploaded document thumbnail. The uri will expire after 1-2 minutes. |
Attachments [].FileUri | String | A s3 pre-signed url using for getting uploaded document thumbnail. The uri will expire after 1-2 minutes. |
Attachments [].FileBase64Content | String | Will always return as null in a GET. |
Attachments [].URI | String | Uniform resource identifier associated with the Attachment. |
Attachments [].RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. |
URI | String | Uniform resource identifier associated with the list of Attachments. |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. |
Attachments [] | Array | The Array that contains the Attachment. |
OriginalFileName | String | The Original filename of the uploaded document. |
FileBase64Content | String | Content of the file. |
POST Request
For more information , check out our Knowledge base article "Bill's Attachment Endpoint".
Example GET repsonse
Example
{
"UID": "4e03c825-d2cc-4318-97f2-9aea19766ab2",
"Attachments": {
"UID": "ac7f6c6e-500a-4828-8602-56b04304364a",
"OriginalFileName": "94bcf0bb-913e-4da9-8e8f-764cff49908c-item.pdf",
"ThumbnailUri": "https://production-alex....ca401631b7a122c706b22b505c19f080e",
"FileUri": "https://production-alex....ac6c9a969318ac759498aa7fc07b\"",
"FileBase64Content": "null",
"URI": "{cf_uri}/Purchase/Bill/Miscellaneous/4e03c825-d2cc-4318-97f2-9aea19766ab2/Attachment/ac7f6c6e-500a-4828-8602-56b04304364a",
"RowVersion": "0"
},
"URI": "{cf_uri}/Purchase/Bill/Miscellaneous/4e03c825-d2cc-4318-97f2-9aea19766ab2/Attachment",
"RowVersion": "0"
}Example POST request
Example
{
"Attachments": {
"OriginalFileName": "94bcf0bb-913e-4da9-8e8f-764cff49908c-item.pdf",
"FileBase64Content": "null"
}
}