Constants

Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.

Constants

Unlike most methods, the
/constants collection is system-wide and thus has neither an organizationId nor an instanceId
parameter.

Constant Data Model

constant.js

GET /constants/{type}

Description

Return the full set of constants of a given type.

Return type

collection of constants

Parameters

NameTypeOptional?Description

type

text

n

Valid types are:
◊ STATE—the two-letter code for each state (and U.S. Territory) as well as its name. It can be used when building contact records to make sure you are properly representing the state of a U.S.-based contact.
◊ COUNTRY—the country name.
◊ COUNTRY_NUMBER—the ISO country code.
◊ BC_LANGUAGE—the language configured in the Settings tab.
◊ LANGUAGE—the language selected from the Signin page of the web Manager Portal.
◊ PASSWORD_HINT—is the list of PASSWORD_HINT types that are supported for user creation, such as “What is your city of birth?” and so forth.
◊ ZOOM_LEVEL—the zoom level used as the default Map Zoom Level (in Settings > Organization > Map).
◊ PROJECTION—the system supports the following projections: EPSG:900193 (Google map projection) and EPSG:4326 (longitude/latitude projection).