Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

API & Integration

Reply
Highlighted

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

Techie
Posts: 1
327     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,

 
Showing results for 
Search instead for 
Do you mean 

Recommended for You

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