Xero · Example Payload

Xero Gettasks Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Gettasks 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": "getTasks",
  "method": "GET",
  "path": "/Projects/{projectId}/Tasks",
  "summary": "Xero Retrieves all project tasks",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "pagination": {
          "page": 1,
          "pageSize": 50,
          "pageCount": 1,
          "itemCount": 1
        },
        "items": [
          {
            "name": "Demolition",
            "rate": {
              "currency": "AUD",
              "value": 20.0
            },
            "chargeType": "TIME",
            "status": "ACTIVE",
            "estimateMinutes": 12000,
            "taskId": "7be77337-feec-4458-bb1b-dbaa5a4aafce",
            "projectId": "b021e7cb-1903-4292-b48b-5b27b4271e3e",
            "totalMinutes": 180,
            "totalAmount": {
              "currency": "AUD",
              "value": 60.0
            },
            "minutesToBeInvoiced": 180,
            "minutesInvoiced": 0,
            "nonChargeableMinutes": 0,
            "fixedMinutes": 0,
            "amountToBeInvoiced": {
              "currency": "AUD",
              "value": 60.0
            },
            "amountInvoiced": {
              "currency": "AUD",
              "value": 0.0
            }
          }
        ]
      }
    }
  ]
}