Equipment API

List customer equipment

GET /rest/v1/subjects/customers/:customer_id/equipment

This method shows all customer equipment

Request

Headers

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

Route

GET /rest/v1/subjects/customers/302/equipment

Response

Headers

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

Status

200 OK

Body

{"equipment":[{"n_object_id":40236101,"n_good_id":40224501,"n_firm_id":100,"n_obj_state_id":1040,"vc_name":"\u041f\u043e\u0440\u0442 \u2116migrator","vc_code":"migrator","vc_code_add":null,"vc_rem":null,"n_main_object_id":40223001,"n_owner_id":302,"vc_serial_number":null,"vc_inventory_number":null,"d_warranty_end":null,"additional_values":{"NETSERV_CDRForceFinishTimeout":null,"NETSERV_OldCDRDeleteTimeout":null,"ObjPar_CreateExDataCollJob":null},"actions":{"show":"http://example.org/rest/v1/objects/net_devices/40236101","edit":"http://example.org/rest/v1/objects/net_devices/40236101/edit"}},{"n_object_id":50270301,"n_good_id":40224501,"n_firm_id":100,"n_obj_state_id":2040,"vc_name":"\u041f\u043e\u0440\u0442 \u21161","vc_code":"1","vc_code_add":null,"vc_rem":null,"n_main_object_id":40223001,"n_owner_id":302,"vc_serial_number":null,"vc_inventory_number":null,"d_warranty_end":null,"additional_values":{"NETSERV_CDRForceFinishTimeout":null,"NETSERV_OldCDRDeleteTimeout":null,"ObjPar_CreateExDataCollJob":null},"actions":{"show":"http://example.org/rest/v1/objects/net_devices/50270301","edit":"http://example.org/rest/v1/objects/net_devices/50270301/edit"}}],"navigation":{"self":"http://example.org/rest/v1/subjects/customers/302/equipment","customer":"http://example.org/rest/v1/subjects/customers/302","equipment":"http://example.org/rest/v1/subjects/customers/302/equipment"}}