Rank
Create a Rank Field Type
mutation {
fields(
boardId: "615be38975138d0001c501a7"
dto: {
name: "Rankings"
description: "This is a Rank field type"
type: "rank"
defaultValue: null
unique: false
typeData: { numeric_money_formula_field: "6175f2e1354d40000159d4ee" }
}
) {
id
fieldsSecret {
name
description
type
typeData {
numeric_money_formula_field
}
unique
defaultValue
}
boardId
createdTime
lastModifiedTime
}
}
{
"data": {
"fields": {
"id": "6175f3fc354d40000159d4ef",
"fieldsSecret": {
"name": "Rankings",
"description": "This is a Rank field type",
"type": "rank",
"typeData": {
"numeric_money_formula_field": "6175f2e1354d40000159d4ee"
},
"unique": false,
"defaultValue": null
},
"boardId": "615be38975138d0001c501a7",
"createdTime": "Mon Oct 25 00:02:04 GMT 2021",
"lastModifiedTime": null
}
}
}
Update a Rank Field Type
mutation {
updateFields(
boardId: "615be38975138d0001c501a7"
fieldId: "6175f3fc354d40000159d4ef"
dto: {
name: "Rankings"
description: "This is an updated Rank field type"
type: "rank"
unique: true
typeData: { numeric_money_formula_field: "6175f2e1354d40000159d4ee" }
}
) {
id
fieldsSecret {
name
description
type
typeData {
numeric_money_formula_field
}
unique
}
boardId
createdTime
lastModifiedTime
}
}
{
"data": {
"updateFields": {
"id": "6175f3fc354d40000159d4ef",
"fieldsSecret": {
"name": "Rankings",
"description": "This is an updated Rank field type",
"type": "rank",
"typeData": {
"numeric_money_formula_field": "6175f2e1354d40000159d4ee"
},
"unique": true
},
"boardId": "615be38975138d0001c501a7",
"createdTime": "Mon Oct 25 00:02:04 GMT 2021",
"lastModifiedTime": "Mon Oct 25 00:06:09 GMT 2021"
}
}
}
Delete Rank Field Type
mutation {
deleteFields(
boardId: "615be38975138d0001c501a7"
fieldId: "6175f3fc354d40000159d4ef"
)
}
{
"data": {
"deleteFields": "SUCCESS"
}
}
Updated about 3 years ago