This method updates organization
Name | Description |
---|---|
organization[n_opf_id] | Legal organizational form |
organization[vc_code] | Short code |
organization[vc_eng_code] | International code |
organization[vc_name] | Full name |
organization[vc_eng_name] | International name |
organization[vc_inn] | Tax reference number |
organization[vc_kpp] | Tax registration reason code |
organization[n_subj_state_id] | Subject state |
organization[n_firm_id] | Firm |
organization[t_tags] | Tags list |
organization[vc_rem] | Commentary |
Accept: application/json Content-Type: application/json
PUT /rest/v2/subjects/organizations/92646301
{ "organization": { "n_company_id": 92646301, "n_opf_id": 1041, "vc_opf_code": "ООО", "vc_opf_name": "Общество с ограниченной ответственностью", "vc_code": "Централ-Сити Телеком", "vc_eng_code": "Central City Telecom", "vc_name": "ООО \"Централ-Сити Телеком\"", "vc_eng_name": "Central City Telecom LLC", "vc_inn": "9951753473", "vc_kpp": "946573301", "n_subject_id": 92646301, "n_subj_type_id": 1001, "n_parent_subj_id": null, "n_subj_state_id": 2011, "vc_subj_state_name": "Активен", "n_base_subject_id": 92646301, "n_firm_id": 100, "vc_firm": "Offline Telecom", "n_region_id": 40230101, "vc_region": "г. Москва", "n_owner_id": 100, "vc_subj_name": "ООО \"Централ-Сити Телеком\"", "vc_subj_code": "Централ-Сити Телеком", "t_tags": [ ], "vc_tags": null, "vc_rem": "Commentary Updated", "vc_code_upper": "ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ", "vc_name_upper": "ООО \"ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ\"", "vc_subj_code_upper": "ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ", "vc_subj_name_upper": "ООО \"ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ\"", "n_subj_group_id": null, "vc_subj_group_name": null } }
Content-Type: application/json; charset=utf-8
200 OK
{ "organization": { "n_company_id": 92646301, "n_opf_id": 1041, "vc_opf_code": "ООО", "vc_opf_name": "Общество с ограниченной ответственностью", "vc_code": "Централ-Сити Телеком", "vc_eng_code": "Central City Telecom", "vc_name": "ООО \"Централ-Сити Телеком\"", "vc_eng_name": "Central City Telecom LLC", "vc_inn": "9951753473", "vc_kpp": "946573301", "n_subject_id": 92646301, "n_subj_type_id": 1001, "n_parent_subj_id": null, "n_subj_state_id": 2011, "vc_subj_state_name": "Активен", "n_base_subject_id": 92646301, "n_firm_id": 100, "vc_firm": "Offline Telecom", "n_region_id": 40230101, "vc_region": "г. Москва", "n_owner_id": 100, "vc_subj_name": "ООО \"Централ-Сити Телеком\"", "vc_subj_code": "Централ-Сити Телеком", "t_tags": [ ], "vc_tags": null, "vc_rem": "Commentary Updated", "vc_code_upper": "ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ", "vc_name_upper": "ООО \"ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ\"", "vc_subj_code_upper": "ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ", "vc_subj_name_upper": "ООО \"ЦЕНТРАЛ-СИТИ ТЕЛЕКОМ\"", "n_subj_group_id": null, "vc_subj_group_name": null }, "navigation": { "self": "http://example.org/rest/v2/subjects/organizations/92646301", "customers": [ ], "addresses": "http://example.org/rest/v2/subjects/organizations/92646301/addresses", "organizations": "http://example.org/rest/v2/subjects/organizations" } }