GraphQL Query
query CostCentres($showArchived: Boolean!) {
costCentres(showArchived: $showArchived) {
id
name
externalId
hidden
modifiedAt
modifiedBy {
fullName
}
}
}
Example Variables
{
"showArchived": false
}
Example Response
{
"data": {
"costCentres": [
{
"id": "41",
"name": "Development",
"externalId": null,
"hidden": false,
"modifiedAt": "2024-06-06T03:39:32.291Z",
"modifiedBy": {
"fullName": "Roubler Support"
}
},
{
"id": "42",
"name": "Sales",
"externalId": null,
"hidden": false,
"modifiedAt": "2024-06-06T03:39:35.917Z",
"modifiedBy": {
"fullName": "Roubler Support"
}
},
{
"id": "43",
"name": "Customer Services",
"externalId": null,
"hidden": false,
"modifiedAt": "2024-06-06T03:39:42.389Z",
"modifiedBy": {
"fullName": "Roubler Support"
}
}
]
}
}