Mutation
mutation SimulateCsrRouting($input: SimulateCsrRoutingInput!) {
simulateCsrRouting(input: $input) {
turnPoolUserIds
steps {
userId
reason
position
poolUserIds
outcome
name
}
fellBackToRoundRobin
facts {
zipcode
territoryKey
propertyHistoryEstimatorProfileIds
projectCategory
existingCsrUserId
customerEstimatorMonthsSince
}
assignedUserId
}
}Variables
{
"input": {
"rules": [
{}
],
"request": {}
}
}Response
{
"data": {
"simulateCsrRouting": {
"turnPoolUserIds": [
"string"
],
"steps": [
{
"userId": "string",
"reason": "string",
"position": 1,
"poolUserIds": [
"string"
],
"outcome": "string",
"name": "string"
}
],
"fellBackToRoundRobin": true,
"facts": {
"zipcode": "string",
"territoryKey": "string",
"propertyHistoryEstimatorProfileIds": [
"string"
],
"projectCategory": "string",
"existingCsrUserId": "string",
"customerEstimatorMonthsSince": 1
},
"assignedUserId": "string"
}
}
}Mutations
simulateCsrRouting
Run the given rules against a made-up request without assigning anyone.
MUTATION
simulateCsrRouting(input: SimulateCsrRoutingInput!): CsrRoutingSimulationResult!Arguments
input
required
Returns
turnPoolUserIds
[String!]!
steps
fellBackToRoundRobin
Boolean!
facts
assignedUserId
String
Mutation
mutation SimulateCsrRouting($input: SimulateCsrRoutingInput!) {
simulateCsrRouting(input: $input) {
turnPoolUserIds
steps {
userId
reason
position
poolUserIds
outcome
name
}
fellBackToRoundRobin
facts {
zipcode
territoryKey
propertyHistoryEstimatorProfileIds
projectCategory
existingCsrUserId
customerEstimatorMonthsSince
}
assignedUserId
}
}Variables
{
"input": {
"rules": [
{}
],
"request": {}
}
}Response
{
"data": {
"simulateCsrRouting": {
"turnPoolUserIds": [
"string"
],
"steps": [
{
"userId": "string",
"reason": "string",
"position": 1,
"poolUserIds": [
"string"
],
"outcome": "string",
"name": "string"
}
],
"fellBackToRoundRobin": true,
"facts": {
"zipcode": "string",
"territoryKey": "string",
"propertyHistoryEstimatorProfileIds": [
"string"
],
"projectCategory": "string",
"existingCsrUserId": "string",
"customerEstimatorMonthsSince": 1
},
"assignedUserId": "string"
}
}
}