Skip to Content
0
Feb 03, 2020 at 08:26 PM

REST API 8.0 Determine / Understand GUID

185 Views

Hello,

I have an attestation application I am creating using the SAP 8.0 REST API for IDM. I'd like to look up the associated privilege I am attesting to, however I do not get the MS Key or any data coming back from the response to uniquely identify the privilege.I intended to use the LINK_ID from the one of the assignments, however I don't know or understand what the GUID should be.

https://server.domain.com:50001/idmrestapi/v2/service/ER_MX_ASSIGNMENT(LINK_ID=32054,TASK_GUID=guid'ffffffff-ffff-ffff-ffff-ffffffffffff')

Using the TASK_GUID=guid'ffffffff-ffff-ffff-ffff-ffffffffffff' just returns the message:

http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code>Bad Request</code>

<message xml:lang="en-US">

Form FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF does not contain attribute MX_ASSIGNMENT.

</message>

</error>

How do I determine what the TASK_GUID is when querying the REST API for assignments and other data?