1. Resource Central
  2. arrow-right
  3. Report Rows

Report Rows

A report is a collection of data built via the ItemPath application. Use the API to get data from specific rows within a report using its ID.

Attributes

Endpoints

List Report Rows /api/reports/[id]/report_rows
get

Call a report by its ID and return an array of the report's row data.

Body Parameters

  • limit integer

    A limit on the number of objects to be returned.

    Default value:

    1000

  • page integer

    Page numbering is zero-based and uses the value of the "limit" argument. (For example, if limit=20, then page=0 will display the hits from 1 to 20.)

  • countOnly boolean

    When "true", will only return a count of the amount of items in the query.

    Default value:

    false

Request with curl
curl "http://[subdomain.itempath.com or IP]/api/reports/[id]/report_rows" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]" -d '{ }'
Example Response
{
  "report_rows": [
    {
      "730": "Sun, 21 Mar 2021 16:48:30 GMT",
      "731": "C-210321",
      "732": 6,
      "733": "1113",
      "734": 11.0,
      "735": -2.0,
      "736": 232.0,
      "737": 0,
      "738": "Admin"
    },
    {
      "730": "Mon, 24 Jan 2022 15:33:07 GMT",
      "731": "Count1000004",
      "732": 6,
      "733": "1103",
      "734": 100.0,
      "735": 0.0,
      "736": 200.0,
      "737": 0,
      "738": "Admin"
    },
    {
      "730": "Fri, 03 Jul 2020 20:47:44 GMT",
      "731": "COUNT-VLM-01-001A",
      "732": 6,
      "733": "1101",
      "734": 50.0,
      "735": 48.0,
      "736": null,
      "737": 0,
      "738": "Admin"
    }
  ]
}