Entries API

List

GET /rest/v1/objects/net_devices/:device_id/entries?page=1

Request

Headers

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

Route

GET /rest/v1/objects/net_devices/50182701/entries?page=1

Query Parameters

page: 1

Response

Headers

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

Status

200 OK

Body

{
  "entries": [
    {
      "n_object_id": 50183601,
      "n_firm_id": 100,
      "n_obj_state_id": 1040,
      "vc_name": "Сетевой порт №1",
      "vc_code": "1",
      "vc_code_add": null,
      "vc_rem": null,
      "vc_serial": null,
      "vc_inv_no": null,
      "d_warranty_till": null,
      "n_main_object_id": 50182701,
      "n_catalog_item_id": 40249001,
      "additional_values": {
        "GOOD_C_FL_Param_PortSec": null,
        "GOOD_N_Param_Units": null,
        "GOOD_C_FL_Param_PortTagged": null
      },
      "actions": {
        "show": "http://example.org/rest/v1/objects/net_devices/50182701/entries/50183601",
        "edit": "http://example.org/rest/v1/objects/net_devices/50182701/entries/50183601/edit"
      }
    },
    {
      "n_object_id": 54838001,
      "n_firm_id": 100,
      "n_obj_state_id": 1040,
      "vc_name": "Сетевой порт №2",
      "vc_code": "2",
      "vc_code_add": null,
      "vc_rem": null,
      "vc_serial": null,
      "vc_inv_no": null,
      "d_warranty_till": null,
      "n_main_object_id": 50182701,
      "n_catalog_item_id": 40249001,
      "additional_values": {
        "GOOD_C_FL_Param_PortSec": null,
        "GOOD_N_Param_Units": null,
        "GOOD_C_FL_Param_PortTagged": null
      },
      "actions": {
        "show": "http://example.org/rest/v1/objects/net_devices/50182701/entries/54838001",
        "edit": "http://example.org/rest/v1/objects/net_devices/50182701/entries/54838001/edit"
      }
    }
  ],
  "navigation": {
    "self": "http://example.org/rest/v1/objects/net_devices/50182701/entries?page=1",
    "net_device": "http://example.org/rest/v1/objects/net_devices/50182701"
  }
}