Xero · Example Payload

Xero Gettimeentries Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Gettimeentries 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": "getTimeEntries",
  "method": "GET",
  "path": "/Projects/{projectId}/Time",
  "summary": "Xero Retrieves all time entries associated with a specific project",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "pagination": {
          "page": 1,
          "pageSize": 50,
          "pageCount": 1,
          "itemCount": 9
        },
        "items": [
          {
            "timeEntryId": "3cd35eca-704f-4bca-b258-236028ae8ed1",
            "userId": "740add2a-a703-4b8a-a670-1093919c2040",
            "projectId": "b021e7cb-1903-4292-b48b-5b27b4271e3e",
            "taskId": "7be77337-feec-4458-bb1b-dbaa5a4aafce",
            "dateUtc": "2020-02-27T15:00:00Z",
            "dateEnteredUtc": "2020-02-28T03:24:29.2215641Z",
            "duration": 45,
            "description": "My description",
            "status": "ACTIVE"
          },
          {
            "timeEntryId": "00000000-0000-0000-0000-000000000000",
            "userId": "00000000-0000-0000-0000-000000000000",
            "projectId": "00000000-0000-0000-0000-000000000000",
            "taskId": "00000000-0000-0000-0000-000000000000",
            "dateUtc": "2020-02-26T15:00:00Z",
            "dateEnteredUtc": "2020-02-28T03:24:29.2215641Z",
            "duration": 30,
            "description": "My description",
            "status": "ACTIVE"
          }
        ]
      }
    }
  ]
}