Decimal Number Configuration
Check out chapters Get Field Id, Get field configuration context Id, and Create/Update field configuration (options) in order to find out how to use endpoint properly. All endpoints used in the article https://caelor.atlassian.net/wiki/spaces/MSCW/pages/597196821 are also used for this custom field, only provided data in the body of Create/Update API is different.
In order to make this request successful, the body should follow this scheme and its property names:
`{
configurations: [
{
configuration: {
decimal: [
{
id: 1,
label: "Tenths (one place)",
name: "ONE",
value: true/false,
},
{
id: 2,
label: "Hundredths (two places)",
name: "TWO",
value: true/false,
},
{
id: 3,
label: "Thousandths (three places)",
name: "THREE",
value: true/false,
},
]
},
contextId: "<Unique Id>"
}
]
}`
Properties id
, label,
and name
are fixed.
Property value
is a type of Boolean and in order to make this request properly, only one object must have value
defined as true, and others need to be false. To make this request properly 3 objects must be passed in decimal
array.