We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Endpointname/Endpointkey attribute in the Saviynt API

PKSAKS
New Contributor III
New Contributor III

 

Hi Team,

Our usecase is to fetch the endpoints based on the Endpointname, however when we are providing  displayName in the body the response is successful and as expected as shown in the screenshot, But when we are trying to fetch using Endpoinname/Endpointkey it says not valid for the query.

Sakshampal_1-1702042019452.png

Sakshampal_2-1702042433340.png

 

Can you please let us know what all things are supported and why we cannot use Endpointname.

 

21 REPLIES 21

SumathiSomala
All-Star
All-Star

@PKSAKS  Try

"endpointname":"ADConnection"

You must specify the value for endpointkey parameter in array. Fr example, "endpointkey" : [51]

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

PKSAKS
New Contributor III
New Contributor III

@SumathiSomala,

Thanks for the prompt reply, but when I try endpointname I get below error.

PKSAKS_0-1702048259779.png

What does the error above indicate 

{
    "errorCode": 1,
    "message": "Passed endpoint does not match endpoints defined in Sav role"
}

and when i try for endpointkey with array, again i receive same error.

Body:
{
"filterCriteria":{
    "endpointkey" :[4]  
    }
}

Response:

{
    "errorCode": 1,
    "message": "field endpointkey not valid for query"
}
 
Regards,
Saksham

 

  • Passed endpoint does not match endpoints defined in Sav role
    • Resolution - Under sav roles mention All under Access to Endpoints
    • rushikeshvartak_1-1702093446649.png

       


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@PKSAKS specify/select endpoint name in access to endpoints under saveole. 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

rushikeshvartak
All-Star
All-Star

try endpointname

 

{
"filterCriteria":{
	"endpointname":"Saviynt"
	}
}

 

rushikeshvartak_0-1702093336713.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

PKSAKS
New Contributor III
New Contributor III

@rushikeshvartak @SumathiSomala ,

 

Access to Endpoints is All, and for confirmation again I have added AD separately along with All. But still the error persistes.

PKSAKS_0-1702305641806.pngPKSAKS_1-1702305689048.png

Regards,

Saksham

@PKSAKS did try just by keeping access to endpoints-all ? 

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

PKSAKS
New Contributor III
New Contributor III

@SumathiSomala 

Yes I tried with that but still no luck.

Regards,

Saksham

@PKSAKS can you please share the screenshot of endpoint name and display name from endpoint details page

Is this happening for other endpoints as well? 

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

PKSAKS
New Contributor III
New Contributor III

@SumathiSomala,

Yes it is happening for all other endpoints too.

PKSAKS_0-1702306626563.png

Regards,

Saksham

Does configuration is same for all SAV Role assigned to user? 

Make sure config is same for all SAV roles assigned to user 

config : Access to Endpoints = All in Sav role


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

PKSAKS
New Contributor III
New Contributor III

@rushikeshvartak,

Only ADMIN SAV Role is assigned to user and Access to Endpoints = All in Sav role is selected. But still it is not working.

Regards,

Saksham

keeping on "All"


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

PKSAKS
New Contributor III
New Contributor III

@rushikeshvartak Yes

Regards,

Saksham

Is it working on endpointkey parameter in API body


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

PKSAKS
New Contributor III
New Contributor III

@rushikeshvartak,

Nope, Endpointkey parameter is not working.

 

PKSAKS_1-1702309220052.png

 

Regards,

Saksham

Please share final URL sent from code section

https://learning.postman.com/docs/sending-requests/generate-code-snippets/


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

PKSAKS
New Contributor III
New Contributor III

@rushikeshvartak,

Here is the attached code snippet(Note:I have removed username)

Regards,

Saksham

Regards,

Saksham

Try below its working

{
            "endpointkey":  [3]
  }

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

PKSAKS
New Contributor III
New Contributor III

@rushikeshvartak

Thanks!

When I remove "filterCriteria", it is working as expected with endpointkey and endpointname.

Regards,

Saksham

 

Thanks for confirmation close the thread by accepting solution provided 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.