Service states list
GET /rest/v2/subjects/customers/:customer_id/service_states
Request
Headers
Route
GET /rest/v2/subjects/customers/92718801/service_states
Response
Headers
Status
200 OK
Body
{
"service_states": [
{
"n_line_id": 4575191609101,
"n_charge_log_id": 93448601,
"n_service_id": 50164701,
"vc_service_name": "Марс",
"n_parent_service_id": null,
"n_account_id": 92719201,
"n_equipment_id": 92721901,
"vc_equipment_address": null,
"vc_equipment_code": "Оконечное оборудование-176",
"n_subscription_id": 92726001,
"n_par_subscription_id": null,
"n_contract_id": 92720101,
"n_service_state_id": 2159,
"vc_service_state_name": "Услуга оказывается",
"n_par_line_id": null,
"n_customer_id": 92718801,
"d_subscription_begin": "2018-12-17T19:09:08+03:00",
"d_subscription_end": null,
"n_price": 200,
"n_currency_id": 1044,
"vc_currency_code": "RUB",
"n_traffic_quantity": null,
"n_traffic_unit_id": 2009,
"n_amount": 200,
"n_base_amount": 200,
"n_amount_total": 320,
"n_base_amount_total": 320,
"n_duration_value": 1,
"n_duration_unit_id": 1048,
"n_providing_type_id": 2053,
"n_discount_id": null,
"vc_discount_name": null,
"n_serv_type_id": 1064
},
{
"n_line_id": 4575191609301,
"n_charge_log_id": 93448601,
"n_service_id": 40217401,
"vc_service_name": "Доступ в Интернет",
"n_parent_service_id": 50164701,
"n_account_id": 92719201,
"n_equipment_id": 92721901,
"vc_equipment_address": null,
"vc_equipment_code": "Оконечное оборудование-176",
"n_subscription_id": 92726101,
"n_par_subscription_id": 92726001,
"n_contract_id": 92720101,
"n_service_state_id": 2159,
"vc_service_state_name": "Услуга оказывается",
"n_par_line_id": 4575191609101,
"n_customer_id": 92718801,
"d_subscription_begin": "2018-12-17T19:09:08+03:00",
"d_subscription_end": null,
"n_price": 0,
"n_currency_id": 1044,
"vc_currency_code": "RUB",
"n_traffic_quantity": null,
"n_traffic_unit_id": 2009,
"n_amount": 0,
"n_base_amount": 0,
"n_amount_total": 320,
"n_base_amount_total": 320,
"n_duration_value": null,
"n_duration_unit_id": null,
"n_providing_type_id": 2053,
"n_discount_id": null,
"vc_discount_name": null,
"n_serv_type_id": 3064
},
{
"n_line_id": 4575191612101,
"n_charge_log_id": 93448601,
"n_service_id": 40216101,
"vc_service_name": "Реальный IP-адрес",
"n_parent_service_id": 50164701,
"n_account_id": 92719201,
"n_equipment_id": 92721901,
"vc_equipment_address": null,
"vc_equipment_code": "Оконечное оборудование-176",
"n_subscription_id": 92730301,
"n_par_subscription_id": 92726001,
"n_contract_id": 92720101,
"n_service_state_id": 2159,
"vc_service_state_name": "Услуга оказывается",
"n_par_line_id": 4575191609101,
"n_customer_id": 92718801,
"d_subscription_begin": "2018-12-17T19:12:11+03:00",
"d_subscription_end": null,
"n_price": 120,
"n_currency_id": 1044,
"vc_currency_code": "RUB",
"n_traffic_quantity": 1,
"n_traffic_unit_id": 1009,
"n_amount": 120,
"n_base_amount": 120,
"n_amount_total": 320,
"n_base_amount_total": 320,
"n_duration_value": 1,
"n_duration_unit_id": 1048,
"n_providing_type_id": 2053,
"n_discount_id": null,
"vc_discount_name": null,
"n_serv_type_id": 1064
},
{
"n_line_id": 4575191613801,
"n_charge_log_id": null,
"n_service_id": 50164601,
"vc_service_name": "Меркурий",
"n_parent_service_id": null,
"n_account_id": 92719601,
"n_equipment_id": 92723601,
"vc_equipment_address": null,
"vc_equipment_code": "Оконечное оборудование-177",
"n_subscription_id": 92731901,
"n_par_subscription_id": null,
"n_contract_id": 92721001,
"n_service_state_id": 3159,
"vc_service_state_name": "Услуга не оказывается (отсутствуют свободные средства)",
"n_par_line_id": null,
"n_customer_id": 92718801,
"d_subscription_begin": "2018-12-17T19:09:27+03:00",
"d_subscription_end": null,
"n_price": 100,
"n_currency_id": 1044,
"vc_currency_code": "RUB",
"n_traffic_quantity": null,
"n_traffic_unit_id": null,
"n_amount": 100,
"n_base_amount": 100,
"n_amount_total": 200,
"n_base_amount_total": 200,
"n_duration_value": 1,
"n_duration_unit_id": 1048,
"n_providing_type_id": 2053,
"n_discount_id": null,
"vc_discount_name": null,
"n_serv_type_id": 1064
},
{
"n_line_id": 4575191614001,
"n_charge_log_id": null,
"n_service_id": 40217401,
"vc_service_name": "Доступ в Интернет",
"n_parent_service_id": 50164601,
"n_account_id": 92719601,
"n_equipment_id": 92723601,
"vc_equipment_address": null,
"vc_equipment_code": "Оконечное оборудование-177",
"n_subscription_id": 92732001,
"n_par_subscription_id": 92731901,
"n_contract_id": 92721001,
"n_service_state_id": 3159,
"vc_service_state_name": "Услуга не оказывается (отсутствуют свободные средства)",
"n_par_line_id": 4575191613801,
"n_customer_id": 92718801,
"d_subscription_begin": "2018-12-17T19:09:27+03:00",
"d_subscription_end": null,
"n_price": 0,
"n_currency_id": 1044,
"vc_currency_code": "RUB",
"n_traffic_quantity": null,
"n_traffic_unit_id": null,
"n_amount": 0,
"n_base_amount": 0,
"n_amount_total": 200,
"n_base_amount_total": 200,
"n_duration_value": null,
"n_duration_unit_id": null,
"n_providing_type_id": 2053,
"n_discount_id": null,
"vc_discount_name": null,
"n_serv_type_id": 3064
},
{
"n_line_id": 4575191614701,
"n_charge_log_id": null,
"n_service_id": 54815301,
"vc_service_name": "Ускоренный доступ к региональным ресурсам",
"n_parent_service_id": 50164601,
"n_account_id": 92719601,
"n_equipment_id": 92723601,
"vc_equipment_address": null,
"vc_equipment_code": "Оконечное оборудование-177",
"n_subscription_id": 92732501,
"n_par_subscription_id": 92731901,
"n_contract_id": 92721001,
"n_service_state_id": 3159,
"vc_service_state_name": "Услуга не оказывается (отсутствуют свободные средства)",
"n_par_line_id": 4575191613801,
"n_customer_id": 92718801,
"d_subscription_begin": "2018-12-17T19:13:10+03:00",
"d_subscription_end": null,
"n_price": 100,
"n_currency_id": 1044,
"vc_currency_code": "RUB",
"n_traffic_quantity": null,
"n_traffic_unit_id": null,
"n_amount": 100,
"n_base_amount": 100,
"n_amount_total": 200,
"n_base_amount_total": 200,
"n_duration_value": 1,
"n_duration_unit_id": 1048,
"n_providing_type_id": 2053,
"n_discount_id": null,
"vc_discount_name": null,
"n_serv_type_id": 1064
}
],
"navigation": {
"self": "http://example.org/rest/v2/subjects/customers/92718801/service_states",
"customer": "http://example.org/rest/v2/subjects/customers/92718801"
}
}