Subpaas
API calls to interact with Subpaases.
Subdealer (Sub PaaS) actions
Subdealer (Sub PaaS) object
API actions
Enter the panel session hash with the "NVX " prefix, e.g. "NVX fa7bf873fab9333144e171372a321b06". Obtain the hash from the accountAuth operation.
Sub-dealer's password. Must satisfy the platform password policy.
Sub-dealer display name.
Rus Sub-PaaSLegal company name.
OOO Sub-PaaSCompany email address.
sub-dealer@email.comSub-dealer's country.
countrySub-dealer's monitoring domain. Must be a valid internationalized domain name and must not be empty.
sub.navixy.comOptional. Contact person.
fioOptional. Contact person position.
postOptional. Contact person's phone.
phoneSub-dealer created
true if request finished successfully.
trueID of the created sub-dealer.
18Bad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array.
Operation not permitted, error code 13: the session lacks the required permission, or the dealer is not eligible to have sub-dealers.
Error response object
POST /v2/panel/subpaas/create HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 228
{
"password": "password",
"title": "Rus Sub-PaaS",
"jur_name": "OOO Sub-PaaS",
"email": "sub-dealer@email.com",
"jur_country": "country",
"link_monitoring": "sub.navixy.com",
"contact_fio": "fio",
"contact_post": "post",
"contact_phone": "phone"
}{
"success": true,
"id": 18
}Errors
Enter the panel session hash with the "NVX " prefix, e.g. "NVX fa7bf873fab9333144e171372a321b06". Obtain the hash from the accountAuth operation.
Text filter.
Field to order by.
subpaas_idPossible values: Order direction. Ascending when true.
trueStarting offset, for pagination.
0Maximum number of records to return.
Sub-dealers
true if request finished successfully.
trueTotal number of matching records, ignoring offset and limit.
1Bad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array.
Operation not permitted, error code 13: the session lacks the required permission, or the dealer is not eligible to have sub-dealers.
Error response object
POST /v2/panel/subpaas/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"filter": "text",
"order_by": "subpaas_id",
"ascending": true,
"offset": 0,
"limit": 1
}{
"success": true,
"list": [
{
"subpaas_id": 18,
"title": "SubppaasTitle",
"jur_name": "SubppaasJurName",
"login": "subpaaslogin",
"creation_date": "2018-11-15",
"block_type": "NOT_BLOCKED",
"users_count": 2,
"active_users_count": 1,
"trackers_count": 0,
"active_trackers_count": 0
}
],
"count": 1
}Enter the panel session hash with the "NVX " prefix, e.g. "NVX fa7bf873fab9333144e171372a321b06". Obtain the hash from the accountAuth operation.
Sub-dealer ID.
97834The sub-dealer
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array.
Operation not permitted, error code 13: the session lacks the required permission, or the dealer is not eligible to have sub-dealers.
Error response object
POST /v2/panel/subpaas/read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"subpaas_id": 97834
}{
"success": true,
"value": {
"subpaas_id": 18,
"block_type": "NOT_BLOCKED",
"creation_date": "2018-11-15",
"login": "subpaaslogin",
"title": "Rus Sub-PaaS",
"jur_name": "OOO Sub-PaaS",
"email": "sub-dealer@email.com",
"jur_country": "country",
"link_monitoring": "link",
"contact_fio": "fio",
"contact_post": "post",
"contact_phone": "phone",
"users_count": 2,
"active_users_count": 1,
"trackers_count": 0,
"active_trackers_count": 0
}
}Enter the panel session hash with the "NVX " prefix, e.g. "NVX fa7bf873fab9333144e171372a321b06". Obtain the hash from the accountAuth operation.
ID of the sub-dealer to update.
97834Block status of the sub-dealer panel and its users.
NOT_BLOCKEDPossible values: Sub-dealer display name.
Rus Sub-PaaSLegal company name.
OOO Sub-PaaSCompany email address.
sub-dealer@email.comSub-dealer's country.
countrySub-dealer's monitoring domain. Must be a valid internationalized domain name and must not be empty.
sub.navixy.comOptional. Contact person.
fioOptional. Contact person position.
postOptional. Contact person's phone.
phoneSuccessful response
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array.
Operation not permitted, error code 13: the session lacks the required permission, or the dealer is not eligible to have sub-dealers.
Error response object
POST /v2/panel/subpaas/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 252
{
"subpaas_id": 97834,
"block_type": "NOT_BLOCKED",
"title": "Rus Sub-PaaS",
"jur_name": "OOO Sub-PaaS",
"email": "sub-dealer@email.com",
"jur_country": "country",
"link_monitoring": "sub.navixy.com",
"contact_fio": "fio",
"contact_post": "post",
"contact_phone": "phone"
}{
"success": true
}Errors
Last updated
Was this helpful?