Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

update (extattrs+, extattrs-) extensible attributes using WAPI

Member
Posts: 1
2084     0

Hi guys,

 

I'm trying to update an extensible attributes for fixedaddress object using WAPI PUT request:

 

https://my-host/wapi/v2.9/fixedaddress/ZG5zLmZpeGVkX2FkZHJlc3MkMTAuMTU2LjIzMi4yMTcuMC4u:10.156.232.217/default

 

My json data:

 

 
{
    "comment": "",
    "extattrs-": {
        "ea_request_id": {}
    },
    "extattrs+": {
        "ea_last_modified_at": {
            "value": "2020-01-08 07:56:10.436350+00:00"
        }
    }
}

 

I'm expecting that ea_request_id will be removed from this object, however it looks like that extattrs- part is always ignored, because in the response I'm getting the ea_request_id with the old value. 

ea_last_modified_at every time is updated successfully.

 

Question: Can we use extattrs+ and extattrs- in the same request?

 

Regards,

 

Re: update (extattrs+, extattrs-) extensible attributes using WAPI

Member
Posts: 2
2084     0

Hi, I'm experiencing the same issue with WAPI v2.7. If I remove extattr+ from the request, leaving extattr- only, it still doesn't take effect.

 

{
    "extattrs-": {
        "Building Name": {},
        "Building Code": {}
    }
}
Showing results for 
Search instead for 
Did you mean: 

Recommended for You