Get All Address Unit Types

Gets the unit types for use in an address.

Resource Information

Scopeaddresses

Deprecated scope name:   get_settings_address_unit_types

App TypeAll
Authorization TypeAccess token
URI /v4/settings/addresses/unitTypes?lang={lang}
HTTP MethodGET
Automation Version(s)7.3.2

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
langStringNo Indicates the language applied.7.3.2

Response Information

FieldTypeDescriptionAutomation Version
result[]result{} 7.3.2
result.textstringThe localized display text.7.3.2
result.valuestringThe value for the specified parameter.7.3.2
statusintegerThe record status.7.3.3

Example

Sample Response Body

{
  "status": 200,
  "result": [
    {
      "value": "Apt",
      "text": "Apt"
    },
    {
      "value": "Bldg",
      "text": "Bldg"
    },
    {
      "value": "Suite",
      "text": "Suite"
    },
    {
      "value": "Unit",
      "text": "Unit"
    }
  ]
}