v1
latestOpenAPI 3.0.12026-07-2464217456.8 KBFields
Create a Field
post/1.0/fields
Query parameters
includeFieldsstring[]
This query parameter allows you to specify which field properties should be returned in the response body by selecting from the drop down. To get the relevant field properties, use comma separated values. If this field is left blank, the default properties are returned.
includeAllFieldsboolean
Example:true
This query parameter allows you to specify if all the field properties should be returned in the response body. If the field is left blank, the default field properties are returned.
Request body
Example request
{
"fieldId": 201,
"fieldLabel": "Priority",
"fieldDescription": "Priority of the bug.",
"fieldType": "MULTI_LINE_TEXT",
"objectType": "PROJECT",
"fieldOptions": [
{
"optionColor": "RED",
"optionLabel": "High"
}
],
"ratingScale": "THREE"
}Response
The resource was successfully created in the database.
Example response
{
"fieldId": 201,
"fieldLabel": "MRR",
"fieldDescription": "Priority of the bug.",
"fieldType": "MULTI_LINE_TEXT",
"objectType": "TASK",
"fieldOptions": [
{
"optionValue": 2,
"optionLabel": "Todo",
"optionColor": "RED"
}
],
"ratingScale": "THREE",
"createdBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"updatedBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"createdAt": 1681319726000,
"updatedAt": 1681319726000
}