CMOD Rest APIs in OIC
SummaryUsing CMOD rest api to download the documents from SAP
We have a requirement to use CMOD Rest APIs to download the documents from SAP using OIC.
To access a CMOD Rest API, we need to pass Authorization as header. The Authorization contains access ID and signature. The signature is generated in the below way.
String Authorization = “CMODSharedKey” +” “ + AccessID + “:” + Signature;
Signature = Base64( (Hmac-SHA256 ( SecretKey, UTF-8-Enoded (StringToSign) );
StringToSign = Method+ “\n” +
Date + “\n” +
URL + “\n” +
Resource + “\n” +
Can anyone please help me if this is already implemented?