Add Biomarker Category
Use createBiomarkerCategory to add a new biomarker category.
Argument
Type
Description
name
String!
Name of Biomarker Category.
parent
BiomarkerCategory
Parent Category Id.
order
Int
Sets view order. Default = 0.
Available Fields
Field Name
Type
Description
success
Boolean!
True if the biomarker category has been created successfully. Otherwise, False.
message
String!
Description of the result.
biomarkerCategory
BiomarkerCategory
Biomarker category object .
Example
mutation createBiomarkerCategory {
createBiomarkerCategory(input: {
name: "Category Test"
order: 1
})
{
success
message
errors { field messages }
biomarkerCategory {name order id createdAt updatedAt}
}
}
{
"data": {
"createBiomarkerCategory": {
"success": true,
"message": "Biomarker category saved",
"errors": null,
"biomarkerCategory": {
"name": "Category Test",
"order": 1,
"id": "QmlvbWFya2VyQ2F0ZWdvcnk6MTE1",
"createdAt": "2023-03-31T22:20:15.960024+00:00",
"updatedAt": "2023-03-31T22:20:15.960051+00:00"
}
}
}
}Last updated
Was this helpful?