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

SAP C4C

TimoR
Regular Contributor
Regular Contributor

Hi,

has anybody successfully connected SAP C4C to Saviynt?

Anything that came up or we have to look out for? Or is it just basically use the REST connector and it should work according to C4C's API documentation?

Just looking if anyone can provide examples for ConnectionJSON and ImportAccEntsJSON.

Thanks!

2 REPLIES 2

sai_sp
Saviynt Employee
Saviynt Employee

@TimoR You can use the rest connector.

rushikeshvartak
All-Star
All-Star

Here are API 

Authentication (OAuth 2.0)

 

curl --request POST \
  --url https://<your_sap_c4c_instance>/sap/c4c/odata/v1/oauth2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=client_credentials' \
  --data-urlencode 'client_id=<your_client_id>' \
  --data-urlencode 'client_secret=<your_client_secret>'

 

 

Create 

 

curl --request POST \
  --url https://<your_sap_c4c_instance>/sap/c4c/odata/v1/oauth2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=client_credentials' \
  --data-urlencode 'client_id=<your_client_id>' \
  --data-urlencode 'client_secret=<your_client_secret>'

 

Read

 

curl --request GET \
  --url https://<your_sap_c4c_instance>/sap/c4c/odata/v1/cust_odata/ContactCollection \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json'

 

Update

 

curl --request PATCH \
  --url https://<your_sap_c4c_instance>/sap/c4c/odata/v1/cust_odata/ContactCollection('<contact_id>') \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "FirstName": "Jane"
  }'

 

Delete

 

curl --request DELETE \
  --url https://<your_sap_c4c_instance>/sap/c4c/odata/v1/cust_odata/ContactCollection('<contact_id>') \
  --header 'Authorization: Bearer <access_token>'

 


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