code
Creates a new Code and returns it with the generated ID.
put/code
Request body
namestring required
Name of the Code
colorstring
Color of the Code
descriptionstring
Description of the Code
parent_idinteger nullable
Parent of the Code
enabledboolean
While false, the code is neither created in pre-processing nor shown in the UI (except in settings to enable it again)
project_idinteger required
Project the Code belongs to
is_systemboolean required
Is the Code a system code
Response
Successful Response
namestring required
Name of the Code
colorstring required
Color of the Code
descriptionstring
Description of the Code
parent_idinteger nullable
Parent of the Code
enabledboolean
While false, the code is neither created in pre-processing nor shown in the UI (except in settings to enable it again)
idinteger required
ID of the Code
project_idinteger required
Project the Code belongs to
createdstring date-time required
Created timestamp of the Code
updatedstring date-time required
Updated timestamp of the Code
is_systemboolean required
Is the Code a system code
memo_idsinteger[] required
Memo IDs attached to the Code