Miscellaneous Bill Attachment
Returns Attachments on Miscellaneous Bill transactions
Date Released: Sept 2020 Date Updated: Apr 2021
URL | Supports |
/{cf_uri}/Purchase/Bill/Miscellaneous/{Bill_UID}/Attachment
|
GET |
PUT |
POST |
DELETE
|
The {guid} in the URL above is replaced with the unique ID for any given company file |
Please note: While accessibility via the API is available to both AccountRight and new Essentials files. Not all features will be displayed in Product for new Essentials
The elements list below details information for Miscellaneous Bill Attachment. To view the descriptions for the elements you can either hover any attribute to reveal details or click here to show all details inline.
Items shown with are required when posting or puting data
Items shown with are read-only elements
GET Response
- UIDGuid (36)
- Unique guid identifier created for a spend money transaction.
- Attachments []Array
- The Array that contains the Attachment.
- UIDGuid (36)
- Unique guid identifier created for the Attachment.
- OriginalFileNameString
- The Original filename of the uploaded document.
- ThumbnailUriString
- A s3 pre-signed url using for getting uploaded document thumbnail. The uri will expire after 1-2 minutes.
- FileUriString
- A s3 pre-signed url using for getting uploaded document thumbnail. The uri will expire after 1-2 minutes.
- FileBase64ContentString
- Will always return as null in a GET.
- URIString
- Uniform resource identifier associated with the Attachment.
- RowVersionString
- Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time.
- URIString
- Uniform resource identifier associated with the list of Attachments.
- RowVersionString
- Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time.
POST Request
- Attachments []Array
- The Array that contains the Attachment.
- OriginalFileNameString
- The Original filename of the uploaded document.
- FileBase64ContentString
- Content of the file.
For more information, check out our Knowledge base article "Bill's Attachment Endpoint".
Example GET repsonse
- {
- "UID" : "4e03c825-d2cc-4318-97f2-9aea19766ab2",
- "Attachments" : [
- "URI" : "{cf_uri}/Purchase/Bill/Miscellaneous/4e03c825-d2cc-4318-97f2-9aea19766ab2/Attachment",
- "RowVersion" : "0"
- }
Example POST request
- {
- "Attachments" : [
- {
- "OriginalFileName" : "94bcf0bb-913e-4da9-8e8f-764cff49908c-item.pdf",
- "FileBase64Content" : null
- }
- ]
- }