Reports can be used to display session data in graphs, grids and other report widgets.

Reports when fetched via the API return a data record with the follow keys:

  • id - a unique identifier for the report in the Mobile Data Anywhere system.
  • name - The name of the report
  • xml_data - The raw xml data used to save the report.

Example JSON object:

{
    "id": 123
    "name": "My Report",
    "xml_data": "<?xml version="1.0" encoding="UTF-8"?><Report></Report></?xml> ",
}

GET /api/v1/reports/:id
Get the details for a specific report.

Params

Param name Description
id
required

The id of the report.

Validations:

  • Must be a Integer


GET /api/v1/reports
Return a list of all dashbords in the user's account


POST /api/v1/reports
Save a new report.


PUT /api/v1/reports
Update an existing report .

Params

Param name Description
id
required

The id of the report.

Validations:

  • Must be a Integer

last_fetch_date
required

The date/time that this report was last requested from the server.

Validations:

  • Must be a String


DELETE /api/v1/reports/:id
Remove a report from your account

Params

Param name Description
id
required

The id of the report.

Validations:

  • Must be a Integer


GET /api/v1/reports/:id
Remove a report from your account

Params

Param name Description
id
required

The id of the report.

Validations:

  • Must be a Integer