Query
query GetTerritoryMap {
getTerritoryMap {
territoryRows {
zipCount
zipCodes
serviceAreaGeojson
name
entryId
}
selectedEstimatorId
selectedEstimator {
zipCount
zipCodes
serviceAreaGeojson
name
entryId
}
entryId
}
}Response
{
"data": {
"getTerritoryMap": {
"territoryRows": [
{
"zipCount": 1,
"zipCodes": [
"string"
],
"serviceAreaGeojson": "value",
"name": "string",
"entryId": "string"
}
],
"selectedEstimatorId": "string",
"selectedEstimator": {
"zipCount": 1,
"zipCodes": [
"string"
],
"serviceAreaGeojson": "value",
"name": "string",
"entryId": "string"
},
"entryId": "string"
}
}
}Queries
getTerritoryMap
QUERY
getTerritoryMap(selectedEstimatorId: ID): TerritoryMap!Arguments
selectedEstimatorId
ID
Returns
territoryRows
[TerritoryMapRow!]!
selectedEstimatorId
String!
selectedEstimator
entryId
String!
Query
query GetTerritoryMap {
getTerritoryMap {
territoryRows {
zipCount
zipCodes
serviceAreaGeojson
name
entryId
}
selectedEstimatorId
selectedEstimator {
zipCount
zipCodes
serviceAreaGeojson
name
entryId
}
entryId
}
}Response
{
"data": {
"getTerritoryMap": {
"territoryRows": [
{
"zipCount": 1,
"zipCodes": [
"string"
],
"serviceAreaGeojson": "value",
"name": "string",
"entryId": "string"
}
],
"selectedEstimatorId": "string",
"selectedEstimator": {
"zipCount": 1,
"zipCodes": [
"string"
],
"serviceAreaGeojson": "value",
"name": "string",
"entryId": "string"
},
"entryId": "string"
}
}
}