Author Message
ashraf
Joined: Feb 27, 2015
Messages: 2
Offline
hi,

I'm looking at the CCMA Open Interfaces SDK v6.4.1 Doc and I can see the URLs for REST; but nothing about authenticating via REST and the body of the request. I've tried calling some of the APIs listed and they all return errors. I'm assuming because I'm not authenticated. I tried calling ~/rest/AuthenticateUser but that returns the same error: "Object reference not set to an instance of an object"

Is there a more detailed REST API doc I can look at? Thanks.

Ash
JohnMcLoughlin
Joined: Nov 3, 2010
Messages: 131
Offline
Hello,
You will need to attach the NTSSOCookie header.
This is actually mentioned in the SDK document.
So, first authenticate with http://aacc64/WebServices/Authentication/Service.asmx and you will receive a token.
Then add the header NTSSCookie to all subsequent REST calls with value set to the token you received on authentication.
John
Go to:   
Mobile view