Xero · Example Payload

Xero Createtask Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createtask 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": "createTask",
  "method": "POST",
  "path": "/Projects/{projectId}/Tasks",
  "summary": "Xero Allows you to create a task",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": "{ \"status\": \"INPROGRESS\" }"
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "example": {
        "name": "Demolition",
        "rate": {
          "currency": "AUD",
          "value": 20
        },
        "chargeType": "TIME",
        "status": "ACTIVE",
        "estimateMinutes": 12000,
        "taskId": "00000000-0000-0000-0000-000000000000",
        "projectId": "00000000-0000-0000-0000-000000000000",
        "totalMinutes": 300,
        "totalAmount": {
          "currency": "AUD",
          "value": 100
        },
        "minutesToBeInvoiced": 300,
        "minutesInvoiced": 0,
        "nonChargeableMinutes": 0,
        "fixedMinutes": 0,
        "amountToBeInvoiced": {
          "currency": "AUD",
          "value": 100
        },
        "amountInvoiced": {
          "currency": "AUD",
          "value": 0
        }
      }
    }
  ]
}