create Contact Attachment By File Name
PUT {{baseUrl}}/Contacts/:ContactID/Attachments/:FileName
Request Body
["<", "b", "y", "t", "e", ">"]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant | |
Content-Type | string |
RESPONSES
status: OK
{"Id":"a5eddf71-86aa-42f5-99e2-0aaf9caf96b6","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1551484292734)/","Attachments":[{"AttachmentID":"27e37b01-6996-4ebe-836c-95fd472ad674","FileName":"sample5.jpg","Url":"https://api.xero.com/api.xro/2.0/Contacts/8138a266-fb42-49b2-a104-014b7045753d/Attachments/sample5.jpg","MimeType":"image/jpg","ContentLength":2878711}]}