on 2022 Jul 14 3:32 PM
When trying to open an odata query url with a user with a user id and password, this is possible. For example the below url will result in a user id an password prompt which once entered will return the result of the odata call.
https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/ServiceRequestCollection?$filter=ID eq '1234567'
However if I have a user with single sign on, how can this this be done, for example both the below urls prompt for a user id and password but since the user is single sign on there is no password.
https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/ServiceRequestCollection?$filter=ID eq '1234567'
https://myxxxxxx-sso.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/ServiceRequestCollection?$filter=... eq '1234567'
Request clarification before answering.
Hello Samir,
Please try to use the following:
URL https://myXXXXXX.crm.ondemand.com/sap/c4c/odata-sso/v1/c4codataapi (where XXXXXX represents your tenant)
For individual OData Services (such as, for example, ProductCollection), the URL should be https://myXXXXXX.crm.ondemand.com/sap/c4c/odata-sso/v1/product.
BR,
Vandré
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello vandre01
That was almost correct and gave me a great hint - the slight correction would be that it needs a "-sso" just after the "xxxxxx". Many thanks!
Samir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.