Xero · Example Payload

Xero Createcontactattachmentbyfilename Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createcontactattachmentbyfilename Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createContactAttachmentByFileName",
  "method": "PUT",
  "path": "/Contacts/{ContactID}/Attachments/{FileName}",
  "summary": "",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "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
          }
        ]
      }
    }
  ]
}