Activity Types
API Endpoints for Activity Types
- List Activity Types
- Retrieve Activity Type
- Create Activity Type
- Update Activity Type
- Delete Activity Type
- Search Activity Types
List Activity Types get
Query Parameters
orderOptional | string | Sort the results being queried. Example: ?order=created_at or ?order=created_at|desc |
selectOptional | string | Select only the provided fields, useful for query optimization. Example: ?select=first_name;id |
per_pageOptional | integer | Provide the total number of records to query per page. Example: ?per_page=20 |
pageOptional | integer | The page number to retrieve results for. Example: ?page=2 |
qOptional | string | Search records by a given query. Example: ?q=John |
search_fieldsOptional | string | Change the fields that the search will be performed to Example: ?search_fields=email:like;phones.number:= |
search_matchOptional | string | By default the search queries are performed using the OR comparison operator for each query parameter, if you need to match all parameters, you will need to use the AND comparison operator. Example: ?search_match=and |
Retrieve Activity Type get
Path Parameters
idRequired | integer | The ID of the record |
Create Activity Type post
Body Parameters
nameRequired | string | |
iconRequired | string | |
swatch_colorOptional | string | Activity type color in HEX format |
Update Activity Type put
Path Parameters
idRequired | integer | The ID of the record |
Body Parameters
nameRequired | string | |
iconRequired | string | |
swatch_colorOptional | string | Activity type color in HEX format |
Delete Activity Type delete
Path Parameters
idRequired | integer | The ID of the record |
Search Activity Types get
Use this endpoint to perform search without pagination and use the
take
parameter if you need to limit the results. Path Parameters
qRequired | string |
Query Parameters
takeOptional | integer | The maximum number of results to query Example: ?take=1 |
orderOptional | string | Sort the results being queried. Example: ?order=created_at or ?order=created_at|desc |
selectOptional | string | Select only the provided fields, useful for query optimization. Example: ?select=first_name;id |
search_fieldsOptional | string | Change the fields that the search will be performed to Example: ?search_fields=email:like;phones.number:= |
search_matchOptional | string | By default the search queries are performed using the OR comparison operator for each query parameter, if you need to match all parameters, you will need to use the AND comparison operator. Example: ?search_match=and |