Hi,
If I have to build a web service from bpmonline through an api which requires the method signature to be generated by taking the query string, and creating a HMAC-SHA256 signature using your API key as the secret key.
Is there a way to do that?
There is available a sample c# code, if that helps.
Generating the method signature
private static string GetSignature(string args, string privatekey)
{
var encoding = new System.Text.UTF8Encoding();
byte[] key = encoding.GetBytes(privatekey);
var myhmacsha256 = new HMACSHA256(key);
byte[] hashValue = myhmacsha256.ComputeHash(encoding.GetBytes(args));
string hmac64 = Convert.ToBase64String(hashValue);
myhmacsha256.Clear();
return hmac64;
}I am trying to integrate with https://apidocs.unleashedsoftware.com/AuthenticationHelp
Like
It's hard to understand what is "from bpmonline through an api". Will the service be in bpm'online or somewhere else? Should bpm'online call an external web service?
Anyway. Please find more information about calling web services in the article by the link below.
https://academy.bpmonline.com/documents/technic-sdk/7-13/executing-odata-queries-using-fiddler