JobPeriodValues
  • 22 Nov 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

JobPeriodValues

  • Dark
    Light
  • PDF

Article summary

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:

NameTypeDescriptionNotes
idintegerThe ID of the JobMandatory


Response Fields:

NameTypeDescriptionNotes
startdatetimeStart of the period
finishdatetimeEnd 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"
    }
]


Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence