a month ago
Hallo Team/Experts.
I have the base URL for Operational Procurement API
https://openapi.au.cloud.ariba.com/api/procurement-reporting-view/v2/prod.
I would like frame the URL to fatch present invoice status from Ariba from Jan 2025 to Present. I am not aware to frame the URL for the requirement and need help if anyone can provide input to frame the URL which will be greatful as I am new working with API's.
Still need any additonal information I can provide.
Thanks
Request clarification before answering.
Hi,
try this out:
https://openapi.au.cloud.ariba.com/api/procurement-reporting-details/v2/prod/views/Invoice_SAP_createdRange?filters=%7B%22createdDateFrom%22:%222025-01-01T00:00:00Z%22,%22createdDateTo%22:%222025-03-24T23:59:59Z%22%7D&realm={you ariba realm id}
Please noted the filter value should be encoded.
Best regards,
Sirui
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the filter value "%7B%22createdDateFrom%22:%222025-01-01T00:00:00Z%22,%22createdDateTo%22:%222025-03-24T23:59:59Z%22%7D" is encoded already, the decoded version is "{"createdDateFrom":"2025-01-01T00:00:00Z","createdDateTo":"2025-03-24T23:59:59Z"}".
You can use post man to test this API, let me know if you need more information.
{
"documentType":"Invoice"
"status":"Approved","Rejected","Paid"
"selectAttributes":["InvoceId"],
"filterExpressions" : [
{
"field" : "TimeUpdated",
"op" : "<=",
"defaultValue" : "2025-03-31T00:00:00Z",
"name" : "updatedDateTo"
},
{
"field" : "TimeUpdated",
"op" : ">",
"defaultValue" : "2025-03-001T00:00:00Z",
"name" : "updatedDateFrom"
}
]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.