Organization addresses API

Show organization address

GET /rest/v2/subjects/organizations/:organization_id/addresses/:id

This method shows organization address

Request

Headers

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

Route

GET /rest/v2/subjects/organizations/92652001/addresses/92652401

Response

Headers

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

Status

200 OK

Body

{
  "address": {
    "n_address_id": 92652301,
    "n_addr_type_id": 1006,
    "n_par_addr_id": null,
    "vc_code": "кв. 2",
    "vc_visual_code": "г. Зеленоград, ул. Юности, д. 11, кв. 2",
    "vc_address": null,
    "vc_flat": "2",
    "n_region_id": 50158401,
    "vc_entrance_no": null,
    "n_floor_no": null,
    "n_firm_id": null,
    "n_subj_address_id": 92652401,
    "n_subj_addr_type_id": 1016,
    "n_addr_state_id": 1029,
    "vc_rem": null,
    "n_bind_addr_id": null,
    "d_begin": null,
    "d_end": null,
    "c_fl_main": "Y",
    "vc_intercom_code": null,
    "navigation": {
      "self": "http://example.org/rest/v2/subjects/organizations/92652001/addresses/92652401",
      "customer": "http://example.org/rest/v2/subjects/customers/92652001",
      "addresses": "http://example.org/rest/v2/subjects/organizations/92652001/addresses"
    }
  }
}