Skip to content

Understanding the Lasso Id

Once you are authenticated you are ready to query the API. In order to query for a specific entity like a company, you will need its unique identifier. In CVR this unique id is a CVR number for companies, and a person id for a person.

In Lasso we use the concept of a Lasso Id:

A Lasso Id is simply an identifier that describes the type, unique id and the data source of an entity, in a single combined string.

For example, a Lasso id for the company Lasso X is CVR-1-34580820. Let's break it down:

Understanding the Lasso Id

First part is the data source identifier: CVR, identifying the Danish Company Registry.

Second part is the entity type number: 1, identifying the type Company. Other types are 2 (production unit) and 3 (person).

Third part is the unique identifier in the given data source: 34580820, which is the CVR number in the Danish company registry. In Microsoft Dynamics CRM the unique identifier would be a Globally unique identifier (GUID).

With this in mind, you can query any supported data source using only the Lasso Id.