List available services
GET /rest/v1/subjects/customers/:customer_id/available_services?n_account_id=:n_account_id&n_equipment_id=:n_equipment_id&n_contract_id=:n_contract_id&d_oper=:d_oper&per_page=:per_page&page=:page
Request
Headers
Route
GET /rest/v1/subjects/customers/78065201/available_services?n_account_id=78065501&n_equipment_id=78179301&n_contract_id=78066701&d_oper=2019-02-20T14%3A26%3A53%2B03%3A00&per_page=10&page=1
Query Parameters
n_account_id: 78065501
n_equipment_id: 78179301
n_contract_id: 78066701
d_oper: 2019-02-20T14:26:53+03:00
per_page: 10
page: 1
Response
Headers
Status
200 OK
Body
{
"available_services": [
{
"n_contract_id": 78066701,
"n_service_id": 50164901,
"vc_code": "Венера",
"vc_name": "Венера",
"n_price": "280",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50165101,
"vc_code": "Земля",
"vc_name": "Земля",
"n_price": "380",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50164701,
"vc_code": "Марс",
"vc_name": "Марс",
"n_price": "200",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50164601,
"vc_code": "Меркурий",
"vc_name": "Меркурий",
"n_price": "100",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50165301,
"vc_code": "Нептун",
"vc_name": "Нептун",
"n_price": "500",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50165501,
"vc_code": "Сатурн",
"vc_name": "Сатурн",
"n_price": "700",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50165701,
"vc_code": "Юпитер",
"vc_name": "Юпитер",
"n_price": "1000",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Manual",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50188901,
"vc_code": "Безлимит 100",
"vc_name": "Безлимит 100",
"n_price": "1500",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Manual",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50189001,
"vc_code": "Безлимит 200",
"vc_name": "Безлимит 200",
"n_price": "1800",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
},
{
"n_contract_id": 78066701,
"n_service_id": 50189201,
"vc_code": "Безлимит 300",
"vc_name": "Безлимит 300",
"n_price": "2000",
"vc_unit": "UNIT_Unknown",
"vc_subscription_permission": "SERV_CONTYPE_Auto",
"vc_currency": "CURR_Ruble"
}
],
"navigation": {
"self": "http://example.org/rest/v1/subjects/customers/78065201/available_services?n_account_id=78065501&n_equipment_id=78179301&n_contract_id=78066701&d_oper=2019-02-20T14%3A26%3A53%2B03%3A00&per_page=10&page=1",
"customer": "http://example.org/rest/v1/subjects/customers/78065201"
}
}