cURL
curl --request POST \ --url https://api.dots.dev/api/v2/accounts-payable/payables/{payable_id}/file \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "file": "aSDinaTvuI8gbWludGxpZnk=" } '
{ "id": "<string>", "updated": true, "object": "<string>" }
Upload a file to be attached to the payable
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the Payable
OK
ID of the payable that was updated with the file.
true if the payable was updated.
true
Type of the object that was updated.
Was this page helpful?