Skip to main content

Industries

EntityDatastoreDatastore.Industry

Industries classify the industry sector of a lead. The list is seeded per organisation and referenced from Leads through the Industry navigation property.

Use the Datastore_Industry endpoint to query industries.

note

Datastore_Industry is the lead-side sector list. To classify an existing organisation's sector, use Branches (Datastore_Branch) instead.

Endpoints

List Industries

GET/v1/odata/Datastore_Industry

Single Industry

GET/v1/odata/Datastore_Industry({id})

Fields

Datastore Fields (inherited)

FieldTypeDescription
NameStringDisplay name — not populated for industries; read _Name or LocalizedName instead
CodeStringUnique code identifier (Industry.1Industry.20)
LocalizedNameStringJSON map of translations, e.g. {"en":"IT & Technology"}
IsDefaultBooleanWhether this is the default value

Relationships

RelationshipTarget EntityCardinalityDescription
LeadActivity_Lead1:NLeads classified under this industry

Expanding Relationships

GET/v1/odata/Datastore_Industry({id})?$expand=Lead
GET/v1/odata/Datastore_Industry({id})/Lead

Filtering Examples

GET/v1/odata/Datastore_Industry?$filter=Code eq '{Code}'&$top={top}
GET/v1/odata/Datastore_Industry?$filter=contains(LocalizedName, '{LocalizedName}')&$top={top}
GET/v1/odata/Datastore_Industry?$filter=IsDefault eq {IsDefault}&$top={top}
GET/v1/odata/Datastore_Industry?$orderby=SortIndex asc&$top={top}&$count=true

Custom Query

Build your own OData query against Datastore_Industry. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.

GET/v1/odata/Datastore_Industry?$top=10