Mutation
mutation UpdateActiveBillingRota($input: UpdateActiveBillingRotaInput!) {
updateActiveBillingRota(input: $input) {
billingRota {
onRotaUserIds
offRotaUserIds
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateActiveBillingRota": {
"billingRota": {
"onRotaUserIds": [
"id"
],
"offRotaUserIds": [
"id"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateActiveBillingRota
Atomically adds and removes multiple users from the active billing rota in a single call. At least one user must be added or removed; the same user cannot appear in both lists. Requires the billingSeat:edit permission.
MUTATION
updateActiveBillingRota(input: UpdateActiveBillingRotaInput!): UpdateActiveBillingRotaOutput!Arguments
input
required
Returns
billingRota
error
Mutation
mutation UpdateActiveBillingRota($input: UpdateActiveBillingRotaInput!) {
updateActiveBillingRota(input: $input) {
billingRota {
onRotaUserIds
offRotaUserIds
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateActiveBillingRota": {
"billingRota": {
"onRotaUserIds": [
"id"
],
"offRotaUserIds": [
"id"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

