Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 13537

API unable to access custom property

$
0
0

This is the call and response our developer is getting.  This is working for the interface custom property, but not the node custom property

 

The webservice endpoint is: /SolarWinds/InformationService/v3/Json/Create/Orion.Nodes

And content data is this:

{

   "IPAddress": "xx.xx.xx.xx",

   "EngineID": 1,

   "ObjectSubType": "SNMP",

   "SNMPVersion": 2,

   "Community": "xxxx",

   "EntityType": "Orion.Nodes",

   "DynamicIP": false,

   "PollInterval": 300,

   "RediscoveryInterval": 120,

   "StatCollection": 5,

   "NodeName": "asr901-test-xxx.xxx.net",

   "SysName": "asr901-test-xxx.xxx.net",

"Vendor": "Cisco",

   "MachineType": "Cisco A901-6CZ-F-A",

   "NextPoll": "2016-05-17T15:50:25.813",

   "NextRediscovery": "2016-05-17T15:50:25.813",

   "CustomProperties": {

      "NetCrackerNodeObjectId": "NC123456"

   }

}

And the response content is this:

{

   "Message": "Access to CustomProperties denied.",

   "ErrorCode": 20,

   "UserMessage": "Access to CustomProperties denied.",

   "ExceptionType": "SolarWinds.Data.AccessDeniedException",

   "FullException": "SolarWinds.Data.AccessDeniedException: Access to CustomProperties denied.\r\n   at SolarWinds.InformationService.Core.CrudProcessor.CreateAccessDeniedException(String message)\r\n   at SolarWinds.InformationService.Core.CrudProcessor.CheckAccessControl(AccessControlOperations operations, IEntityType entity, IEnumerable`1 propertyNames, IAccessControlResolver accessControlResolver)\r\n   at SolarWinds.InformationService.Core.CrudProcessor.CreateInternal(String entityType, IDictionary`2 properties, IQueryExecutionContext context)\r\n   at SolarWinds.InformationService.Core.CrudProcessor.Create(IServiceHost serviceHost, String entityType, IDictionary`2 properties, IQueryExecutionContext context)\r\n   at SolarWinds.InformationService.Core.InformationService.Create(String entityType, IDictionary`2 properties)"


Viewing all articles
Browse latest Browse all 13537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>