1 Reply Latest reply on Jun 9, 2014 4:06 AM by jmedd

    Issue listing IPsets Created on a Scope via REST API

    jmedd Enthusiast

      I'm able to create an IPset on a datacenter scope like the following:


      POST https://192.168.x.x/api/2.0/services/ipset/datacenter-xx



        <objectId />


        <typeName />


        <description>New Description</description>



        <objectTypeName />




      which gives me back an id of:




      I can successfully query that IPset directly with:


      GET https://192.168.x.x/api/2.0/services/ipset/ipset-205








        <description>New Description</description>








        <extendedAttributes />






      However, if I attempt to list all IPsets on the datacenter-xx scope I get an error:


      GET https://192.168.x.x/api/2.0/services/ipset/datacenter-xx












      <details>The requested object : datacenter-xx could not be found. Object identifiers are case sensitive.</details>





      Any ideas? Surely datacenter-xx must exist because I have successfully create an IPSet on it?