Xero · Example Payload

Xero Createbanktransactionattachmentbyfilename Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createbanktransactionattachmentbyfilename 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": "createBankTransactionAttachmentByFileName",
  "method": "PUT",
  "path": "/BankTransactions/{BankTransactionID}/Attachments/{FileName}",
  "summary": "Xero Creates an attachment for a specific bank transaction by filename",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "572ad2fe-8c23-45aa-82f9-864485327685",
        "Status": "OK",
        "ProviderName": "Xero API Partner",
        "DateTimeUTC": "/Date(1551286166630)/",
        "Attachments": [
          {
            "AttachmentID": "4508a692-e52c-4ad8-a138-2f13e22bf57b",
            "FileName": "sample5.jpg",
            "Url": "https://api.xero.com/api.xro/2.0/BankTransactions/db54aab0-ad40-4ced-bcff-0940ba20db2c/Attachments/sample5.jpg",
            "MimeType": "image/jpg",
            "ContentLength": 2878711
          }
        ]
      }
    }
  ]
}