cancel
Showing results for 
Search instead for 
Did you mean: 

Ariba Asynchronous API not generating records

11-03-2026 6:59 PM
Marcin1 Explorer
63 views 3 comments
0 Likes
Subscribe

Ariba Asynchronous job to endpoint: https://openapi.ariba.com/api/procurement-reporting-job/v2/prod/jobs?includeCustomFields=true&realm=... with body: 
{"viewTemplateName":"PDHPaymentExtract_updatedRange","filters":{"updatedDateFrom":"2019-03-01T00:00:00Z","updatedDateTo":"2019-04-01T00:00:00Z"}} 

Get consistent completed response where the "totalNumOfRecords": 5438,"totalNumOfRecordsProcessed": 0

So what this means to me is there are relevant records found, but 0 are being generated. Why is this happening? Will attach full resulting json. 

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

sravan_aleshwaram
Contributor
0 Likes

Hello @Marcin1 

The job is still running or queued. Check the job status using the job ID returned in the response.
The reporting extract has not been generated yet. Asynchronous APIs require polling the job status until it reaches COMPLETED
There may be backend processing delays or failures. Review the job details/error logs.
Verify that the report template (PDHPaymentExtract_updatedRange) and date filters return valid data

Thanks,
Sravan

Marcin1
Explorer
0 Likes
Hey, this issue is present despite a completed status. Here is a snippet of the status json: { "jobId": "ba877936-df1a-4160-94d3-258ed16c49a01793725170365", "files": [ ], "status": "completed", "createdDate": "2026-11-03T16:59:30Z", "completedDate": "2026-11-03T16:59:51Z", "viewTemplateName": "PDHPaymentExtract_updatedRange", "filters": { "updatedDateFrom": "2019-03-01T00:00:00Z", "updatedDateTo": "2019-04-01T00:00:00Z" }, "documentType": "Payment",
Marcin1
Explorer
0 Likes
Hey, my job is getting this completed status. Those attributes are actually appearing on the job status you are referencing