Mutation
mutation AddUserToActiveBillingRota($input: AddUserToActiveBillingRotaInput!) {
addUserToActiveBillingRota(input: $input) {
billingRota {
onRotaUserIds
offRotaUserIds
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"userId": "id"
}
}Response
{
"data": {
"addUserToActiveBillingRota": {
"billingRota": {
"onRotaUserIds": [
"id"
],
"offRotaUserIds": [
"id"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
addUserToActiveBillingRota
Moves a user onto the active billing rota, marking them as currently consuming an eng-rota seat. The user must already hold a billing rota seat. Requires the billingSeat:edit permission.
MUTATION
addUserToActiveBillingRota(input: AddUserToActiveBillingRotaInput!): AddUserToActiveBillingRotaOutput!Arguments
input
required
Returns
billingRota
error
Mutation
mutation AddUserToActiveBillingRota($input: AddUserToActiveBillingRotaInput!) {
addUserToActiveBillingRota(input: $input) {
billingRota {
onRotaUserIds
offRotaUserIds
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"userId": "id"
}
}Response
{
"data": {
"addUserToActiveBillingRota": {
"billingRota": {
"onRotaUserIds": [
"id"
],
"offRotaUserIds": [
"id"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

