Create Class
Create a class to define any data structure you need. The class can be created by the account owner only.
Recipes
Create class
Create class
1. Set a name of the classs
name parameter to set the name of the class.2. Use a `fields` parameter to set custom fields
fields stores a set of unique keys each having an associated value parameter.3. Set fields of the custom class
4. Use a `permissions` parameter to set operations allowed and access levels
5. Set CRUD operations
create, read, and update operations are set.6. Set access levels
open, not_allowed, and open_for_users_ids access levels are set.7. Set IDs of users
8. As a result, the API returns a newly created class.
Create class with API key
Create class with API key
1. Use 'Authorization' header to pass API key
2. Set a name of the classs
name parameter to set the name of the class.3. Use a `fields` parameter to set custom fields
fields stores a set of unique keys each having an associated value parameter.4. Set fields of the custom class
5. Use a `permissions` parameter to set operations allowed and access levels
6. Set CRUD operations
create, read, and update operations are set.7. Set access levels
open, not_allowed, and open_for_users_ids access levels are set.8. Set IDs of users
9. As a result, the API returns a newly created class.
Body Parameters
fields.{custom_field}=<field_type>.permission.<CRUD_operation>.access=<value> permission.<CRUD_operation>.<option>=<value>CRUD operations: create, read, update, delete. CRUD access values:
open, owner, not_allowed, open_for_users_ids, open_for_groups. CRUD options:
ids, groups.Headers
ApiKey {your_api_key}. Must be used
either QB-Token or Authorization.Responses
201
201
403
403
422
422