Dealer
API call to get information about a 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.
Dealer object
Notes on individual fields:
featureslists the allowed dealer features.default_user_time_zoneis a time zone ID applied to users created via user/upload. The same zone is preselected when creating a user in the Navixy Admin Panel.store_periodon the dealer applies to users on ademo_tariff. Thestore_periodinsidetariffis the plan's own maximum data store period. The two are separate values.password_policyreports the complexity rules enforced for this dealer, and applies to dealer/password/update as well as to end user passwords.
API Actions
API Path: panel/dealer/
Required Permissions:
base: "get_dealer_info".
Read information about the authorized dealer: PaaS plan and its service prices, balance, active tracker counts and limits, branding paths, block status, enabled features, and defaults applied to newly created users. Takes no parameters beyond the session credential. Note that the dealer fields are returned at the top level of the response rather than nested under a value key.
Enter the panel session hash with the "NVX " prefix, e.g. "NVX fa7bf873fab9333144e171372a321b06". Obtain the hash from the accountAuth operation.
Dealer information
A dealer: a reseller or distributor of Navixy platform services, with access to the Admin Panel.
true if request finished successfully.
trueDealer ID.
9000ID of the seller this dealer buys from.
3Parent dealer ID.
5001Contract type.
PAASPossible values: PaaS plan ID.
5true for trial PaaS plans.
falseEnd date of the tracker plan.
2015-12-31Maximum data store period for users on a demo_tariff, as an ISO 8601 duration.
P6MTrial period end date, or null if not on a trial.
Dealer display name.
Navixy DemoBlock status of the panel and its end users.
NOT_BLOCKEDPossible values: Dealer legal name.
CompanyTotal number of active trackers, including those of sub-dealers.
99Number of active trackers, excluding those of sub-dealers.
80Number of active trackers belonging to sub-dealers.
19Maximum number of active trackers allowed.
100Dealer's default locale.
en_USDealer's domain.
demo.navixy.comPath or URL to the dealer's interface favicon.
paas/5001/custom.icoPath or URL to the dealer's logotype.
paas/5001/logo.pngtrue if this dealer is itself a sub-dealer of another.
falsetrue if the dealer's plan permits branding customization.
trueDate the activation payment was made.
2015-03-01Current license balance.
0Currency the seller bills this dealer in.
USDEnabled dealer features.
["branding_web","branding_mobile","navixy_label","tracking","reports","fleet","field_service","premium_gis"]Time zone ID applied to users created through the user upload operation, and preselected when creating a user in the Admin Panel.
Europe/LondonService token, present only on standalone (on-premise) installations. Omitted entirely on Navixy-hosted platforms.
Bad 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.
Error response object
POST /v2/panel/dealer/get_info HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
"success": true,
"id": 9000,
"seller_id": 3,
"parent_dealer_id": 5001,
"contract_type": "PAAS",
"tariff_id": 5,
"tariff": {
"id": 5,
"name": "PaaS Tariff",
"type": "daily",
"algorithm": "plain",
"gis_package": "premium",
"currency": "RUB",
"license_price": null,
"min_license_pay": null,
"vat": false,
"trial": false,
"premium_gis": true,
"service_prices": {
"incoming_sms": 0.3,
"outgoing_sms": 0.3,
"service_sms": 0.2,
"traffic": 0.09
},
"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",
"subpaas": false,
"allow_branding": true,
"password_policy": {
"min_length": 12,
"max_length": 20,
"special_chars": "!@#$%^&*-=()<>[]{}+:;.,/\\?|~`'\"",
"min_special_chars_count": 1,
"min_digits_count": 1,
"min_uppercase_count": 1,
"min_lowercase_count": 1
},
"paas_activation_date": "2015-03-01",
"license_balance": 0,
"seller_currency": "USD",
"features": [
"branding_web",
"branding_mobile",
"navixy_label",
"tracking",
"reports",
"fleet",
"field_service",
"premium_gis"
],
"default_user_time_zone": "Europe/London",
"standalone_token": "text"
}Errors
201- Not found in the database.
Last updated
Was this helpful?