Query status of processing for the jobs that added the usages.
GET {{baseUrl}}/usagesJobs?date=<string>&tenant=<string>&application=<string>&unit=<string>&page=1&size=10
Returns overall summary of the jobs and optionally the usages added using /usages APIs. - Callers are not usually expected to use this API as part of business workflow, but for 'in-frequent auditing'. - The calls to this method may be throttled. - Only 1000 latest jobs per operator tenant can be retrieved. - Description of job statuses. - ACCEPTED: A job is created, and the usages have been accepted. - INPROGRESS: Processing is on-going on at least one of the usages added by the job. - ERRORS: There is at least one error encountered while processing the usages. - COMPLETED: All the processes applicable to the usages have been completed.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
date | string | date on which usages had been added in yyyy-mm-dd format. default value is current date. | |
tenant | string | tenant for which usage had been added | |
application | string | application for which usage had been added | |
unit | string | resource usage unit | |
page | number | Page Number | |
size | number | Page Size |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"jobs":[{"id":"35a4cb01-2497-4191-ad1c-551a1942c409-20190520131","time":"2011-07-14T19:43:37Z","status":"INPROGRESS","usagesCount":7},{"id":"35a4cb01-2497-4191-ad1c-551a1942c409-20190520131","time":"2011-07-14T19:43:37Z","status":"INPROGRESS","usagesCount":7}],"page":{"number":2,"size":10,"totalElements":40,"totalPages":4}}