Need complete sample Deluge code to add attachment to an invoice,
Need complete sample Deluge code to add attachment to an invoice,
Here's the example (?) from the Zoho api documentation.
It's unhelpful. Please, the remainder of the code.
Thank you.
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "
https://www.zohoapis.com/books/v3/invoices/982000000567114/attachment?organization_id=10234695"
type: POST
headers: headers_data
content-type: application/octet-stream
connection: <connection_name>
]
info response;