Xero · Example Payload

Xero Createreceiptattachmentbyfilename Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createreceiptattachmentbyfilename 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": "createReceiptAttachmentByFileName",
  "method": "PUT",
  "path": "/Receipts/{ReceiptID}/Attachments/{FileName}",
  "summary": "Xero Creates an attachment on a specific expense claim receipts by file name",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "01c9a720-b1f1-4477-8de8-ff46d945fd1d",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552686599884)/",
        "Attachments": [
          {
            "AttachmentID": "3451e34c-66a6-42b0-91e2-88618bdc169b",
            "FileName": "foobar.jpg",
            "Url": "https://api.xero.com/api.xro/2.0/Receipts/a44fd147-af4e-4fe8-a09a-55332df74162/Attachments/foobar.jpg",
            "MimeType": "image/jpg",
            "ContentLength": 2878711
          }
        ]
      }
    }
  ]
}