Information about the tenant API method
NOTE: This is an Enterprise Feature, it is only available for users who have purchased our Complete Solution Plan.
Purpose
Fetch tenant (i.e. organisation and user) information, including profile, configuration, limits and resource usage.
Request URL
GET https://maps.espatial.com/esWebAPI/rest/v1b/tenant
Request Parameters
None
Response
{
"id": 138076,
"title": "Trial",
"username": "admin",
"email": "yuvqbmr@espatial-hztdbuu.bgz",
"country": "US",
"profile": "TRIAL",
"trialAllowed": false,
"firstName": "yuvqbmr",
"secondName": "user"
}
Purpose
Fetch tenant resource usage counts for maps and datasets.
Request URL
GET https://maps.espatial.com/esWebAPI/rest/v1b/tenant/counters
Request Parameters
None
Response
{
"numGeoMaps": 1,
"numDatasets": 0
}
GetTenantConfig
Purpose
Fetch tenant configuration information and limits. Limits listed will vary depending on profile (e.g. trial or enterprise account) or reflect account-specific values updated by eSpatial staff.
Request URL
GET https://maps.espatial.com/esWebAPI/rest/v1b/tenant/getTenantConfig
Request Parameters
None
Response
{
"buildVersion": "9.5.0.56-SNAPSHOT",
"created": 1433508652644,
"id": 224309,
"lastModified": 1433508652865,
"layerMaxresEnabled": true,
"layerMaxresImagePixels": 1024,
"layerMaxresMaxVertices": 100000,
"maxAnalysisCenterPoints": 10000,
"maxDailyImportGeocodes": 100000,
"maxFileUploadSize": 40000,
"maxNumThematicRanges": 50,
"maxNumberOfDatasets": 1000,
"maxNumberOfMaps": 1000,
"maxRecordsPerDataset": 100000,
"maxRoutingWayPointLimit": 25,
"maximumLayersWeight": 500,
"payingCustomer": false,
"profile": "ENTERPRISE",
"tenantLocale": "US",
"trialAllowed": false
}