THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

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

New Member
Posts: 1
4242     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

New Member
Posts: 2
4243     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

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin