JobPeriodValues

Prev Next

Job Period Values

/v1/dru/jobperiodvalues/

The Data Reporting Utility enables users to define aggregation jobs and generate aggregated results. The job definitions and results are stored in your database and can be accessed through this API

List Of periods of the aggregated values from a Data Reporting Utility Job.

Example for calling:

http://server/v1/dru/jobperiodvalues?id=2 – retrieves values from the job with id 2


Allowed Methods:

[GET]

API Controller: dru_jobresult

Description:

  1. Retrieves periods of the aggregated results of a Job.

Parameters:

Name Type Description Notes
id integer The ID of the Job Mandatory


Response Fields:

Name Type Description Notes
start datetime Start of the period
finish datetime End of the period


Show JSON Response

json result

[
    {
        "start": "2024-01-01T00:00:00",
        "finish": "2024-06-02T00:00:00"
    },
    {
        "start": "2024-06-02T00:00:00",
        "finish": "2024-06-03T00:00:00"
    },
    {
        "start": "2024-06-16T00:00:00",
        "finish": "2024-06-17T00:00:00"
    },
    {
        "start": "2024-06-17T00:00:00",
        "finish": "2024-06-18T00:00:00"
    }
]