Dealer¶
In Navixy, a Dealer is an entity that acts as a reseller or distributor of the Navixy platform services. Dealers have access to the Navixy Admin Panel, where they can manage various aspects of the platform, including users, devices, and service plans.
API Actions¶
API Path: panel/dealer/
get_info
¶
API call to get information about a Dealer. This call retrieves details about the dealer's plan, balance, available features, and more.
Required Permissions: - base: "get_dealer_info"
.
Parameters¶
hash
(string, required): The session hash.
Examples¶
curl -X POST 'https://api.navixy.com/v2/panel/dealer/get_info' \
-H 'Content-Type: application/json' \
-d '{"hash": "fa7bf873fab9333144e171372a321b06"}'
https://api.navixy.com/v2/panel/dealer/get_info?hash=fa7bf873fab9333144e171372a321b06
Response¶
{
"success": true,
"id": 9000,
"seller_id": 3,
"parent_dealer_id": 5001,
"contract_type": "PAAS",
"tariff_id": 5,
"tariff": {
"id": 5,
"name": "PaaS Tariff",
"type": "monthly",
"currency": "RUB",
"license_price": null,
"min_license_pay": null,
"vat": false,
"trial": false,
"premium_gis": true,
"service_prices": {
"incoming_sms": 2.0,
"outgoing_sms": 0.95,
"service_sms": 0.95,
"phone_call": 15,
"traffic": 1.5
},
"store_period": "P3Y"
},
"demo_tariff": false,
"tracker_tariff_end_date": "2015-12-31",
"store_period": "P6M",
"demo_ends": null,
"title": "Navixy Demo",
"block_status": "NOT_BLOCKED",
"legal_name": "Company",
"active_amount": 99,
"active_amount_own": 80,
"active_amount_subpaas": 19,
"active_limit": 100,
"locale": "en_US",
"domain" : "demo.navixy.com",
"favicon": "paas/5001/custom.ico",
"logo": "paas/5001/logo.png",
"enable_trackers": true,
"enable_cameras": false,
"paas_activation_date": "2015-03-01",
"license_balance": 0.0,
"seller_currency": "USD",
"features": [
"branding_web",
"branding_mobile",
"navixy_label",
"tracking",
"reports",
"fleet",
"field_service",
"premium_gis"
],
"default_user_time_zone": "Europe/London"
}
id
(int): Dealer ID.parent_dealer_id
(int): Parent Dealer ID.contract_type
(enum): Contract type: "PARTNER", "AGENT" or "PAAS".tariff_id
(int): PaaS plan ID.tariff
(object): PaaS plan info.license_price
(nullable double): Price per license.min_license_pay
(nullable double): Minimum license payment.trial
(boolean): Iftrue
, the plan is Trial.premium_gis
(boolean): Iftrue
, premium GIS is enabled for the partner.store_period
(string): Maximum data store period for users.
demo_tariff
(boolean):true
for "TRIAL" PaaS tariffs.store_period
(string): Maximum data store period for users ondemo_tariff
.demo_ends
(string): TRIAL period end date or null.block_status
(enum): Panel and PaaS users block status. One of: "NOT_BLOCKED", "INITIAL_BLOCK", "BLOCK_LOGIN" or "CLIENTS_BLOCKED".legal_name
(string): Dealer legal name.active_amount
(int): Total number of active trackers (including Sub-PaaSes).active_amount_own
(int): Number of active trackers (excluding Sub-PaaSes).active_amount_subpaas
(int): Number of Sub-PaaSes' active trackers.active_limit
(int): Active trackers limit.locale
(enum): Dealer's default locale.domain
(string): Dealer's domain.favicon
(string): Path or URL to dealer's interface favicon or null.logo
(string): Path or URL to dealer's logotype or null.paas_activation_date
(string): Date of activation pay.features
(array of strings): Set of allowed dealer features.default_user_time_zone
(string): Time zone ID for new users created via user/upload. This zone will also be selected by default when creating a new user in the Navixy Admin Panel.
Errors¶
201
- Not found in the database.
Last update: October 16, 2024