I will respond to Dana's post off-forum as this isn't really a public matter.
In any case, there was no mention of swagger being available (as far as I can see) until Dana told us a few posts ago... I wonder how we're supposed to know about features that are completely undocumented.
In any case, I can achieve AUTH using swagger also, however it *still* doesn't explain how to correctly make a third party request. e.g. the description of the password field is "SHA265 hash of password using challenge value" - still not sure how to generate the "challenge value". Pattie have you had any luck working this out??
Also, when i do get back a successful auth, it looks like this:
{
"Result": {
"TenantId": "1",
"Token": "7605xxxx",
"UserName": "Craig Hart",
"RoleId": 2,
"ScopeId": "2",
"AdminId": 64975473,
"MachineId": null,
"MachineGroupName": null,
"Attributes": null
},
"ResponseCode": 0,
"Status": "OK",
"Error": "None"
}
So, my token for further requests is 7605xxxx, correct?
So then i go down to GET GET /assetmgmt/agents which accepts one parameter - the token - which I paste in, and the result I get is as follows:
{
"ResponseCode": 401,
"Status": "OK",
"Error": "None"
}
I was expecting a list of agents to be returned. Not sure what i'm doing wrong....?