Invoke Request
POST https://localhost:17778/SolarWinds/InformationService/v3/Json/Invoke/Metadata.Entity/GetAliases HTTP/1.1 Authorization: Basic YWRtaW46 User-Agent: curl/7.20.0 (i386-pc-win32) libcurl/7.20.0 OpenSSL/0.9.8l zlib/1.2.3 Host: localhost:17778 Accept: */* Content-Type: application/json Content-Length: 39 ["SELECT B.Caption FROM Orion.Nodes B"]
Invoke Response
HTTP/1.1 200 OK Content-Length: 19 Content-Type: application/json Server: Microsoft-HTTPAPI/2.0 Date: Fri, 27 Jul 2012 19:23:27 GMT {"B":"Orion.Nodes"}
The Metadata.GetAliases verb takes one string argument and returns a PropertyBag.
To unmanage a node, the URL would be: https://server:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.Nodes/Unmanage and the post data would be:
["N:15", "2014-01-16T22:00Z", "2014-01-16T22:30Z", "false"]
Those timestamps are in ISO 8601 format, since JSON does not have a native datetime format.
Note: ordinarily the fourth parameter to Orion.Nodes.Unmanage is a boolean, so you would expect the json to just be false rather than the string "false", but we seem to have a parsing bug that causes it to get confused on the native JSON boolean. Fortunately if you pass it as a string it will figure it out and do the right thing.