You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to get the hashkey of AP Invoice via REST API within AI Agent Studio

Hi,

We are facing a strange issue when calling the /fscmRestApi/resources/11.13.18.05/invoices REST API.

While invoking the following request from postman we get a proper response in attachments.links, i.e. the hashkey

Request: GET /fscmRestApi/resources/11.13.18.05/invoices?q=InvoiceNumber= 'INVOICE-3'&expand=attachments&links=self

Correct Response Payload:

                "PostProcessingAction": null,
"Category": "From Supplier",
"Type": "File",
"links": [
{
"rel": "self",
"href": "https://<oracle fusion link>:443/fscmRestApi/resources/11.13.18.05/invoices/134016/child/attachments/00020000000EACED00057708000110D9342360450000000EACED00057708000110D934236044",
"name": "attachments",
"kind": "item"
},
{
"rel": "enclosure",
"href": "https://<oracle fusion link>:443/fscmRestApi/resources/11.13.18.05/invoices/134016/child/attachments/00020000000EACED00057708000110D9342360450000000EACED00057708000110D934236044/enclosure/FileContents",
"name": "FileContents",
"kind": "other"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!