Scope requirements
Scope requirements
Retrieve enablement statuses of all objects in the object library
To check if all objects in the object library are activated in the account, make aGET request to crm/v3/object-library/enablement. Only objects which can be activated or deactivated will be returned (i.e. contacts, companies, deals, and tickets will not be included).
In your response, the enablementByObjectTypeId object will be returned with objectTypeId values and a value of true or false for each. If the value is true, the object is activated for use in the account. If the value is false, the object is deactivated. You can view each object’s objectTypeId value in the table in this article.
For example, the following response shows an account where appointments and services are activated, but courses and listings are not.
Retrieve an object’s enablement status
To check if a specific object is activated, make aGET request to crm/v3/object-library/enablement/{objectTypeId}. Refer to the table in this article to find an object’s objectTypeId.
The object’s enablement value will be returned as true or false. If the value is true, the object is activated for use in the account. If the value is false, the object is deactivated.
For example, to check if appointments are activated in an account, make a GET request to crm/v3/object-library/enablement/0-421. If appointments are activated, the response will look like: