Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Coupa REST API Entitlement import not working properly

Baver
New Contributor
New Contributor

Hi guys, I am trying to import entitlements from Coupa via acctEntMappings with importAsEntitlement=true as there is no endpoint for entitlements that I can call.

I will attach both the API response from postman for a user and the import JSON.

The entitlements that are not working are requisition and invoice limits. There are 3 of them total. The other 3 entitlements are working properly. The issue seems to be cause by the fact that on the working entitlements the attribute comes as a list object, and the non-working ones come as JSON object without being in a list and the colsToPropsMappings are not reading the values correctly. If I put any of the values in the idPath, it is reading it properly. It seems to only have an issue if the mapping is in colsToPropsMapping. The problem is that Entitlements are not being created. No errors are showing in the logs.

I tried using the Coupa integration guide but that one is outdated as Coupa no longer has entitlements endpoints for their access.

9 REPLIES 9

Dhruv_S
Saviynt Employee
Saviynt Employee

Hi @Baver 

Are you able to retrieve all of the 6 entitlement types via postman? 

Regards,

Dhruv Sharma

Baver
New Contributor
New Contributor

Yes. There are in the attached files in the CoupaAPIResponse. I am trying to work on requisition-approval-limit. If I can get this one working all of them are going to work afterwards.

Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Baver
New Contributor
New Contributor

Here you go sir. Can I also ask how this would help ?

--header 'Authorization: bearer {{access_token}}' \
--header 'Accept: application/json'

Refer working json we used 

https://forums.saviynt.com/t5/identity-governance/coupa-accountimport-job-is-stuck/td-p/40364


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Baver
New Contributor
New Contributor

Hello @rushikeshvartak . Thank you for the reply but that doc does not suit my requirements. The only entitlement that is imported there is in the format that works for me already too. I need assistance with requisition-approval-limit that is not a listed object.

BrandonLucas_BF
Regular Contributor III
Regular Contributor III

Unless I'm misunderstanding, req and invoice approval limits is not an entitlement in the Coupa application. It is account metadata. Therefore, you cannot import as traditional entitlement with members of the entitlement. You should import that attribute as an account customproperty.

Hi @Baver 

As per the response from @BrandonLucas_BF above this seems to be due to the fact that requisition and approval limits are not entitlements in coupa. If this is the case, then it is expected behavior only.

Regards,

Dhruv Sharma

Yes those are part of Account attributes


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.