Task Types
Task types categorize tasks (e.g., follow-up, call back, send proposal).
Use the Datastore_TaskType endpoint to query task types.
Endpoints
List Task Types
GET
/v1/odata/Datastore_TaskTypeSingle Task Type
GET
/v1/odata/Datastore_TaskType({id})Fields
Datastore Fields (inherited)
| Field | Type | Description |
|---|---|---|
Name | String | Display name |
Code | String | Unique code identifier |
LocalizedName | String | Localized display name |
IsDefault | Boolean | Whether this is the default value |
Relationships
| Relationship | Target Entity | Cardinality | Description |
|---|---|---|---|
| Task | Activity_Task | 1:N | Task |
Expanding Relationships
GET
/v1/odata/Datastore_TaskType({id})?$expand=TaskNavigating Relationships
GET
/v1/odata/Datastore_TaskType({id})/TaskFiltering Examples
GET
/v1/odata/Datastore_TaskType?$filter=Name eq '{Name}'&$top={top}GET
/v1/odata/Datastore_TaskType?$filter=contains(Name, '{Name}')&$top={top}GET
/v1/odata/Datastore_TaskType?$filter=Code eq '{Code}'&$top={top}GET
/v1/odata/Datastore_TaskType?$filter=IsDefault eq {IsDefault}&$top={top}Custom Query
Build your own OData query against Datastore_TaskType. 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_TaskType?$top=10