Create category
Create a category.
Authorizations
API key used to authenticate and authorise every request.
Include it in the x-api-key header.
Headers
Defines the response type.
application/vnd.Creative Force.v2.3+json, application/vnd.Creative Force.v2.3+xml Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
all, ar_AR, bg_BG, bn_IN, ca_ES, cs_CZ, cy_GB, da_DK, de_DE, en_GB, en_US, el_GR, es_NN, es_LA, et_EE, fa_NN, fi_FI, fr_FR, fr_CA, he_IL, hi_IN, hr_HR, hu_HU, hy_AM, it_IT, ja_JP, ko_KR, lt_LT, ms_MY, nl_NL, nb_NO, pl_PL, pt_BR, ro_RO, ru_RU, sk_SK, sl_SI, sq_AL, sr_RS, sv_SE, sw_NN, th_TH, tr_TR, uk_UA, vi_VN, zh_CN, zh_HK Body
Category creation payload.
Slug of the season.
Active or inactive state of the category.
active, inactive Translated category field values keyed by field name.
Array of chapter slugs.
Each chapter must belong to the same season as season.
Number of divisions.
x >= 1Maximum number of entries per entrant.
x >= 1Specifies whether to prefill the entry name when the category is selected.
Maximum image width.
Slug of the form.
The form must be valid for season.
Slug of the parent category.
The parent category must belong to the same season as season.
Promotion state of the category.
1 when promoted, 0 when not, and null when no preference has been set.
0, 1, null Specifies whether to generate a PDF packing slip.
Required when translated.packing_slip_instructions is provided.
Response
Category created.
Competition category that entries are submitted to.
Date and time when the category was created.
Description shown to entrants on the category, as an HTML fragment map keyed by locale code.
Number of divisions configured for the category, always at least 1.
x >= 1Entry form attached to the category.
Display name of the category, as a map of translated strings keyed by locale code.
Parent category this category sits under, or null for a top-level category.
Promotion state of the category, 1 when promoted, 0 when not, and null when unset.
0, 1, null Season the category belongs to.
Short code used to reference the category, as a map of translated strings keyed by locale code.
Short URL-safe identifier for the category.
Current state of the category.
active, inactive Date and time when the category was last updated.
Chapters the category is available in.
Maximum number of entries a single entrant may submit to this category, or null if uncapped.
Custom label for the entry-name field shown to entrants, as a map of translated strings keyed by locale code.
Specifies whether entrants are asked to name their entry when submitting to this category.
Heading shown above the category images, as a map of translated strings keyed by locale code.
Images attached to the category.
Maximum display width for the category images, in pixels.
Instructions shown on the packing slip for the category, as a map of translated strings keyed by locale code.
Specifies whether a PDF packing slip is enabled for the category.