Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

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

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