Xero · Example Payload

Xero Createcreditnoteattachmentbyfilename Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createcreditnoteattachmentbyfilename 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": "createCreditNoteAttachmentByFileName",
  "method": "PUT",
  "path": "/CreditNotes/{CreditNoteID}/Attachments/{FileName}",
  "summary": "Xero Creates an attachment for a specific credit note",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "22a8d402-5dea-40ed-9d01-26896429f649",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1551822953320)/",
        "Attachments": [
          {
            "AttachmentID": "91bbae3f-5de5-4e3d-875f-8662f25897bd",
            "FileName": "sample5.jpg",
            "Url": "https://api.xero.com/api.xro/2.0/CreditNotes/249f15fa-f2a7-4acc-8769-0984103f2225/Attachments/sample5.jpg",
            "MimeType": "image/jpg",
            "ContentLength": 2878711
          }
        ]
      }
    }
  ]
}