Xero · Example Payload

Xero Getbanktransfer Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getbanktransfer 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": "getBankTransfer",
  "method": "GET",
  "path": "/BankTransfers/{BankTransferID}",
  "summary": "Xero Retrieves specific bank transfers by using a unique bank transfer Id",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "1a5fa46d-5ece-4ef2-89b1-77c293b5d833",
        "Status": "OK",
        "ProviderName": "Xero API Partner",
        "DateTimeUTC": "/Date(1551311320368)/",
        "BankTransfers": [
          {
            "BankTransferID": "6221458a-ef7a-4d5f-9b1c-1b96ce03833c",
            "CreatedDateUTCString": "2016-10-17 20:46:01",
            "CreatedDateUTC": "/Date(1476737161140+0000)/",
            "DateString": "2016-11-12 21:10:00",
            "Date": "/Date(1478985000000+0000)/",
            "FromBankAccount": {
              "AccountID": "6f7594f2-f059-4d56-9e67-47ac9733bfe9",
              "Code": "088",
              "Name": "Business Wells Fargo"
            },
            "ToBankAccount": {
              "AccountID": "7e5e243b-9fcd-4aef-8e3a-c70be1e39bfa",
              "Code": "090",
              "Name": "My Savings"
            },
            "Amount": 20.0,
            "FromBankTransactionID": "a3eca480-bc04-4292-9bbd-5c57b8ba12b4",
            "ToBankTransactionID": "4ca13f40-f3a0-4530-a442-a600f5696118",
            "FromIsReconciled": false,
            "ToIsReconciled": false,
            "Reference": "Sub 098801",
            "CurrencyRate": 1.0,
            "HasAttachments": true,
            "Attachments": [
              {
                "AttachmentID": "e05a6fd8-0e47-47a9-9799-b809c8267260",
                "FileName": "HelloWorld.jpg",
                "Url": "https://api.xero.com/api.xro/2.0/banktransfer/6221458a-ef7a-4d5f-9b1c-1b96ce03833c/Attachments/HelloWorld.jpg",
                "MimeType": "image/jpg",
                "ContentLength": 2878711
              }
            ]
          }
        ]
      }
    }
  ]
}