Entry addresses API

Update entry address

PUT /rest/v1/objects/net_devices/:device_id/entries/:entry_id/addresses/:id

Parameters

Name Description
n_obj_address_id Address to equipment bind
n_address_id Address
n_addr_type_id Address type
n_par_addr_id Parent address
n_bind_addr_id Bound address
n_obj_addr_type_id Bound address type
n_region_id Region
d_begin Date of begin
d_end Date of end
n_firm_id Firm
vc_code Code
vc_address Address as string
n_entrance_no Entrance
n_floor_no Floor
vc_flat Flat
n_mask IP subnet mask
c_fl_is_real_subnet Flag of real IP address
vc_intercom_code Intercom code
vc_rem Remark

Request

Headers

Accept: application/json
Content-Type: application/json

Route

PUT /rest/v1/objects/net_devices/78290901/entries/78291801/addresses/78292401

Body

{"address":{"vc_rem":"Test entry address remark"}}

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 819

Status

200 OK

Body

{"address":{"n_address_id":56277501,"n_addr_type_id":4006,"n_par_addr_id":null,"vc_code":"E4-CE-8F-4C-A9-FC","vc_address":null,"vc_flat":null,"n_region_id":null,"n_entrance_no":null,"n_floor_no":null,"n_firm_id":100,"n_bind_addr_id":null,"n_obj_address_id":78292401,"n_obj_addr_type_id":1016,"d_begin":"2015-08-27T23:33:22+03:00","d_end":null,"vc_rem":"Test entry address remark","vc_intercom_code":null,"actions":{"edit":"http://example.org/rest/v1/objects/net_devices/78290901/entries/78291801/addresses/78292401/edit"},"navigation":{"self":"http://example.org/rest/v1/objects/net_devices/78290901/entries/78291801/addresses/78292401","entry":"http://example.org/rest/v1/objects/net_devices/78290901/entries/78291801","addresses":"http://example.org/rest/v1/objects/net_devices/78290901/entries/78291801/addresses"}}}