Hi,
I have a function to update category attributes on a node per javascript:
this.UpdateAttrValue = function(nodeId, catId, attr, value) {
return $http({
method: 'PUT',
url: $config.csUrl + '/otcs/llisapi.dll/api/v1/nodes/' + nodeId + '/categories/' + catId + '?' + attr + '=' + encodeURIComponent(value),
headers: {
"Content-Type": "application/x-www-form-urlencoded",
OTDSTicket: $auth.Ticket()
}
}).catch(function (err) {
alert("Error: " + err.data);
});
}
which comes out to send to the url of:
https://[devServer]/otcs/llisapi.dll/api/v2/nodes/685237/categories/97244?97244_23=[value_here]
And that used to work. But now, it returns a 401 error, unauthorized.
The big change we made, was moving from SSO by way of IIS on the content server to OTDS handeling the SSO. It means the auth ticket has now changed from *OTDS*blahblahblahguid to *OTDSSO*blahblahblahguid.
That said, this auth change had no change on the rest requests, such as getting child nodes, and getting node properties including the category and attributes.
Any idea what needs to change to get this working again? And do you think the auth change threw things off?
Thanks
Frank