1 Reply Latest reply on Dec 13, 2017 4:33 PM by tdanner

    Call AddDNSARecord via REST api

    edcrosbys

      I'm trying to run AddDNSARecord from the REST api.

       

      Attempt:

      https://solarwinds:17778/SolarWinds/InformationService/v3/Json/swis://localhost/Orion/IPAM.IPAddressManagement/AddDNSARe…

      {

      "recordName":""

      "nodeIPv4Address":""

      "dnsIPAddress":""

      "dnsZoneName":""

      }

       

      Response:

      {

          "Message": "Invalid SWIS uri at character 60: Filter property name not specified for primary filter.\r\nParameter name: uri",

          "ExceptionType": "System.ArgumentException",

          "FullException": "System.ArgumentException: Invalid SWIS uri at character 60: Filter property name not specified for primary filter.\r\nParameter name: uri\r\n   at SolarWinds.Data.Utility.SwisUriParser.ParsingError(String message)\r\n   at SolarWinds.Data.Utility.SwisUriParser.HandleFilterPropertyName(Char c)\r\n   at SolarWinds.Data.Utility.SwisUriParser.ParseInternal()\r\n   at SolarWinds.InformationService.Core.InformationService.Update(String uri, IDictionary`2 propertiesToUpdate)"

      }