GraphQL API Reference
Welcome to ECOROUTE API documentation
This is your gateway to unlocking the full potential of our services.
Whether you're crafting innovative applications, automating processes, or integrating with existing systems, our API provides the tools you need to succeed. Dive into our comprehensive documentation, discover endpoints, and unleash the power of seamless integration.
We wish you good luck and have fun building amazing creations!
Terms of Service
API Endpoints
# Production:
https://api.ecoroute.io/graphql
Headers
# Your API token from "/token". Must be included in all API calls.
Authorization: Bearer <YOUR_TOKEN_HERE>
Version
0.10.0
Quickstart
Create Account
- Open Ecoroute Registration and follow the instructions.
Receive API Token
Execute the following command
$ curl --location 'https://api.ecoroute.io/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "<YOUR_USERNAME>",
"password": "<YOUR_PASSWORD>",
"audience": "https://api.ecoroute",
"grant_type": "password"
}'
Get your user
Execute the following command
$ curl --location 'https://api.ecoroute.io/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--data-raw '{
"query":"query queryUser(first: Int!, offset: Int!) {\n queryUser(first: $first, offset: $offset) {\n id\n email\n tags {\n id\n name\n }\n }\n}",
"variables": {"operationName": "queryUser", "first": 100, "offset": 0}
}'
Add your first Tag
Execute the following command
$ curl --location 'https://api.ecoroute.io/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--data '{
"query":"mutation($input: [AddTagInput!]!){\n addTag(input: $input){\n tag {\n id\n name\n users {\n id\n }\n }\n numUids\n }\n}",
"variables":{
"input":{
"name":"<YOUR_TAG_NAME>",
"users":[
{
"id":"<YOUR_USER_ID>",
"email":"<YOUR_EMAIL>"
}
],
"createdAt":"2023-05-07T21:23:34.409Z"
},
"operationName": "addTag"
}
}'
Add your first Search
Execute the following command
$ curl --location 'https://api.ecoroute.io/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--data '{
"query":"mutation($input: [AddSearchSetInput!]!){\n addSearchSet(input: $input){\n searchSet {\n \tid\n start\n destination\n tags {\n id\n name\n users {\n id\n }\n }\n createdAt\n state\n }\n }\n}",
"variables":{
"input": [
{
"start":"<YOUR_START>",
"destination":"<YOUR_DESTINATION>",
"tags":[
{
"id":"<YOUR_TAG_ID>"
}
],
"active":true,
"createdAt":"2023-05-07T20:31:02Z",
"state":"NEW"
}
],
"operationName": "addSearchSet"
}
}'
Usage information
To guarantee the same quality of service for all our users, each request that uses our "/graphql"-endpoint and uses a "query*"-function (for example querySeaches, queryMatches, querySearchSet) has to contain 2 variables in it's payload.
The mentioned variables are marked as mandatory in our detailed api documentation (pay attention to the "!" next to variables)
If you are not familiar with the usage of "variables" we recommend reading the following source: https://graphql.org/
JSON-Schema
"variables": {
"type": "object",
"properties": {
"first": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "integer",
"minimum": 0
}
}
}
Example Payload
{"operationName": "queryTag","variables":{"first":10,"offset":0},"query":"query($filter: TagFilter!, $first: Int!, $offset: Int!) {\n queryTag(filter: $filter, first: $first, offset: $offset) {\n id\n name\n users {\n id\n }\n searchSets {\n searchesAggregate {\n count\n }\n id\n createdAt\n state\n start\n destination\n active\n mergeSet {\n id\n }\n searches {\n id\n distance\n active\n waypoints {\n id\n value\n sortOrder\n }\n }\n owningMergeSet {\n id\n }\n mergeSet {\n id\n }\n }\n }\n}"}
Collaboration
Share Tags
Receive your tags
Execute the following command for the party who owns the tag
curl --location 'https://api.ecoroute.io/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--data-raw '{
"query":"query queryTag(first: Int!, offset: Int!) {\n queryTag(first: $first, offset: $offset) {\n id\n name\n users {\n id\n }\n searches {\n id\n }\n searchesAggregate {\n count\n }\n }\n}",
"variables":{}
}'
Get your user
Execute the following command once for the party who wants to collaborate and once for the party who owns the tag
$ curl --location 'https://api.ecoroute.io/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--data-raw '{
"query":"query queryUser(first: Int!, offset: Int!) {\n queryUser(first: $first, offset: $offset) {\n id\n email\n tags {\n id\n name\n }\n }\n}",
"variables": {}
}'
Add additional user to tag
Execute the following command for the party who owns the tag
curl --location 'https://api.ecoroute.io/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--data '{
"query":"mutation($input: UpdateTagInput!){\n updateTag(input: $input){\n tag {\n id\n name\n users {\n id\n }\n }\n numUids\n }\n}",
"variables":{
"input":{
"filter":{
"id":["<TAG_ID>"]
},
"set":{
"users":[
{
"id":"<USER_ID_OWNER>"
},
{
"id":"<USER_ID_COLLABORATOR>"
}
]
}
}
}
}'
Queries
aggregateDispatchDateTimeFilter
Response
Returns a DispatchDateTimeFilterAggregateResult
Arguments
| Name | Description |
|---|---|
filter - DispatchDateTimeFilterFilter
|
Example
Query
query AggregateDispatchDateTimeFilter($filter: DispatchDateTimeFilterFilter) {
aggregateDispatchDateTimeFilter(filter: $filter) {
count
eqMin
eqMax
leMin
leMax
ltMin
ltMax
geMin
geMax
gtMin
gtMax
}
}
Variables
{"filter": DispatchDateTimeFilterFilter}
Response
{
"data": {
"aggregateDispatchDateTimeFilter": {
"count": 987,
"eqMin": "2007-12-03T10:15:30Z",
"eqMax": "2007-12-03T10:15:30Z",
"leMin": "2007-12-03T10:15:30Z",
"leMax": "2007-12-03T10:15:30Z",
"ltMin": "2007-12-03T10:15:30Z",
"ltMax": "2007-12-03T10:15:30Z",
"geMin": "2007-12-03T10:15:30Z",
"geMax": "2007-12-03T10:15:30Z",
"gtMin": "2007-12-03T10:15:30Z",
"gtMax": "2007-12-03T10:15:30Z"
}
}
}
aggregateDispatchDateTimeRange
Response
Returns a DispatchDateTimeRangeAggregateResult
Arguments
| Name | Description |
|---|---|
filter - DispatchDateTimeRangeFilter
|
Example
Query
query AggregateDispatchDateTimeRange($filter: DispatchDateTimeRangeFilter) {
aggregateDispatchDateTimeRange(filter: $filter) {
count
minMin
minMax
maxMin
maxMax
}
}
Variables
{"filter": DispatchDateTimeRangeFilter}
Response
{
"data": {
"aggregateDispatchDateTimeRange": {
"count": 123,
"minMin": "2007-12-03T10:15:30Z",
"minMax": "2007-12-03T10:15:30Z",
"maxMin": "2007-12-03T10:15:30Z",
"maxMax": "2007-12-03T10:15:30Z"
}
}
}
aggregateMergeSet
Response
Returns a MergeSetAggregateResult
Arguments
| Name | Description |
|---|---|
filter - MergeSetFilter
|
Example
Query
query AggregateMergeSet($filter: MergeSetFilter) {
aggregateMergeSet(filter: $filter) {
count
createdAtMin
createdAtMax
savedDistanceMin
savedDistanceMax
savedDistanceSum
savedDistanceAvg
}
}
Variables
{"filter": MergeSetFilter}
Response
{
"data": {
"aggregateMergeSet": {
"count": 987,
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z",
"savedDistanceMin": 123.45,
"savedDistanceMax": 123.45,
"savedDistanceSum": 123.45,
"savedDistanceAvg": 987.65
}
}
}
aggregatePrediction
Response
Returns a PredictionAggregateResult
Arguments
| Name | Description |
|---|---|
filter - PredictionFilter
|
Example
Query
query AggregatePrediction($filter: PredictionFilter) {
aggregatePrediction(filter: $filter) {
count
descriptionMin
descriptionMax
}
}
Variables
{"filter": PredictionFilter}
Response
{
"data": {
"aggregatePrediction": {
"count": 987,
"descriptionMin": "abc123",
"descriptionMax": "xyz789"
}
}
}
aggregateSearch
Response
Returns a SearchAggregateResult
Arguments
| Name | Description |
|---|---|
filter - SearchFilter
|
Example
Query
query AggregateSearch($filter: SearchFilter) {
aggregateSearch(filter: $filter) {
count
idMin
idMax
distanceMin
distanceMax
distanceSum
distanceAvg
createdAtMin
createdAtMax
}
}
Variables
{"filter": SearchFilter}
Response
{
"data": {
"aggregateSearch": {
"count": 987,
"idMin": "xyz789",
"idMax": "abc123",
"distanceMin": 123.45,
"distanceMax": 987.65,
"distanceSum": 123.45,
"distanceAvg": 123.45,
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z"
}
}
}
aggregateSearchSet
Response
Returns a SearchSetAggregateResult
Arguments
| Name | Description |
|---|---|
filter - SearchSetFilter
|
Example
Query
query AggregateSearchSet($filter: SearchSetFilter) {
aggregateSearchSet(filter: $filter) {
count
startMin
startMax
destinationMin
destinationMax
createdAtMin
createdAtMax
dispatchDateTimeMin
dispatchDateTimeMax
}
}
Variables
{"filter": SearchSetFilter}
Response
{
"data": {
"aggregateSearchSet": {
"count": 987,
"startMin": "abc123",
"startMax": "xyz789",
"destinationMin": "xyz789",
"destinationMax": "abc123",
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z",
"dispatchDateTimeMin": "2007-12-03T10:15:30Z",
"dispatchDateTimeMax": "2007-12-03T10:15:30Z"
}
}
}
getMatchSet
Example
Query
query GetMatchSet($id: ID!) {
getMatchSet(id: $id) {
id
search {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
matches {
id
coverageSearch
coverageMatch
matchRatio
matchSet {
...MatchSetFragment
}
search {
...SearchFragment
}
createdAt
matchSetAggregate {
...MatchSetAggregateResultFragment
}
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
eq
le
lt
ge
gt
in
between {
...DispatchDateTimeRangeFragment
}
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
matchesAggregate {
count
coverageSearchMin
coverageSearchMax
coverageSearchSum
coverageSearchAvg
coverageMatchMin
coverageMatchMax
coverageMatchSum
coverageMatchAvg
matchRatioMin
matchRatioMax
matchRatioSum
matchRatioAvg
createdAtMin
createdAtMax
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getMatchSet": {
"id": 4,
"search": Search,
"tags": [Tag],
"matches": [Match],
"minCoverageSearch": 123.45,
"minCoverageMatch": 123.45,
"matchFactor": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": DispatchDateTimeFilter,
"tagsAggregate": TagAggregateResult,
"matchesAggregate": MatchAggregateResult
}
}
}
getMergeSet
Example
Query
query GetMergeSet($id: ID!) {
getMergeSet(id: $id) {
id
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
baseSearchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeSearchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
createdAt
savedDistance
state
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"getMergeSet": {
"id": 4,
"tags": [Tag],
"baseSearchSet": SearchSet,
"mergeSearchSet": SearchSet,
"searchSet": SearchSet,
"createdAt": "2007-12-03T10:15:30Z",
"savedDistance": 123.45,
"state": "NEW",
"tagsAggregate": TagAggregateResult
}
}
}
getPredictions
Description
Get place predictions from Google Places API based on input string.
Response
Returns a Predictions
Arguments
| Name | Description |
|---|---|
input - String!
|
Example
Query
query GetPredictions($input: String!) {
getPredictions(input: $input) {
predictions {
description
}
}
}
Variables
{"input": "abc123"}
Response
{
"data": {
"getPredictions": {"predictions": [Prediction]}
}
}
getSearch
Example
Query
query GetSearch($id: String!) {
getSearch(id: $id) {
id
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
startPoint {
longitude
latitude
}
destinationPoint {
longitude
latitude
}
waypoints {
id
value
sortOrder
marker {
...PointFragment
}
search {
...SearchFragment
}
}
polygonLine {
coordinates {
...PointListFragment
}
}
active
distance
lineString {
coordinates {
...PointListFragment
}
}
createdAt
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
matchSets {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
waypointsAggregate {
count
idMin
idMax
valueMin
valueMax
sortOrderMin
sortOrderMax
sortOrderSum
sortOrderAvg
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
matchSetsAggregate {
count
minCoverageSearchMin
minCoverageSearchMax
minCoverageSearchSum
minCoverageSearchAvg
minCoverageMatchMin
minCoverageMatchMax
minCoverageMatchSum
minCoverageMatchAvg
matchFactorMin
matchFactorMax
matchFactorSum
matchFactorAvg
createdAtMin
createdAtMax
}
}
}
Variables
{"id": "xyz789"}
Response
{
"data": {
"getSearch": {
"id": "xyz789",
"searchSet": SearchSet,
"startPoint": Point,
"destinationPoint": Point,
"waypoints": [Waypoint],
"polygonLine": Polygon,
"active": false,
"distance": 123.45,
"lineString": Polygon,
"createdAt": "2007-12-03T10:15:30Z",
"tags": [Tag],
"matchSets": [MatchSet],
"waypointsAggregate": WaypointAggregateResult,
"tagsAggregate": TagAggregateResult,
"matchSetsAggregate": MatchSetAggregateResult
}
}
}
getSearchSet
Example
Query
query GetSearchSet($id: ID!) {
getSearchSet(id: $id) {
id
searches {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
start
destination
baseMergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeMergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
count
idMin
idMax
distanceMin
distanceMax
distanceSum
distanceAvg
createdAtMin
createdAtMax
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"getSearchSet": {
"id": "4",
"searches": [Search],
"tags": [Tag],
"start": "abc123",
"destination": "abc123",
"baseMergeSet": MergeSet,
"mergeMergeSet": MergeSet,
"mergeSet": MergeSet,
"active": true,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": "2007-12-03T10:15:30Z",
"searchesAggregate": SearchAggregateResult,
"tagsAggregate": TagAggregateResult
}
}
}
getTag
Example
Query
query GetTag($id: ID!) {
getTag(id: $id) {
id
name
users {
id
email
tags {
...TagFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
searchSets {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeSets {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
matchSets {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
searches {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
createdAt
usersAggregate {
count
idMin
idMax
emailMin
emailMax
}
searchSetsAggregate {
count
startMin
startMax
destinationMin
destinationMax
createdAtMin
createdAtMax
dispatchDateTimeMin
dispatchDateTimeMax
}
mergeSetsAggregate {
count
createdAtMin
createdAtMax
savedDistanceMin
savedDistanceMax
savedDistanceSum
savedDistanceAvg
}
matchSetsAggregate {
count
minCoverageSearchMin
minCoverageSearchMax
minCoverageSearchSum
minCoverageSearchAvg
minCoverageMatchMin
minCoverageMatchMax
minCoverageMatchSum
minCoverageMatchAvg
matchFactorMin
matchFactorMax
matchFactorSum
matchFactorAvg
createdAtMin
createdAtMax
}
searchesAggregate {
count
idMin
idMax
distanceMin
distanceMax
distanceSum
distanceAvg
createdAtMin
createdAtMax
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getTag": {
"id": "4",
"name": "xyz789",
"users": [User],
"searchSets": [SearchSet],
"mergeSets": [MergeSet],
"matchSets": [MatchSet],
"searches": [Search],
"createdAt": "2007-12-03T10:15:30Z",
"usersAggregate": UserAggregateResult,
"searchSetsAggregate": SearchSetAggregateResult,
"mergeSetsAggregate": MergeSetAggregateResult,
"matchSetsAggregate": MatchSetAggregateResult,
"searchesAggregate": SearchAggregateResult
}
}
}
getUser
Example
Query
query GetUser($id: String!) {
getUser(id: $id) {
id
email
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
}
}
Variables
{"id": "xyz789"}
Response
{
"data": {
"getUser": {
"id": "xyz789",
"email": "xyz789",
"tags": [Tag],
"tagsAggregate": TagAggregateResult
}
}
}
queryDispatchDateTimeFilter
Response
Returns [DispatchDateTimeFilter]
Arguments
| Name | Description |
|---|---|
filter - DispatchDateTimeFilterFilter
|
|
order - DispatchDateTimeFilterOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryDispatchDateTimeFilter(
$filter: DispatchDateTimeFilterFilter,
$order: DispatchDateTimeFilterOrder,
$first: Int!,
$offset: Int!
) {
queryDispatchDateTimeFilter(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
eq
le
lt
ge
gt
in
between {
min
max
}
}
}
Variables
{
"filter": DispatchDateTimeFilterFilter,
"order": DispatchDateTimeFilterOrder,
"first": 987,
"offset": 123
}
Response
{
"data": {
"queryDispatchDateTimeFilter": [
{
"eq": "2007-12-03T10:15:30Z",
"le": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"ge": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"between": DispatchDateTimeRange
}
]
}
}
queryDispatchDateTimeRange
Response
Returns [DispatchDateTimeRange]
Arguments
| Name | Description |
|---|---|
filter - DispatchDateTimeRangeFilter
|
|
order - DispatchDateTimeRangeOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryDispatchDateTimeRange(
$filter: DispatchDateTimeRangeFilter,
$order: DispatchDateTimeRangeOrder,
$first: Int!,
$offset: Int!
) {
queryDispatchDateTimeRange(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
min
max
}
}
Variables
{
"filter": DispatchDateTimeRangeFilter,
"order": DispatchDateTimeRangeOrder,
"first": 987,
"offset": 987
}
Response
{
"data": {
"queryDispatchDateTimeRange": [
{
"min": "2007-12-03T10:15:30Z",
"max": "2007-12-03T10:15:30Z"
}
]
}
}
queryMatch
Response
Returns [Match]
Arguments
| Name | Description |
|---|---|
filter - MatchFilter
|
|
order - MatchOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryMatch(
$filter: MatchFilter,
$order: MatchOrder,
$first: Int!,
$offset: Int!
) {
queryMatch(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
coverageSearch
coverageMatch
matchRatio
matchSet {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
search {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
createdAt
matchSetAggregate {
count
minCoverageSearchMin
minCoverageSearchMax
minCoverageSearchSum
minCoverageSearchAvg
minCoverageMatchMin
minCoverageMatchMax
minCoverageMatchSum
minCoverageMatchAvg
matchFactorMin
matchFactorMax
matchFactorSum
matchFactorAvg
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": MatchFilter,
"order": MatchOrder,
"first": 123,
"offset": 987
}
Response
{
"data": {
"queryMatch": [
{
"id": 4,
"coverageSearch": 987.65,
"coverageMatch": 123.45,
"matchRatio": 123.45,
"matchSet": [MatchSet],
"search": Search,
"createdAt": "2007-12-03T10:15:30Z",
"matchSetAggregate": MatchSetAggregateResult
}
]
}
}
queryMatchSet
Response
Returns [MatchSet]
Arguments
| Name | Description |
|---|---|
filter - MatchSetFilter
|
|
order - MatchSetOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryMatchSet(
$filter: MatchSetFilter,
$order: MatchSetOrder,
$first: Int!,
$offset: Int!
) {
queryMatchSet(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
search {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
matches {
id
coverageSearch
coverageMatch
matchRatio
matchSet {
...MatchSetFragment
}
search {
...SearchFragment
}
createdAt
matchSetAggregate {
...MatchSetAggregateResultFragment
}
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
eq
le
lt
ge
gt
in
between {
...DispatchDateTimeRangeFragment
}
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
matchesAggregate {
count
coverageSearchMin
coverageSearchMax
coverageSearchSum
coverageSearchAvg
coverageMatchMin
coverageMatchMax
coverageMatchSum
coverageMatchAvg
matchRatioMin
matchRatioMax
matchRatioSum
matchRatioAvg
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": MatchSetFilter,
"order": MatchSetOrder,
"first": 987,
"offset": 987
}
Response
{
"data": {
"queryMatchSet": [
{
"id": 4,
"search": Search,
"tags": [Tag],
"matches": [Match],
"minCoverageSearch": 987.65,
"minCoverageMatch": 987.65,
"matchFactor": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": DispatchDateTimeFilter,
"tagsAggregate": TagAggregateResult,
"matchesAggregate": MatchAggregateResult
}
]
}
}
queryMergeSet
Response
Returns [MergeSet]
Arguments
| Name | Description |
|---|---|
filter - MergeSetFilter
|
|
order - MergeSetOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryMergeSet(
$filter: MergeSetFilter,
$order: MergeSetOrder,
$first: Int!,
$offset: Int!
) {
queryMergeSet(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
baseSearchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeSearchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
createdAt
savedDistance
state
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": MergeSetFilter,
"order": MergeSetOrder,
"first": 987,
"offset": 123
}
Response
{
"data": {
"queryMergeSet": [
{
"id": 4,
"tags": [Tag],
"baseSearchSet": SearchSet,
"mergeSearchSet": SearchSet,
"searchSet": SearchSet,
"createdAt": "2007-12-03T10:15:30Z",
"savedDistance": 987.65,
"state": "NEW",
"tagsAggregate": TagAggregateResult
}
]
}
}
queryPrediction
Response
Returns [Prediction]
Arguments
| Name | Description |
|---|---|
filter - PredictionFilter
|
|
order - PredictionOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryPrediction(
$filter: PredictionFilter,
$order: PredictionOrder,
$first: Int!,
$offset: Int!
) {
queryPrediction(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
description
}
}
Variables
{
"filter": PredictionFilter,
"order": PredictionOrder,
"first": 987,
"offset": 987
}
Response
{
"data": {
"queryPrediction": [
{"description": "xyz789"}
]
}
}
querySearch
Response
Returns [Search]
Arguments
| Name | Description |
|---|---|
filter - SearchFilter
|
|
order - SearchOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QuerySearch(
$filter: SearchFilter,
$order: SearchOrder,
$first: Int!,
$offset: Int!
) {
querySearch(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
startPoint {
longitude
latitude
}
destinationPoint {
longitude
latitude
}
waypoints {
id
value
sortOrder
marker {
...PointFragment
}
search {
...SearchFragment
}
}
polygonLine {
coordinates {
...PointListFragment
}
}
active
distance
lineString {
coordinates {
...PointListFragment
}
}
createdAt
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
matchSets {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
waypointsAggregate {
count
idMin
idMax
valueMin
valueMax
sortOrderMin
sortOrderMax
sortOrderSum
sortOrderAvg
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
matchSetsAggregate {
count
minCoverageSearchMin
minCoverageSearchMax
minCoverageSearchSum
minCoverageSearchAvg
minCoverageMatchMin
minCoverageMatchMax
minCoverageMatchSum
minCoverageMatchAvg
matchFactorMin
matchFactorMax
matchFactorSum
matchFactorAvg
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": SearchFilter,
"order": SearchOrder,
"first": 987,
"offset": 987
}
Response
{
"data": {
"querySearch": [
{
"id": "abc123",
"searchSet": SearchSet,
"startPoint": Point,
"destinationPoint": Point,
"waypoints": [Waypoint],
"polygonLine": Polygon,
"active": true,
"distance": 987.65,
"lineString": Polygon,
"createdAt": "2007-12-03T10:15:30Z",
"tags": [Tag],
"matchSets": [MatchSet],
"waypointsAggregate": WaypointAggregateResult,
"tagsAggregate": TagAggregateResult,
"matchSetsAggregate": MatchSetAggregateResult
}
]
}
}
querySearchSet
Response
Returns [SearchSet]
Arguments
| Name | Description |
|---|---|
filter - SearchSetFilter
|
|
order - SearchSetOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QuerySearchSet(
$filter: SearchSetFilter,
$order: SearchSetOrder,
$first: Int!,
$offset: Int!
) {
querySearchSet(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
searches {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
start
destination
baseMergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeMergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
count
idMin
idMax
distanceMin
distanceMax
distanceSum
distanceAvg
createdAtMin
createdAtMax
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": SearchSetFilter,
"order": SearchSetOrder,
"first": 123,
"offset": 987
}
Response
{
"data": {
"querySearchSet": [
{
"id": 4,
"searches": [Search],
"tags": [Tag],
"start": "xyz789",
"destination": "abc123",
"baseMergeSet": MergeSet,
"mergeMergeSet": MergeSet,
"mergeSet": MergeSet,
"active": false,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": "2007-12-03T10:15:30Z",
"searchesAggregate": SearchAggregateResult,
"tagsAggregate": TagAggregateResult
}
]
}
}
queryTag
Response
Returns [Tag]
Example
Query
query QueryTag(
$filter: TagFilter,
$order: TagOrder,
$first: Int!,
$offset: Int!
) {
queryTag(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
name
users {
id
email
tags {
...TagFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
searchSets {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
mergeSets {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
matchSets {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
searches {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
createdAt
usersAggregate {
count
idMin
idMax
emailMin
emailMax
}
searchSetsAggregate {
count
startMin
startMax
destinationMin
destinationMax
createdAtMin
createdAtMax
dispatchDateTimeMin
dispatchDateTimeMax
}
mergeSetsAggregate {
count
createdAtMin
createdAtMax
savedDistanceMin
savedDistanceMax
savedDistanceSum
savedDistanceAvg
}
matchSetsAggregate {
count
minCoverageSearchMin
minCoverageSearchMax
minCoverageSearchSum
minCoverageSearchAvg
minCoverageMatchMin
minCoverageMatchMax
minCoverageMatchSum
minCoverageMatchAvg
matchFactorMin
matchFactorMax
matchFactorSum
matchFactorAvg
createdAtMin
createdAtMax
}
searchesAggregate {
count
idMin
idMax
distanceMin
distanceMax
distanceSum
distanceAvg
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": TagFilter,
"order": TagOrder,
"first": 987,
"offset": 123
}
Response
{
"data": {
"queryTag": [
{
"id": 4,
"name": "abc123",
"users": [User],
"searchSets": [SearchSet],
"mergeSets": [MergeSet],
"matchSets": [MatchSet],
"searches": [Search],
"createdAt": "2007-12-03T10:15:30Z",
"usersAggregate": UserAggregateResult,
"searchSetsAggregate": SearchSetAggregateResult,
"mergeSetsAggregate": MergeSetAggregateResult,
"matchSetsAggregate": MatchSetAggregateResult,
"searchesAggregate": SearchAggregateResult
}
]
}
}
queryUser
Response
Returns [User]
Arguments
| Name | Description |
|---|---|
filter - UserFilter
|
|
order - UserOrder
|
|
first - Int!
|
|
offset - Int!
|
Example
Query
query QueryUser(
$filter: UserFilter,
$order: UserOrder,
$first: Int!,
$offset: Int!
) {
queryUser(
filter: $filter,
order: $order,
first: $first,
offset: $offset
) {
id
email
tags {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
tagsAggregate {
count
nameMin
nameMax
createdAtMin
createdAtMax
}
}
}
Variables
{
"filter": UserFilter,
"order": UserOrder,
"first": 987,
"offset": 987
}
Response
{
"data": {
"queryUser": [
{
"id": "abc123",
"email": "abc123",
"tags": [Tag],
"tagsAggregate": TagAggregateResult
}
]
}
}
Mutations
addDispatchDateTimeFilter
Response
Returns an AddDispatchDateTimeFilterPayload
Arguments
| Name | Description |
|---|---|
input - [AddDispatchDateTimeFilterInput!]!
|
Example
Query
mutation AddDispatchDateTimeFilter($input: [AddDispatchDateTimeFilterInput!]!) {
addDispatchDateTimeFilter(input: $input) {
dispatchDateTimeFilter {
eq
le
lt
ge
gt
in
between {
...DispatchDateTimeRangeFragment
}
}
numUids
}
}
Variables
{"input": [AddDispatchDateTimeFilterInput]}
Response
{
"data": {
"addDispatchDateTimeFilter": {
"dispatchDateTimeFilter": [DispatchDateTimeFilter],
"numUids": 987
}
}
}
addDispatchDateTimeRange
Response
Returns an AddDispatchDateTimeRangePayload
Arguments
| Name | Description |
|---|---|
input - [AddDispatchDateTimeRangeInput!]!
|
Example
Query
mutation AddDispatchDateTimeRange($input: [AddDispatchDateTimeRangeInput!]!) {
addDispatchDateTimeRange(input: $input) {
dispatchDateTimeRange {
min
max
}
numUids
}
}
Variables
{"input": [AddDispatchDateTimeRangeInput]}
Response
{
"data": {
"addDispatchDateTimeRange": {
"dispatchDateTimeRange": [DispatchDateTimeRange],
"numUids": 123
}
}
}
addMatch
Response
Returns an AddMatchPayload
Arguments
| Name | Description |
|---|---|
input - [AddMatchInput!]!
|
Example
Query
mutation AddMatch($input: [AddMatchInput!]!) {
addMatch(input: $input) {
match {
id
coverageSearch
coverageMatch
matchRatio
matchSet {
...MatchSetFragment
}
search {
...SearchFragment
}
createdAt
matchSetAggregate {
...MatchSetAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddMatchInput]}
Response
{"data": {"addMatch": {"match": [Match], "numUids": 123}}}
addMatchSet
Response
Returns an AddMatchSetPayload
Arguments
| Name | Description |
|---|---|
input - [AddMatchSetInput!]!
|
Example
Query
mutation AddMatchSet($input: [AddMatchSetInput!]!) {
addMatchSet(input: $input) {
matchSet {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddMatchSetInput]}
Response
{
"data": {
"addMatchSet": {
"matchSet": [MatchSet],
"numUids": 987
}
}
}
addMergeSet
Response
Returns an AddMergeSetPayload
Arguments
| Name | Description |
|---|---|
input - [AddMergeSetInput!]!
|
Example
Query
mutation AddMergeSet($input: [AddMergeSetInput!]!) {
addMergeSet(input: $input) {
mergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddMergeSetInput]}
Response
{
"data": {
"addMergeSet": {
"mergeSet": [MergeSet],
"numUids": 987
}
}
}
addPrediction
Response
Returns an AddPredictionPayload
Arguments
| Name | Description |
|---|---|
input - [AddPredictionInput!]!
|
Example
Query
mutation AddPrediction($input: [AddPredictionInput!]!) {
addPrediction(input: $input) {
prediction {
description
}
numUids
}
}
Variables
{"input": [AddPredictionInput]}
Response
{
"data": {
"addPrediction": {
"prediction": [Prediction],
"numUids": 123
}
}
}
addSearch
Response
Returns an AddSearchPayload
Arguments
| Name | Description |
|---|---|
input - [AddSearchInput!]!
|
|
upsert - Boolean
|
Example
Query
mutation AddSearch(
$input: [AddSearchInput!]!,
$upsert: Boolean
) {
addSearch(
input: $input,
upsert: $upsert
) {
search {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddSearchInput], "upsert": false}
Response
{
"data": {
"addSearch": {"search": [Search], "numUids": 123}
}
}
addSearchSet
Response
Returns an AddSearchSetPayload
Arguments
| Name | Description |
|---|---|
input - [AddSearchSetInput!]!
|
Example
Query
mutation AddSearchSet($input: [AddSearchSetInput!]!) {
addSearchSet(input: $input) {
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddSearchSetInput]}
Response
{
"data": {
"addSearchSet": {
"searchSet": [SearchSet],
"numUids": 987
}
}
}
addTag
Response
Returns an AddTagPayload
Arguments
| Name | Description |
|---|---|
input - [AddTagInput!]!
|
Example
Query
mutation AddTag($input: [AddTagInput!]!) {
addTag(input: $input) {
tag {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddTagInput]}
Response
{"data": {"addTag": {"tag": [Tag], "numUids": 987}}}
addUser
Response
Returns an AddUserPayload
Arguments
| Name | Description |
|---|---|
input - [AddUserInput!]!
|
|
upsert - Boolean
|
Example
Query
mutation AddUser(
$input: [AddUserInput!]!,
$upsert: Boolean
) {
addUser(
input: $input,
upsert: $upsert
) {
user {
id
email
tags {
...TagFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": [AddUserInput], "upsert": false}
Response
{"data": {"addUser": {"user": [User], "numUids": 987}}}
deleteDispatchDateTimeFilter
Response
Returns a DeleteDispatchDateTimeFilterPayload
Arguments
| Name | Description |
|---|---|
filter - DispatchDateTimeFilterFilter!
|
Example
Query
mutation DeleteDispatchDateTimeFilter($filter: DispatchDateTimeFilterFilter!) {
deleteDispatchDateTimeFilter(filter: $filter) {
dispatchDateTimeFilter {
eq
le
lt
ge
gt
in
between {
...DispatchDateTimeRangeFragment
}
}
msg
numUids
}
}
Variables
{"filter": DispatchDateTimeFilterFilter}
Response
{
"data": {
"deleteDispatchDateTimeFilter": {
"dispatchDateTimeFilter": [DispatchDateTimeFilter],
"msg": "xyz789",
"numUids": 123
}
}
}
deleteDispatchDateTimeRange
Response
Returns a DeleteDispatchDateTimeRangePayload
Arguments
| Name | Description |
|---|---|
filter - DispatchDateTimeRangeFilter!
|
Example
Query
mutation DeleteDispatchDateTimeRange($filter: DispatchDateTimeRangeFilter!) {
deleteDispatchDateTimeRange(filter: $filter) {
dispatchDateTimeRange {
min
max
}
msg
numUids
}
}
Variables
{"filter": DispatchDateTimeRangeFilter}
Response
{
"data": {
"deleteDispatchDateTimeRange": {
"dispatchDateTimeRange": [DispatchDateTimeRange],
"msg": "abc123",
"numUids": 123
}
}
}
deleteMatch
Response
Returns a DeleteMatchPayload
Arguments
| Name | Description |
|---|---|
filter - MatchFilter!
|
Example
Query
mutation DeleteMatch($filter: MatchFilter!) {
deleteMatch(filter: $filter) {
match {
id
coverageSearch
coverageMatch
matchRatio
matchSet {
...MatchSetFragment
}
search {
...SearchFragment
}
createdAt
matchSetAggregate {
...MatchSetAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": MatchFilter}
Response
{
"data": {
"deleteMatch": {
"match": [Match],
"msg": "xyz789",
"numUids": 123
}
}
}
deleteMatchSet
Response
Returns a DeleteMatchSetPayload
Arguments
| Name | Description |
|---|---|
filter - MatchSetFilter!
|
Example
Query
mutation DeleteMatchSet($filter: MatchSetFilter!) {
deleteMatchSet(filter: $filter) {
matchSet {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": MatchSetFilter}
Response
{
"data": {
"deleteMatchSet": {
"matchSet": [MatchSet],
"msg": "xyz789",
"numUids": 987
}
}
}
deleteMergeSet
Response
Returns a DeleteMergeSetPayload
Arguments
| Name | Description |
|---|---|
filter - MergeSetFilter!
|
Example
Query
mutation DeleteMergeSet($filter: MergeSetFilter!) {
deleteMergeSet(filter: $filter) {
mergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": MergeSetFilter}
Response
{
"data": {
"deleteMergeSet": {
"mergeSet": [MergeSet],
"msg": "abc123",
"numUids": 987
}
}
}
deletePrediction
Response
Returns a DeletePredictionPayload
Arguments
| Name | Description |
|---|---|
filter - PredictionFilter!
|
Example
Query
mutation DeletePrediction($filter: PredictionFilter!) {
deletePrediction(filter: $filter) {
prediction {
description
}
msg
numUids
}
}
Variables
{"filter": PredictionFilter}
Response
{
"data": {
"deletePrediction": {
"prediction": [Prediction],
"msg": "abc123",
"numUids": 123
}
}
}
deleteSearch
Response
Returns a DeleteSearchPayload
Arguments
| Name | Description |
|---|---|
filter - SearchFilter!
|
Example
Query
mutation DeleteSearch($filter: SearchFilter!) {
deleteSearch(filter: $filter) {
search {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": SearchFilter}
Response
{
"data": {
"deleteSearch": {
"search": [Search],
"msg": "abc123",
"numUids": 987
}
}
}
deleteSearchSet
Response
Returns a DeleteSearchSetPayload
Arguments
| Name | Description |
|---|---|
filter - SearchSetFilter!
|
Example
Query
mutation DeleteSearchSet($filter: SearchSetFilter!) {
deleteSearchSet(filter: $filter) {
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": SearchSetFilter}
Response
{
"data": {
"deleteSearchSet": {
"searchSet": [SearchSet],
"msg": "abc123",
"numUids": 987
}
}
}
deleteTag
Response
Returns a DeleteTagPayload
Arguments
| Name | Description |
|---|---|
filter - TagFilter!
|
Example
Query
mutation DeleteTag($filter: TagFilter!) {
deleteTag(filter: $filter) {
tag {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": TagFilter}
Response
{
"data": {
"deleteTag": {
"tag": [Tag],
"msg": "xyz789",
"numUids": 123
}
}
}
deleteUser
Response
Returns a DeleteUserPayload
Arguments
| Name | Description |
|---|---|
filter - UserFilter!
|
Example
Query
mutation DeleteUser($filter: UserFilter!) {
deleteUser(filter: $filter) {
user {
id
email
tags {
...TagFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
msg
numUids
}
}
Variables
{"filter": UserFilter}
Response
{
"data": {
"deleteUser": {
"user": [User],
"msg": "abc123",
"numUids": 123
}
}
}
updateDispatchDateTimeFilter
Response
Returns an UpdateDispatchDateTimeFilterPayload
Arguments
| Name | Description |
|---|---|
input - UpdateDispatchDateTimeFilterInput!
|
Example
Query
mutation UpdateDispatchDateTimeFilter($input: UpdateDispatchDateTimeFilterInput!) {
updateDispatchDateTimeFilter(input: $input) {
dispatchDateTimeFilter {
eq
le
lt
ge
gt
in
between {
...DispatchDateTimeRangeFragment
}
}
numUids
}
}
Variables
{"input": UpdateDispatchDateTimeFilterInput}
Response
{
"data": {
"updateDispatchDateTimeFilter": {
"dispatchDateTimeFilter": [DispatchDateTimeFilter],
"numUids": 987
}
}
}
updateDispatchDateTimeRange
Response
Returns an UpdateDispatchDateTimeRangePayload
Arguments
| Name | Description |
|---|---|
input - UpdateDispatchDateTimeRangeInput!
|
Example
Query
mutation UpdateDispatchDateTimeRange($input: UpdateDispatchDateTimeRangeInput!) {
updateDispatchDateTimeRange(input: $input) {
dispatchDateTimeRange {
min
max
}
numUids
}
}
Variables
{"input": UpdateDispatchDateTimeRangeInput}
Response
{
"data": {
"updateDispatchDateTimeRange": {
"dispatchDateTimeRange": [DispatchDateTimeRange],
"numUids": 987
}
}
}
updateMatchSet
Response
Returns an UpdateMatchSetPayload
Arguments
| Name | Description |
|---|---|
input - UpdateMatchSetInput!
|
Example
Query
mutation UpdateMatchSet($input: UpdateMatchSetInput!) {
updateMatchSet(input: $input) {
matchSet {
id
search {
...SearchFragment
}
tags {
...TagFragment
}
matches {
...MatchFragment
}
minCoverageSearch
minCoverageMatch
matchFactor
createdAt
state
dispatchDateTime {
...DispatchDateTimeFilterFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchesAggregate {
...MatchAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": UpdateMatchSetInput}
Response
{
"data": {
"updateMatchSet": {
"matchSet": [MatchSet],
"numUids": 987
}
}
}
updateMergeSet
Response
Returns an UpdateMergeSetPayload
Arguments
| Name | Description |
|---|---|
input - UpdateMergeSetInput!
|
Example
Query
mutation UpdateMergeSet($input: UpdateMergeSetInput!) {
updateMergeSet(input: $input) {
mergeSet {
id
tags {
...TagFragment
}
baseSearchSet {
...SearchSetFragment
}
mergeSearchSet {
...SearchSetFragment
}
searchSet {
...SearchSetFragment
}
createdAt
savedDistance
state
tagsAggregate {
...TagAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": UpdateMergeSetInput}
Response
{
"data": {
"updateMergeSet": {
"mergeSet": [MergeSet],
"numUids": 123
}
}
}
updatePrediction
Response
Returns an UpdatePredictionPayload
Arguments
| Name | Description |
|---|---|
input - UpdatePredictionInput!
|
Example
Query
mutation UpdatePrediction($input: UpdatePredictionInput!) {
updatePrediction(input: $input) {
prediction {
description
}
numUids
}
}
Variables
{"input": UpdatePredictionInput}
Response
{
"data": {
"updatePrediction": {
"prediction": [Prediction],
"numUids": 987
}
}
}
updateSearch
Response
Returns an UpdateSearchPayload
Arguments
| Name | Description |
|---|---|
input - UpdateSearchInput!
|
Example
Query
mutation UpdateSearch($input: UpdateSearchInput!) {
updateSearch(input: $input) {
search {
id
searchSet {
...SearchSetFragment
}
startPoint {
...PointFragment
}
destinationPoint {
...PointFragment
}
waypoints {
...WaypointFragment
}
polygonLine {
...PolygonFragment
}
active
distance
lineString {
...PolygonFragment
}
createdAt
tags {
...TagFragment
}
matchSets {
...MatchSetFragment
}
waypointsAggregate {
...WaypointAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": UpdateSearchInput}
Response
{
"data": {
"updateSearch": {"search": [Search], "numUids": 123}
}
}
updateSearchSet
Response
Returns an UpdateSearchSetPayload
Arguments
| Name | Description |
|---|---|
input - UpdateSearchSetInput!
|
Example
Query
mutation UpdateSearchSet($input: UpdateSearchSetInput!) {
updateSearchSet(input: $input) {
searchSet {
id
searches {
...SearchFragment
}
tags {
...TagFragment
}
start
destination
baseMergeSet {
...MergeSetFragment
}
mergeMergeSet {
...MergeSetFragment
}
mergeSet {
...MergeSetFragment
}
active
createdAt
state
dispatchDateTime
searchesAggregate {
...SearchAggregateResultFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": UpdateSearchSetInput}
Response
{
"data": {
"updateSearchSet": {
"searchSet": [SearchSet],
"numUids": 123
}
}
}
updateTag
Response
Returns an UpdateTagPayload
Arguments
| Name | Description |
|---|---|
input - UpdateTagInput!
|
Example
Query
mutation UpdateTag($input: UpdateTagInput!) {
updateTag(input: $input) {
tag {
id
name
users {
...UserFragment
}
searchSets {
...SearchSetFragment
}
mergeSets {
...MergeSetFragment
}
matchSets {
...MatchSetFragment
}
searches {
...SearchFragment
}
createdAt
usersAggregate {
...UserAggregateResultFragment
}
searchSetsAggregate {
...SearchSetAggregateResultFragment
}
mergeSetsAggregate {
...MergeSetAggregateResultFragment
}
matchSetsAggregate {
...MatchSetAggregateResultFragment
}
searchesAggregate {
...SearchAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": UpdateTagInput}
Response
{"data": {"updateTag": {"tag": [Tag], "numUids": 123}}}
updateUser
Response
Returns an UpdateUserPayload
Arguments
| Name | Description |
|---|---|
input - UpdateUserInput!
|
Example
Query
mutation UpdateUser($input: UpdateUserInput!) {
updateUser(input: $input) {
user {
id
email
tags {
...TagFragment
}
tagsAggregate {
...TagAggregateResultFragment
}
}
numUids
}
}
Variables
{"input": UpdateUserInput}
Response
{"data": {"updateUser": {"user": [User], "numUids": 987}}}
Types
AddDispatchDateTimeFilterInput
Fields
| Input Field | Description |
|---|---|
eq - DateTime
|
Equal to dispatchTime. |
le - DateTime
|
Less than or equal to dispatchTime. |
lt - DateTime
|
Less than dispatchTime. |
ge - DateTime
|
Greater than or equal to dispatchTime. |
gt - DateTime
|
Greater than dispatchTime. |
in - [DateTime!]
|
DispatchTime is in the provided list. |
between - DispatchDateTimeRangeRef
|
Example
{
"eq": "2007-12-03T10:15:30Z",
"le": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"ge": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"between": DispatchDateTimeRangeRef
}
AddDispatchDateTimeFilterPayload
Fields
| Field Name | Description |
|---|---|
dispatchDateTimeFilter - [DispatchDateTimeFilter]
|
|
Arguments
|
|
numUids - Int
|
|
Example
{
"dispatchDateTimeFilter": [DispatchDateTimeFilter],
"numUids": 987
}
AddDispatchDateTimeRangeInput
AddDispatchDateTimeRangePayload
Fields
| Field Name | Description |
|---|---|
dispatchDateTimeRange - [DispatchDateTimeRange]
|
|
Arguments |
|
numUids - Int
|
|
Example
{
"dispatchDateTimeRange": [DispatchDateTimeRange],
"numUids": 123
}
AddMatchInput
Fields
| Input Field | Description |
|---|---|
coverageSearch - Float!
|
Coverage of the search route in the match. |
coverageMatch - Float!
|
Coverage of the match route in the match. |
matchRatio - Float!
|
Ratio of the match. |
matchSet - [MatchSetRef!]
|
|
search - SearchRef!
|
|
createdAt - DateTime!
|
Timestamp when the Match was created. |
Example
{
"coverageSearch": 987.65,
"coverageMatch": 123.45,
"matchRatio": 123.45,
"matchSet": [MatchSetRef],
"search": SearchRef,
"createdAt": "2007-12-03T10:15:30Z"
}
AddMatchPayload
AddMatchSetInput
Fields
| Input Field | Description |
|---|---|
search - SearchRef!
|
|
tags - [TagRef!]!
|
|
matches - [MatchRef!]
|
|
minCoverageSearch - Float
|
Minimum coverage of the search route required for a match to be considered valid. |
minCoverageMatch - Float
|
Minimum coverage of the match route required for a match to be considered valid. |
matchFactor - Float!
|
Minimum match ratio required for a match to be considered valid. This is used to avoid comparing long routes with short routes. |
createdAt - DateTime!
|
Timestamp when the MatchSet was created. |
state - State!
|
Current processing state of the MatchSet. This state gets updated as the MatchSet moves through different stages of processing. This field helps track the progress and status of the MatchSet. |
dispatchDateTime - DispatchDateTimeFilterRef
|
Example
{
"search": SearchRef,
"tags": [TagRef],
"matches": [MatchRef],
"minCoverageSearch": 987.65,
"minCoverageMatch": 987.65,
"matchFactor": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": DispatchDateTimeFilterRef
}
AddMatchSetPayload
Fields
| Field Name | Description |
|---|---|
matchSet - [MatchSet]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"matchSet": [MatchSet], "numUids": 123}
AddMergeSetInput
Fields
| Input Field | Description |
|---|---|
tags - [TagRef!]!
|
|
baseSearchSet - SearchSetRef!
|
|
mergeSearchSet - SearchSetRef!
|
|
searchSet - SearchSetRef
|
|
createdAt - DateTime!
|
Timestamp when the MergeSet was created. |
savedDistance - Float!
|
The distance saved by merging the SearchSets. |
state - State!
|
Current processing state of the MergeSet. This state gets updated as the MergeSet moves through different stages of processing. This field helps track the progress and status of the MergeSet. |
Example
{
"tags": [TagRef],
"baseSearchSet": SearchSetRef,
"mergeSearchSet": SearchSetRef,
"searchSet": SearchSetRef,
"createdAt": "2007-12-03T10:15:30Z",
"savedDistance": 987.65,
"state": "NEW"
}
AddMergeSetPayload
Fields
| Field Name | Description |
|---|---|
mergeSet - [MergeSet]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"mergeSet": [MergeSet], "numUids": 987}
AddPredictionInput
Fields
| Input Field | Description |
|---|---|
description - String!
|
Example
{"description": "xyz789"}
AddPredictionPayload
Fields
| Field Name | Description |
|---|---|
prediction - [Prediction]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"prediction": [Prediction], "numUids": 987}
AddSearchInput
Fields
| Input Field | Description |
|---|---|
id - String!
|
A unique identifier for the Search. This is typically a UUID. |
searchSet - SearchSetRef!
|
|
startPoint - PointRef!
|
|
destinationPoint - PointRef!
|
|
waypoints - [WaypointRef]
|
|
polygonLine - PolygonRef!
|
|
active - Boolean!
|
Indicates whether the search is currently active. |
distance - Float!
|
The total distance covered in the search route. |
lineString - PolygonRef!
|
|
createdAt - DateTime!
|
The timestamp when the search was created. |
tags - [TagRef!]!
|
|
matchSets - [MatchSetRef!]
|
Example
{
"id": "xyz789",
"searchSet": SearchSetRef,
"startPoint": PointRef,
"destinationPoint": PointRef,
"waypoints": [WaypointRef],
"polygonLine": PolygonRef,
"active": true,
"distance": 123.45,
"lineString": PolygonRef,
"createdAt": "2007-12-03T10:15:30Z",
"tags": [TagRef],
"matchSets": [MatchSetRef]
}
AddSearchPayload
AddSearchSetInput
Fields
| Input Field | Description |
|---|---|
searches - [SearchRef!]
|
|
tags - [TagRef!]!
|
|
start - String!
|
Starting location for the SearchSet. |
destination - String!
|
Destination location for the SearchSet. |
baseMergeSet - MergeSetRef
|
|
mergeMergeSet - MergeSetRef
|
|
mergeSet - MergeSetRef
|
|
active - Boolean!
|
Indicates whether the SearchSet is currently active. |
createdAt - DateTime!
|
Timestamp when the SearchSet was created. |
state - State!
|
Current processing state of the SearchSet. This state gets updated as the SearchSet moves through different stages of processing. This field helps track the progress and status of the SearchSet. |
dispatchDateTime - DateTime
|
Dispatch date time for the searches in the SearchSet. |
Example
{
"searches": [SearchRef],
"tags": [TagRef],
"start": "xyz789",
"destination": "abc123",
"baseMergeSet": MergeSetRef,
"mergeMergeSet": MergeSetRef,
"mergeSet": MergeSetRef,
"active": true,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": "2007-12-03T10:15:30Z"
}
AddSearchSetPayload
Fields
| Field Name | Description |
|---|---|
searchSet - [SearchSet]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"searchSet": [SearchSet], "numUids": 123}
AddTagInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
Name of the tag. |
users - [UserRef!]!
|
|
searchSets - [SearchSetRef]
|
|
mergeSets - [MergeSetRef]
|
|
matchSets - [MatchSetRef]
|
|
searches - [SearchRef!]
|
|
createdAt - DateTime!
|
Timestamp when the tag was created. |
Example
{
"name": "xyz789",
"users": [UserRef],
"searchSets": [SearchSetRef],
"mergeSets": [MergeSetRef],
"matchSets": [MatchSetRef],
"searches": [SearchRef],
"createdAt": "2007-12-03T10:15:30Z"
}
AddTagPayload
AddUserInput
AddUserPayload
AuthRule
Fields
| Input Field | Description |
|---|---|
and - [AuthRule]
|
|
or - [AuthRule]
|
|
not - AuthRule
|
|
rule - String
|
Example
{
"and": [AuthRule],
"or": [AuthRule],
"not": AuthRule,
"rule": "abc123"
}
Boolean
Description
The Boolean scalar type represents true or false.
Example
true
ContainsFilter
Fields
| Input Field | Description |
|---|---|
point - PointRef
|
|
polygon - PolygonRef
|
Example
{
"point": PointRef,
"polygon": PolygonRef
}
CustomHTTP
Example
{
"url": "abc123",
"method": "GET",
"body": "abc123",
"graphql": "xyz789",
"mode": "BATCH",
"forwardHeaders": ["abc123"],
"secretHeaders": ["abc123"],
"introspectionHeaders": ["xyz789"],
"skipIntrospection": false
}
DateTime
Description
The DateTime scalar type represents date and time as a string in RFC3339 format. For example: "1985-04-12T23:20:50.52Z" represents 20 mins 50.52 secs after the 23rd hour of Apr 12th 1985 in UTC.
Example
"2007-12-03T10:15:30Z"
DateTimeFilter
Fields
| Input Field | Description |
|---|---|
eq - DateTime
|
|
in - [DateTime]
|
|
le - DateTime
|
|
lt - DateTime
|
|
ge - DateTime
|
|
gt - DateTime
|
|
between - DateTimeRange
|
Example
{
"eq": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"le": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"ge": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"between": DateTimeRange
}
DateTimeRange
DeleteDispatchDateTimeFilterPayload
Fields
| Field Name | Description |
|---|---|
dispatchDateTimeFilter - [DispatchDateTimeFilter]
|
|
Arguments
|
|
msg - String
|
|
numUids - Int
|
|
Example
{
"dispatchDateTimeFilter": [DispatchDateTimeFilter],
"msg": "xyz789",
"numUids": 123
}
DeleteDispatchDateTimeRangePayload
Fields
| Field Name | Description |
|---|---|
dispatchDateTimeRange - [DispatchDateTimeRange]
|
|
Arguments |
|
msg - String
|
|
numUids - Int
|
|
Example
{
"dispatchDateTimeRange": [DispatchDateTimeRange],
"msg": "abc123",
"numUids": 123
}
DeleteMatchPayload
DeleteMatchSetPayload
Fields
| Field Name | Description |
|---|---|
matchSet - [MatchSet]
|
|
Arguments |
|
msg - String
|
|
numUids - Int
|
|
Example
{
"matchSet": [MatchSet],
"msg": "xyz789",
"numUids": 123
}
DeleteMergeSetPayload
Fields
| Field Name | Description |
|---|---|
mergeSet - [MergeSet]
|
|
Arguments |
|
msg - String
|
|
numUids - Int
|
|
Example
{
"mergeSet": [MergeSet],
"msg": "abc123",
"numUids": 987
}
DeletePredictionPayload
Fields
| Field Name | Description |
|---|---|
prediction - [Prediction]
|
|
Arguments |
|
msg - String
|
|
numUids - Int
|
|
Example
{
"prediction": [Prediction],
"msg": "abc123",
"numUids": 123
}
DeleteSearchPayload
DeleteSearchSetPayload
Fields
| Field Name | Description |
|---|---|
searchSet - [SearchSet]
|
|
Arguments |
|
msg - String
|
|
numUids - Int
|
|
Example
{
"searchSet": [SearchSet],
"msg": "xyz789",
"numUids": 987
}
DeleteTagPayload
DeleteUserPayload
DispatchDateTimeFilter
Description
Filter for SearchSets based on dispatchTime.
Fields
| Field Name | Description |
|---|---|
eq - DateTime
|
Equal to dispatchTime. |
le - DateTime
|
Less than or equal to dispatchTime. |
lt - DateTime
|
Less than dispatchTime. |
ge - DateTime
|
Greater than or equal to dispatchTime. |
gt - DateTime
|
Greater than dispatchTime. |
in - [DateTime!]
|
DispatchTime is in the provided list. |
between - DispatchDateTimeRange
|
DispatchTime is in the provided range. |
Arguments
|
|
Example
{
"eq": "2007-12-03T10:15:30Z",
"le": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"ge": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"between": DispatchDateTimeRange
}
DispatchDateTimeFilterAggregateResult
Example
{
"count": 123,
"eqMin": "2007-12-03T10:15:30Z",
"eqMax": "2007-12-03T10:15:30Z",
"leMin": "2007-12-03T10:15:30Z",
"leMax": "2007-12-03T10:15:30Z",
"ltMin": "2007-12-03T10:15:30Z",
"ltMax": "2007-12-03T10:15:30Z",
"geMin": "2007-12-03T10:15:30Z",
"geMax": "2007-12-03T10:15:30Z",
"gtMin": "2007-12-03T10:15:30Z",
"gtMax": "2007-12-03T10:15:30Z"
}
DispatchDateTimeFilterFilter
Fields
| Input Field | Description |
|---|---|
has - [DispatchDateTimeFilterHasFilter]
|
|
and - [DispatchDateTimeFilterFilter]
|
|
or - [DispatchDateTimeFilterFilter]
|
|
not - DispatchDateTimeFilterFilter
|
Example
{
"has": ["eq"],
"and": [DispatchDateTimeFilterFilter],
"or": [DispatchDateTimeFilterFilter],
"not": DispatchDateTimeFilterFilter
}
DispatchDateTimeFilterHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"eq"
DispatchDateTimeFilterOrder
Fields
| Input Field | Description |
|---|---|
asc - DispatchDateTimeFilterOrderable
|
|
desc - DispatchDateTimeFilterOrderable
|
|
then - DispatchDateTimeFilterOrder
|
Example
{
"asc": "eq",
"desc": "eq",
"then": DispatchDateTimeFilterOrder
}
DispatchDateTimeFilterOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"eq"
DispatchDateTimeFilterPatch
Fields
| Input Field | Description |
|---|---|
eq - DateTime
|
Equal to dispatchTime. |
le - DateTime
|
Less than or equal to dispatchTime. |
lt - DateTime
|
Less than dispatchTime. |
ge - DateTime
|
Greater than or equal to dispatchTime. |
gt - DateTime
|
Greater than dispatchTime. |
in - [DateTime!]
|
DispatchTime is in the provided list. |
between - DispatchDateTimeRangeRef
|
Example
{
"eq": "2007-12-03T10:15:30Z",
"le": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"ge": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"between": DispatchDateTimeRangeRef
}
DispatchDateTimeFilterRef
Fields
| Input Field | Description |
|---|---|
eq - DateTime
|
Equal to dispatchTime. |
le - DateTime
|
Less than or equal to dispatchTime. |
lt - DateTime
|
Less than dispatchTime. |
ge - DateTime
|
Greater than or equal to dispatchTime. |
gt - DateTime
|
Greater than dispatchTime. |
in - [DateTime!]
|
DispatchTime is in the provided list. |
between - DispatchDateTimeRangeRef
|
Example
{
"eq": "2007-12-03T10:15:30Z",
"le": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"ge": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"between": DispatchDateTimeRangeRef
}
DispatchDateTimeRange
DispatchDateTimeRangeAggregateResult
DispatchDateTimeRangeFilter
Fields
| Input Field | Description |
|---|---|
has - [DispatchDateTimeRangeHasFilter]
|
|
and - [DispatchDateTimeRangeFilter]
|
|
or - [DispatchDateTimeRangeFilter]
|
|
not - DispatchDateTimeRangeFilter
|
Example
{
"has": ["min"],
"and": [DispatchDateTimeRangeFilter],
"or": [DispatchDateTimeRangeFilter],
"not": DispatchDateTimeRangeFilter
}
DispatchDateTimeRangeHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"min"
DispatchDateTimeRangeOrder
Fields
| Input Field | Description |
|---|---|
asc - DispatchDateTimeRangeOrderable
|
|
desc - DispatchDateTimeRangeOrderable
|
|
then - DispatchDateTimeRangeOrder
|
Example
{
"asc": "min",
"desc": "min",
"then": DispatchDateTimeRangeOrder
}
DispatchDateTimeRangeOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"min"
DispatchDateTimeRangePatch
DispatchDateTimeRangeRef
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
123.45
FloatFilter
FloatRange
GenerateMutationParams
GenerateQueryParams
HTTPMethod
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"GET"
ID
Description
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
4
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
IntersectsFilter
Fields
| Input Field | Description |
|---|---|
polygon - PolygonRef
|
|
multiPolygon - MultiPolygonRef
|
Example
{
"polygon": PolygonRef,
"multiPolygon": MultiPolygonRef
}
Match
Description
Match represents a single match result within a MatchSet, containing details about the coverage and ratio of the match.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the Match. |
coverageSearch - Float!
|
Coverage of the search route in the match. |
coverageMatch - Float!
|
Coverage of the match route in the match. |
matchRatio - Float!
|
Ratio of the match. |
matchSet - [MatchSet!]
|
The MatchSet to which this Match belongs. |
Arguments |
|
search - Search!
|
The Search associated with this Match. |
Arguments
|
|
createdAt - DateTime!
|
Timestamp when the Match was created. |
matchSetAggregate - MatchSetAggregateResult
|
|
Arguments
|
|
Example
{
"id": 4,
"coverageSearch": 123.45,
"coverageMatch": 987.65,
"matchRatio": 123.45,
"matchSet": [MatchSet],
"search": Search,
"createdAt": "2007-12-03T10:15:30Z",
"matchSetAggregate": MatchSetAggregateResult
}
MatchAggregateResult
Fields
| Field Name | Description |
|---|---|
count - Int
|
|
coverageSearchMin - Float
|
|
coverageSearchMax - Float
|
|
coverageSearchSum - Float
|
|
coverageSearchAvg - Float
|
|
coverageMatchMin - Float
|
|
coverageMatchMax - Float
|
|
coverageMatchSum - Float
|
|
coverageMatchAvg - Float
|
|
matchRatioMin - Float
|
|
matchRatioMax - Float
|
|
matchRatioSum - Float
|
|
matchRatioAvg - Float
|
|
createdAtMin - DateTime
|
|
createdAtMax - DateTime
|
Example
{
"count": 123,
"coverageSearchMin": 123.45,
"coverageSearchMax": 987.65,
"coverageSearchSum": 987.65,
"coverageSearchAvg": 987.65,
"coverageMatchMin": 123.45,
"coverageMatchMax": 123.45,
"coverageMatchSum": 123.45,
"coverageMatchAvg": 987.65,
"matchRatioMin": 987.65,
"matchRatioMax": 123.45,
"matchRatioSum": 123.45,
"matchRatioAvg": 123.45,
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z"
}
MatchFilter
Fields
| Input Field | Description |
|---|---|
id - [ID!]
|
|
coverageSearch - FloatFilter
|
|
coverageMatch - FloatFilter
|
|
matchRatio - FloatFilter
|
|
createdAt - DateTimeFilter
|
|
has - [MatchHasFilter]
|
|
and - [MatchFilter]
|
|
or - [MatchFilter]
|
|
not - MatchFilter
|
Example
{
"id": ["4"],
"coverageSearch": FloatFilter,
"coverageMatch": FloatFilter,
"matchRatio": FloatFilter,
"createdAt": DateTimeFilter,
"has": ["coverageSearch"],
"and": [MatchFilter],
"or": [MatchFilter],
"not": MatchFilter
}
MatchHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"coverageSearch"
MatchOrder
Fields
| Input Field | Description |
|---|---|
asc - MatchOrderable
|
|
desc - MatchOrderable
|
|
then - MatchOrder
|
Example
{
"asc": "coverageSearch",
"desc": "coverageSearch",
"then": MatchOrder
}
MatchOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"coverageSearch"
MatchRef
Fields
| Input Field | Description |
|---|---|
id - ID
|
Unique identifier for the Match. |
coverageSearch - Float
|
Coverage of the search route in the match. |
coverageMatch - Float
|
Coverage of the match route in the match. |
matchRatio - Float
|
Ratio of the match. |
matchSet - [MatchSetRef!]
|
|
search - SearchRef
|
|
createdAt - DateTime
|
Timestamp when the Match was created. |
Example
{
"id": 4,
"coverageSearch": 123.45,
"coverageMatch": 987.65,
"matchRatio": 987.65,
"matchSet": [MatchSetRef],
"search": SearchRef,
"createdAt": "2007-12-03T10:15:30Z"
}
MatchSet
Description
A set of matches resulting from filtering SearchSets.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the MatchSet. |
search - Search!
|
The Search associated with this MatchSet. |
Arguments
|
|
tags - [Tag!]!
|
Tags associated with this MatchSet. |
matches - [Match!]
|
Matches that are part of this MatchSet. These matches represent the filtered results based on specific criteria applied to the associated Search. |
Arguments |
|
minCoverageSearch - Float
|
Minimum coverage of the search route required for a match to be considered valid. |
minCoverageMatch - Float
|
Minimum coverage of the match route required for a match to be considered valid. |
matchFactor - Float!
|
Minimum match ratio required for a match to be considered valid. This is used to avoid comparing long routes with short routes. |
createdAt - DateTime!
|
Timestamp when the MatchSet was created. |
state - State!
|
Current processing state of the MatchSet. This state gets updated as the MatchSet moves through different stages of processing. This field helps track the progress and status of the MatchSet. |
dispatchDateTime - DispatchDateTimeFilter
|
Date filter to apply when considering matches based on their dispatch date time. |
Arguments
|
|
tagsAggregate - TagAggregateResult
|
|
Arguments
|
|
matchesAggregate - MatchAggregateResult
|
|
Arguments
|
|
Example
{
"id": "4",
"search": Search,
"tags": [Tag],
"matches": [Match],
"minCoverageSearch": 123.45,
"minCoverageMatch": 987.65,
"matchFactor": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": DispatchDateTimeFilter,
"tagsAggregate": TagAggregateResult,
"matchesAggregate": MatchAggregateResult
}
MatchSetAggregateResult
Fields
| Field Name | Description |
|---|---|
count - Int
|
|
minCoverageSearchMin - Float
|
|
minCoverageSearchMax - Float
|
|
minCoverageSearchSum - Float
|
|
minCoverageSearchAvg - Float
|
|
minCoverageMatchMin - Float
|
|
minCoverageMatchMax - Float
|
|
minCoverageMatchSum - Float
|
|
minCoverageMatchAvg - Float
|
|
matchFactorMin - Float
|
|
matchFactorMax - Float
|
|
matchFactorSum - Float
|
|
matchFactorAvg - Float
|
|
createdAtMin - DateTime
|
|
createdAtMax - DateTime
|
Example
{
"count": 123,
"minCoverageSearchMin": 987.65,
"minCoverageSearchMax": 123.45,
"minCoverageSearchSum": 987.65,
"minCoverageSearchAvg": 123.45,
"minCoverageMatchMin": 123.45,
"minCoverageMatchMax": 987.65,
"minCoverageMatchSum": 123.45,
"minCoverageMatchAvg": 123.45,
"matchFactorMin": 987.65,
"matchFactorMax": 987.65,
"matchFactorSum": 123.45,
"matchFactorAvg": 123.45,
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z"
}
MatchSetFilter
Fields
| Input Field | Description |
|---|---|
id - [ID!]
|
|
createdAt - DateTimeFilter
|
|
state - State_hash
|
|
has - [MatchSetHasFilter]
|
|
and - [MatchSetFilter]
|
|
or - [MatchSetFilter]
|
|
not - MatchSetFilter
|
Example
{
"id": ["4"],
"createdAt": DateTimeFilter,
"state": State_hash,
"has": ["search"],
"and": [MatchSetFilter],
"or": [MatchSetFilter],
"not": MatchSetFilter
}
MatchSetHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"search"
MatchSetOrder
Fields
| Input Field | Description |
|---|---|
asc - MatchSetOrderable
|
|
desc - MatchSetOrderable
|
|
then - MatchSetOrder
|
Example
{
"asc": "minCoverageSearch",
"desc": "minCoverageSearch",
"then": MatchSetOrder
}
MatchSetOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"minCoverageSearch"
MatchSetPatch
Fields
| Input Field | Description |
|---|---|
search - SearchRef
|
|
tags - [TagRef!]
|
|
matches - [MatchRef!]
|
|
minCoverageSearch - Float
|
Minimum coverage of the search route required for a match to be considered valid. |
minCoverageMatch - Float
|
Minimum coverage of the match route required for a match to be considered valid. |
matchFactor - Float
|
Minimum match ratio required for a match to be considered valid. This is used to avoid comparing long routes with short routes. |
createdAt - DateTime
|
Timestamp when the MatchSet was created. |
state - State
|
Current processing state of the MatchSet. This state gets updated as the MatchSet moves through different stages of processing. This field helps track the progress and status of the MatchSet. |
dispatchDateTime - DispatchDateTimeFilterRef
|
Example
{
"search": SearchRef,
"tags": [TagRef],
"matches": [MatchRef],
"minCoverageSearch": 987.65,
"minCoverageMatch": 987.65,
"matchFactor": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": DispatchDateTimeFilterRef
}
MatchSetRef
Fields
| Input Field | Description |
|---|---|
id - ID
|
Unique identifier for the MatchSet. |
search - SearchRef
|
|
tags - [TagRef!]
|
|
matches - [MatchRef!]
|
|
minCoverageSearch - Float
|
Minimum coverage of the search route required for a match to be considered valid. |
minCoverageMatch - Float
|
Minimum coverage of the match route required for a match to be considered valid. |
matchFactor - Float
|
Minimum match ratio required for a match to be considered valid. This is used to avoid comparing long routes with short routes. |
createdAt - DateTime
|
Timestamp when the MatchSet was created. |
state - State
|
Current processing state of the MatchSet. This state gets updated as the MatchSet moves through different stages of processing. This field helps track the progress and status of the MatchSet. |
dispatchDateTime - DispatchDateTimeFilterRef
|
Example
{
"id": "4",
"search": SearchRef,
"tags": [TagRef],
"matches": [MatchRef],
"minCoverageSearch": 987.65,
"minCoverageMatch": 987.65,
"matchFactor": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": DispatchDateTimeFilterRef
}
MergeSet
Description
A set of merged searches, combining multiple SearchSets into one.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the MergeSet. |
tags - [Tag!]!
|
Tags associated with this MergeSet. |
baseSearchSet - SearchSet!
|
SearchSet which got used as base for MergeSet. |
Arguments
|
|
mergeSearchSet - SearchSet!
|
SearchSet which got merged with base in MergeSet. |
Arguments
|
|
searchSet - SearchSet
|
The SearchSet resulting from the merge of baseSearchSet and mergeSearchSet. |
Arguments
|
|
createdAt - DateTime!
|
Timestamp when the MergeSet was created. |
savedDistance - Float!
|
The distance saved by merging the SearchSets. |
state - State!
|
Current processing state of the MergeSet. This state gets updated as the MergeSet moves through different stages of processing. This field helps track the progress and status of the MergeSet. |
tagsAggregate - TagAggregateResult
|
|
Arguments
|
|
Example
{
"id": 4,
"tags": [Tag],
"baseSearchSet": SearchSet,
"mergeSearchSet": SearchSet,
"searchSet": SearchSet,
"createdAt": "2007-12-03T10:15:30Z",
"savedDistance": 987.65,
"state": "NEW",
"tagsAggregate": TagAggregateResult
}
MergeSetAggregateResult
Example
{
"count": 123,
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z",
"savedDistanceMin": 987.65,
"savedDistanceMax": 123.45,
"savedDistanceSum": 123.45,
"savedDistanceAvg": 987.65
}
MergeSetFilter
Fields
| Input Field | Description |
|---|---|
id - [ID!]
|
|
createdAt - DateTimeFilter
|
|
state - State_hash
|
|
has - [MergeSetHasFilter]
|
|
and - [MergeSetFilter]
|
|
or - [MergeSetFilter]
|
|
not - MergeSetFilter
|
Example
{
"id": ["4"],
"createdAt": DateTimeFilter,
"state": State_hash,
"has": ["tags"],
"and": [MergeSetFilter],
"or": [MergeSetFilter],
"not": MergeSetFilter
}
MergeSetHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"tags"
MergeSetOrder
Fields
| Input Field | Description |
|---|---|
asc - MergeSetOrderable
|
|
desc - MergeSetOrderable
|
|
then - MergeSetOrder
|
Example
{
"asc": "createdAt",
"desc": "createdAt",
"then": MergeSetOrder
}
MergeSetOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"createdAt"
MergeSetPatch
Fields
| Input Field | Description |
|---|---|
tags - [TagRef!]
|
|
baseSearchSet - SearchSetRef
|
|
mergeSearchSet - SearchSetRef
|
|
searchSet - SearchSetRef
|
|
createdAt - DateTime
|
Timestamp when the MergeSet was created. |
savedDistance - Float
|
The distance saved by merging the SearchSets. |
state - State
|
Current processing state of the MergeSet. This state gets updated as the MergeSet moves through different stages of processing. This field helps track the progress and status of the MergeSet. |
Example
{
"tags": [TagRef],
"baseSearchSet": SearchSetRef,
"mergeSearchSet": SearchSetRef,
"searchSet": SearchSetRef,
"createdAt": "2007-12-03T10:15:30Z",
"savedDistance": 987.65,
"state": "NEW"
}
MergeSetRef
Fields
| Input Field | Description |
|---|---|
id - ID
|
Unique identifier for the MergeSet. |
tags - [TagRef!]
|
|
baseSearchSet - SearchSetRef
|
|
mergeSearchSet - SearchSetRef
|
|
searchSet - SearchSetRef
|
|
createdAt - DateTime
|
Timestamp when the MergeSet was created. |
savedDistance - Float
|
The distance saved by merging the SearchSets. |
state - State
|
Current processing state of the MergeSet. This state gets updated as the MergeSet moves through different stages of processing. This field helps track the progress and status of the MergeSet. |
Example
{
"id": 4,
"tags": [TagRef],
"baseSearchSet": SearchSetRef,
"mergeSearchSet": SearchSetRef,
"searchSet": SearchSetRef,
"createdAt": "2007-12-03T10:15:30Z",
"savedDistance": 123.45,
"state": "NEW"
}
Mode
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"BATCH"
MultiPolygonRef
Fields
| Input Field | Description |
|---|---|
polygons - [PolygonRef!]!
|
Example
{"polygons": [PolygonRef]}
NearFilter
Point
PointGeoFilter
Fields
| Input Field | Description |
|---|---|
near - NearFilter
|
|
within - WithinFilter
|
Example
{
"near": NearFilter,
"within": WithinFilter
}
PointList
Fields
| Field Name | Description |
|---|---|
points - [Point!]!
|
Example
{"points": [Point]}
PointListRef
Fields
| Input Field | Description |
|---|---|
points - [PointRef!]!
|
Example
{"points": [PointRef]}
PointRef
Polygon
Fields
| Field Name | Description |
|---|---|
coordinates - [PointList!]!
|
Example
{"coordinates": [PointList]}
PolygonGeoFilter
Fields
| Input Field | Description |
|---|---|
near - NearFilter
|
|
within - WithinFilter
|
|
contains - ContainsFilter
|
|
intersects - IntersectsFilter
|
Example
{
"near": NearFilter,
"within": WithinFilter,
"contains": ContainsFilter,
"intersects": IntersectsFilter
}
PolygonRef
Fields
| Input Field | Description |
|---|---|
coordinates - [PointListRef!]!
|
Example
{"coordinates": [PointListRef]}
Prediction
Description
A place prediction returned from Google Places API.
Fields
| Field Name | Description |
|---|---|
description - String!
|
Example
{"description": "xyz789"}
PredictionAggregateResult
PredictionFilter
Fields
| Input Field | Description |
|---|---|
has - [PredictionHasFilter]
|
|
and - [PredictionFilter]
|
|
or - [PredictionFilter]
|
|
not - PredictionFilter
|
Example
{
"has": ["description"],
"and": [PredictionFilter],
"or": [PredictionFilter],
"not": PredictionFilter
}
PredictionHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
Example
"description"
PredictionOrder
Fields
| Input Field | Description |
|---|---|
asc - PredictionOrderable
|
|
desc - PredictionOrderable
|
|
then - PredictionOrder
|
Example
{
"asc": "description",
"desc": "description",
"then": PredictionOrder
}
PredictionOrderable
Values
| Enum Value | Description |
|---|---|
|
|
Example
"description"
PredictionPatch
Fields
| Input Field | Description |
|---|---|
description - String
|
Example
{"description": "abc123"}
Predictions
Description
A collection of place predictions returned from Google Places API.
Fields
| Field Name | Description |
|---|---|
predictions - [Prediction!]
|
Example
{"predictions": [Prediction]}
Search
Description
A single search entity representing a route with a start point, destination, waypoints, and associated metadata.
Fields
| Field Name | Description |
|---|---|
id - String!
|
A unique identifier for the Search. This is typically a UUID. |
searchSet - SearchSet!
|
The SearchSet to which this Search belongs. |
Arguments
|
|
startPoint - Point!
|
The starting point of the search represented as a geographical point (latitude and longitude). |
destinationPoint - Point!
|
The destination point of the search represented as a geographical point (latitude and longitude). |
waypoints - [Waypoint]
|
The waypoints along the search route. |
Arguments |
|
polygonLine - Polygon!
|
The polygon line representing the search route. |
active - Boolean!
|
Indicates whether the search is currently active. |
distance - Float!
|
The total distance covered in the search route. |
lineString - Polygon!
|
The line string representing the search route. |
createdAt - DateTime!
|
The timestamp when the search was created. |
tags - [Tag!]!
|
Tags associated with this Search. |
matchSets - [MatchSet!]
|
MatchSets associated with this Search. |
Arguments |
|
waypointsAggregate - WaypointAggregateResult
|
|
Arguments
|
|
tagsAggregate - TagAggregateResult
|
|
Arguments
|
|
matchSetsAggregate - MatchSetAggregateResult
|
|
Arguments
|
|
Example
{
"id": "abc123",
"searchSet": SearchSet,
"startPoint": Point,
"destinationPoint": Point,
"waypoints": [Waypoint],
"polygonLine": Polygon,
"active": true,
"distance": 987.65,
"lineString": Polygon,
"createdAt": "2007-12-03T10:15:30Z",
"tags": [Tag],
"matchSets": [MatchSet],
"waypointsAggregate": WaypointAggregateResult,
"tagsAggregate": TagAggregateResult,
"matchSetsAggregate": MatchSetAggregateResult
}
SearchAggregateResult
Example
{
"count": 987,
"idMin": "abc123",
"idMax": "xyz789",
"distanceMin": 987.65,
"distanceMax": 987.65,
"distanceSum": 123.45,
"distanceAvg": 987.65,
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z"
}
SearchFilter
Fields
| Input Field | Description |
|---|---|
id - StringHashFilter
|
|
startPoint - PointGeoFilter
|
|
destinationPoint - PointGeoFilter
|
|
polygonLine - PolygonGeoFilter
|
|
active - Boolean
|
|
createdAt - DateTimeFilter
|
|
has - [SearchHasFilter]
|
|
and - [SearchFilter]
|
|
or - [SearchFilter]
|
|
not - SearchFilter
|
Example
{
"id": StringHashFilter,
"startPoint": PointGeoFilter,
"destinationPoint": PointGeoFilter,
"polygonLine": PolygonGeoFilter,
"active": false,
"createdAt": DateTimeFilter,
"has": ["id"],
"and": [SearchFilter],
"or": [SearchFilter],
"not": SearchFilter
}
SearchHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
SearchOrder
Fields
| Input Field | Description |
|---|---|
asc - SearchOrderable
|
|
desc - SearchOrderable
|
|
then - SearchOrder
|
Example
{"asc": "id", "desc": "id", "then": SearchOrder}
SearchOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
SearchPatch
Fields
| Input Field | Description |
|---|---|
id - String
|
A unique identifier for the Search. This is typically a UUID. |
searchSet - SearchSetRef
|
|
startPoint - PointRef
|
|
destinationPoint - PointRef
|
|
waypoints - [WaypointRef]
|
|
polygonLine - PolygonRef
|
|
active - Boolean
|
Indicates whether the search is currently active. |
distance - Float
|
The total distance covered in the search route. |
lineString - PolygonRef
|
|
createdAt - DateTime
|
The timestamp when the search was created. |
tags - [TagRef!]
|
|
matchSets - [MatchSetRef!]
|
Example
{
"id": "xyz789",
"searchSet": SearchSetRef,
"startPoint": PointRef,
"destinationPoint": PointRef,
"waypoints": [WaypointRef],
"polygonLine": PolygonRef,
"active": false,
"distance": 123.45,
"lineString": PolygonRef,
"createdAt": "2007-12-03T10:15:30Z",
"tags": [TagRef],
"matchSets": [MatchSetRef]
}
SearchRef
Fields
| Input Field | Description |
|---|---|
id - String
|
A unique identifier for the Search. This is typically a UUID. |
searchSet - SearchSetRef
|
|
startPoint - PointRef
|
|
destinationPoint - PointRef
|
|
waypoints - [WaypointRef]
|
|
polygonLine - PolygonRef
|
|
active - Boolean
|
Indicates whether the search is currently active. |
distance - Float
|
The total distance covered in the search route. |
lineString - PolygonRef
|
|
createdAt - DateTime
|
The timestamp when the search was created. |
tags - [TagRef!]
|
|
matchSets - [MatchSetRef!]
|
Example
{
"id": "xyz789",
"searchSet": SearchSetRef,
"startPoint": PointRef,
"destinationPoint": PointRef,
"waypoints": [WaypointRef],
"polygonLine": PolygonRef,
"active": false,
"distance": 987.65,
"lineString": PolygonRef,
"createdAt": "2007-12-03T10:15:30Z",
"tags": [TagRef],
"matchSets": [MatchSetRef]
}
SearchSet
Description
A collection of searches grouped together.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the SearchSet. |
searches - [Search!]
|
Searches that are part of this SearchSet. |
Arguments |
|
tags - [Tag!]!
|
Tags associated with this SearchSet. |
start - String!
|
Starting location for the SearchSet. |
destination - String!
|
Destination location for the SearchSet. |
baseMergeSet - MergeSet
|
MergeSet which got used as base for MergeSet. |
Arguments
|
|
mergeMergeSet - MergeSet
|
MergeSet which got merged with base in MergeSet. |
Arguments
|
|
mergeSet - MergeSet
|
SearchSet that got created based on merge request. |
Arguments
|
|
active - Boolean!
|
Indicates whether the SearchSet is currently active. |
createdAt - DateTime!
|
Timestamp when the SearchSet was created. |
state - State!
|
Current processing state of the SearchSet. This state gets updated as the SearchSet moves through different stages of processing. This field helps track the progress and status of the SearchSet. |
dispatchDateTime - DateTime
|
Dispatch date time for the searches in the SearchSet. |
searchesAggregate - SearchAggregateResult
|
|
Arguments
|
|
tagsAggregate - TagAggregateResult
|
|
Arguments
|
|
Example
{
"id": 4,
"searches": [Search],
"tags": [Tag],
"start": "xyz789",
"destination": "abc123",
"baseMergeSet": MergeSet,
"mergeMergeSet": MergeSet,
"mergeSet": MergeSet,
"active": false,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": "2007-12-03T10:15:30Z",
"searchesAggregate": SearchAggregateResult,
"tagsAggregate": TagAggregateResult
}
SearchSetAggregateResult
Example
{
"count": 123,
"startMin": "xyz789",
"startMax": "abc123",
"destinationMin": "xyz789",
"destinationMax": "abc123",
"createdAtMin": "2007-12-03T10:15:30Z",
"createdAtMax": "2007-12-03T10:15:30Z",
"dispatchDateTimeMin": "2007-12-03T10:15:30Z",
"dispatchDateTimeMax": "2007-12-03T10:15:30Z"
}
SearchSetFilter
Fields
| Input Field | Description |
|---|---|
id - [ID!]
|
|
start - StringTermFilter
|
|
destination - StringTermFilter
|
|
active - Boolean
|
|
createdAt - DateTimeFilter
|
|
state - State_hash
|
|
dispatchDateTime - DateTimeFilter
|
|
has - [SearchSetHasFilter]
|
|
and - [SearchSetFilter]
|
|
or - [SearchSetFilter]
|
|
not - SearchSetFilter
|
Example
{
"id": ["4"],
"start": StringTermFilter,
"destination": StringTermFilter,
"active": true,
"createdAt": DateTimeFilter,
"state": State_hash,
"dispatchDateTime": DateTimeFilter,
"has": ["searches"],
"and": [SearchSetFilter],
"or": [SearchSetFilter],
"not": SearchSetFilter
}
SearchSetHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"searches"
SearchSetOrder
Fields
| Input Field | Description |
|---|---|
asc - SearchSetOrderable
|
|
desc - SearchSetOrderable
|
|
then - SearchSetOrder
|
Example
{"asc": "start", "desc": "start", "then": SearchSetOrder}
SearchSetOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"start"
SearchSetPatch
Fields
| Input Field | Description |
|---|---|
searches - [SearchRef!]
|
|
tags - [TagRef!]
|
|
start - String
|
Starting location for the SearchSet. |
destination - String
|
Destination location for the SearchSet. |
baseMergeSet - MergeSetRef
|
|
mergeMergeSet - MergeSetRef
|
|
mergeSet - MergeSetRef
|
|
active - Boolean
|
Indicates whether the SearchSet is currently active. |
createdAt - DateTime
|
Timestamp when the SearchSet was created. |
state - State
|
Current processing state of the SearchSet. This state gets updated as the SearchSet moves through different stages of processing. This field helps track the progress and status of the SearchSet. |
dispatchDateTime - DateTime
|
Dispatch date time for the searches in the SearchSet. |
Example
{
"searches": [SearchRef],
"tags": [TagRef],
"start": "abc123",
"destination": "abc123",
"baseMergeSet": MergeSetRef,
"mergeMergeSet": MergeSetRef,
"mergeSet": MergeSetRef,
"active": true,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": "2007-12-03T10:15:30Z"
}
SearchSetRef
Fields
| Input Field | Description |
|---|---|
id - ID
|
Unique identifier for the SearchSet. |
searches - [SearchRef!]
|
|
tags - [TagRef!]
|
|
start - String
|
Starting location for the SearchSet. |
destination - String
|
Destination location for the SearchSet. |
baseMergeSet - MergeSetRef
|
|
mergeMergeSet - MergeSetRef
|
|
mergeSet - MergeSetRef
|
|
active - Boolean
|
Indicates whether the SearchSet is currently active. |
createdAt - DateTime
|
Timestamp when the SearchSet was created. |
state - State
|
Current processing state of the SearchSet. This state gets updated as the SearchSet moves through different stages of processing. This field helps track the progress and status of the SearchSet. |
dispatchDateTime - DateTime
|
Dispatch date time for the searches in the SearchSet. |
Example
{
"id": "4",
"searches": [SearchRef],
"tags": [TagRef],
"start": "xyz789",
"destination": "abc123",
"baseMergeSet": MergeSetRef,
"mergeMergeSet": MergeSetRef,
"mergeSet": MergeSetRef,
"active": false,
"createdAt": "2007-12-03T10:15:30Z",
"state": "NEW",
"dispatchDateTime": "2007-12-03T10:15:30Z"
}
State
Description
Possible states for SearchSet, MergeSet and MatchSet.
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"NEW"
State_hash
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"abc123"
StringHashFilter
StringTermFilter
Tag
Description
A tag is a label that can be associated with searches, search sets, merge sets, and match sets. Users can own tags, and access to entities associated with a tag is restricted to the users who own that tag.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the tag. |
name - String!
|
Name of the tag. |
users - [User!]!
|
Users who own this tag. Users associated with a tag have access to entities linked to that tag. |
Arguments |
|
searchSets - [SearchSet]
|
SearchSets associated with this tag. |
Arguments |
|
mergeSets - [MergeSet]
|
MergeSets associated with this tag. |
Arguments |
|
matchSets - [MatchSet]
|
MatchSets associated with this tag. |
Arguments |
|
searches - [Search!]
|
Searches associated with this tag. |
Arguments |
|
createdAt - DateTime!
|
Timestamp when the tag was created. |
usersAggregate - UserAggregateResult
|
|
Arguments
|
|
searchSetsAggregate - SearchSetAggregateResult
|
|
Arguments
|
|
mergeSetsAggregate - MergeSetAggregateResult
|
|
Arguments
|
|
matchSetsAggregate - MatchSetAggregateResult
|
|
Arguments
|
|
searchesAggregate - SearchAggregateResult
|
|
Arguments
|
|
Example
{
"id": "4",
"name": "xyz789",
"users": [User],
"searchSets": [SearchSet],
"mergeSets": [MergeSet],
"matchSets": [MatchSet],
"searches": [Search],
"createdAt": "2007-12-03T10:15:30Z",
"usersAggregate": UserAggregateResult,
"searchSetsAggregate": SearchSetAggregateResult,
"mergeSetsAggregate": MergeSetAggregateResult,
"matchSetsAggregate": MatchSetAggregateResult,
"searchesAggregate": SearchAggregateResult
}
TagAggregateResult
TagFilter
Fields
| Input Field | Description |
|---|---|
id - [ID!]
|
|
createdAt - DateTimeFilter
|
|
has - [TagHasFilter]
|
|
and - [TagFilter]
|
|
or - [TagFilter]
|
|
not - TagFilter
|
Example
{
"id": ["4"],
"createdAt": DateTimeFilter,
"has": ["name"],
"and": [TagFilter],
"or": [TagFilter],
"not": TagFilter
}
TagHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"name"
TagOrder
Fields
| Input Field | Description |
|---|---|
asc - TagOrderable
|
|
desc - TagOrderable
|
|
then - TagOrder
|
Example
{"asc": "name", "desc": "name", "then": TagOrder}
TagOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"name"
TagPatch
Fields
| Input Field | Description |
|---|---|
name - String
|
Name of the tag. |
users - [UserRef!]
|
|
searchSets - [SearchSetRef]
|
|
mergeSets - [MergeSetRef]
|
|
matchSets - [MatchSetRef]
|
|
searches - [SearchRef!]
|
|
createdAt - DateTime
|
Timestamp when the tag was created. |
Example
{
"name": "abc123",
"users": [UserRef],
"searchSets": [SearchSetRef],
"mergeSets": [MergeSetRef],
"matchSets": [MatchSetRef],
"searches": [SearchRef],
"createdAt": "2007-12-03T10:15:30Z"
}
TagRef
Fields
| Input Field | Description |
|---|---|
id - ID
|
Unique identifier for the tag. |
name - String
|
Name of the tag. |
users - [UserRef!]
|
|
searchSets - [SearchSetRef]
|
|
mergeSets - [MergeSetRef]
|
|
matchSets - [MatchSetRef]
|
|
searches - [SearchRef!]
|
|
createdAt - DateTime
|
Timestamp when the tag was created. |
Example
{
"id": "4",
"name": "xyz789",
"users": [UserRef],
"searchSets": [SearchSetRef],
"mergeSets": [MergeSetRef],
"matchSets": [MatchSetRef],
"searches": [SearchRef],
"createdAt": "2007-12-03T10:15:30Z"
}
UpdateDispatchDateTimeFilterInput
Fields
| Input Field | Description |
|---|---|
filter - DispatchDateTimeFilterFilter!
|
|
set - DispatchDateTimeFilterPatch
|
|
remove - DispatchDateTimeFilterPatch
|
Example
{
"filter": DispatchDateTimeFilterFilter,
"set": DispatchDateTimeFilterPatch,
"remove": DispatchDateTimeFilterPatch
}
UpdateDispatchDateTimeFilterPayload
Fields
| Field Name | Description |
|---|---|
dispatchDateTimeFilter - [DispatchDateTimeFilter]
|
|
Arguments
|
|
numUids - Int
|
|
Example
{
"dispatchDateTimeFilter": [DispatchDateTimeFilter],
"numUids": 123
}
UpdateDispatchDateTimeRangeInput
Fields
| Input Field | Description |
|---|---|
filter - DispatchDateTimeRangeFilter!
|
|
set - DispatchDateTimeRangePatch
|
|
remove - DispatchDateTimeRangePatch
|
Example
{
"filter": DispatchDateTimeRangeFilter,
"set": DispatchDateTimeRangePatch,
"remove": DispatchDateTimeRangePatch
}
UpdateDispatchDateTimeRangePayload
Fields
| Field Name | Description |
|---|---|
dispatchDateTimeRange - [DispatchDateTimeRange]
|
|
Arguments |
|
numUids - Int
|
|
Example
{
"dispatchDateTimeRange": [DispatchDateTimeRange],
"numUids": 987
}
UpdateMatchSetInput
Fields
| Input Field | Description |
|---|---|
filter - MatchSetFilter!
|
|
set - MatchSetPatch
|
|
remove - MatchSetPatch
|
Example
{
"filter": MatchSetFilter,
"set": MatchSetPatch,
"remove": MatchSetPatch
}
UpdateMatchSetPayload
Fields
| Field Name | Description |
|---|---|
matchSet - [MatchSet]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"matchSet": [MatchSet], "numUids": 987}
UpdateMergeSetInput
Fields
| Input Field | Description |
|---|---|
filter - MergeSetFilter!
|
|
set - MergeSetPatch
|
|
remove - MergeSetPatch
|
Example
{
"filter": MergeSetFilter,
"set": MergeSetPatch,
"remove": MergeSetPatch
}
UpdateMergeSetPayload
Fields
| Field Name | Description |
|---|---|
mergeSet - [MergeSet]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"mergeSet": [MergeSet], "numUids": 987}
UpdatePredictionInput
Fields
| Input Field | Description |
|---|---|
filter - PredictionFilter!
|
|
set - PredictionPatch
|
|
remove - PredictionPatch
|
Example
{
"filter": PredictionFilter,
"set": PredictionPatch,
"remove": PredictionPatch
}
UpdatePredictionPayload
Fields
| Field Name | Description |
|---|---|
prediction - [Prediction]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"prediction": [Prediction], "numUids": 987}
UpdateSearchInput
Fields
| Input Field | Description |
|---|---|
filter - SearchFilter!
|
|
set - SearchPatch
|
|
remove - SearchPatch
|
Example
{
"filter": SearchFilter,
"set": SearchPatch,
"remove": SearchPatch
}
UpdateSearchPayload
UpdateSearchSetInput
Fields
| Input Field | Description |
|---|---|
filter - SearchSetFilter!
|
|
set - SearchSetPatch
|
|
remove - SearchSetPatch
|
Example
{
"filter": SearchSetFilter,
"set": SearchSetPatch,
"remove": SearchSetPatch
}
UpdateSearchSetPayload
Fields
| Field Name | Description |
|---|---|
searchSet - [SearchSet]
|
|
Arguments |
|
numUids - Int
|
|
Example
{"searchSet": [SearchSet], "numUids": 123}
UpdateTagInput
Fields
| Input Field | Description |
|---|---|
filter - TagFilter!
|
|
set - TagPatch
|
|
remove - TagPatch
|
Example
{
"filter": TagFilter,
"set": TagPatch,
"remove": TagPatch
}
UpdateTagPayload
UpdateUserInput
Fields
| Input Field | Description |
|---|---|
filter - UserFilter!
|
|
set - UserPatch
|
|
remove - UserPatch
|
Example
{
"filter": UserFilter,
"set": UserPatch,
"remove": UserPatch
}
UpdateUserPayload
User
Description
User is the owner of tags, which are linked to searches etc.
Fields
| Field Name | Description |
|---|---|
id - String!
|
User ID matches the sub claim in the JWT token. |
email - String!
|
User email address. |
tags - [Tag!]
|
Tags owned by the user. |
tagsAggregate - TagAggregateResult
|
|
Arguments
|
|
Example
{
"id": "abc123",
"email": "xyz789",
"tags": [Tag],
"tagsAggregate": TagAggregateResult
}
UserAggregateResult
UserFilter
Fields
| Input Field | Description |
|---|---|
id - StringHashFilter
|
|
email - StringHashFilter
|
|
has - [UserHasFilter]
|
|
and - [UserFilter]
|
|
or - [UserFilter]
|
|
not - UserFilter
|
Example
{
"id": StringHashFilter,
"email": StringHashFilter,
"has": ["id"],
"and": [UserFilter],
"or": [UserFilter],
"not": UserFilter
}
UserHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
UserOrder
Fields
| Input Field | Description |
|---|---|
asc - UserOrderable
|
|
desc - UserOrderable
|
|
then - UserOrder
|
Example
{"asc": "id", "desc": "id", "then": UserOrder}
UserOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"id"
UserPatch
UserRef
Waypoint
Description
A waypoint along a search route, defined by its value, order, and geographical marker.
Fields
| Field Name | Description |
|---|---|
id - String!
|
A unique identifier for the Waypoint. This is typically a UUID. |
value - String!
|
The value or name of the Waypoint. |
sortOrder - Int!
|
The order of the Waypoint in the search route. |
marker - Point!
|
The geographical marker of the Waypoint represented as a point (latitude and longitude). |
search - Search!
|
The Search to which this Waypoint belongs. |
Arguments
|
|
Example
{
"id": "xyz789",
"value": "abc123",
"sortOrder": 987,
"marker": Point,
"search": Search
}
WaypointAggregateResult
Example
{
"count": 987,
"idMin": "xyz789",
"idMax": "abc123",
"valueMin": "abc123",
"valueMax": "xyz789",
"sortOrderMin": 123,
"sortOrderMax": 987,
"sortOrderSum": 987,
"sortOrderAvg": 987.65
}
WaypointFilter
Fields
| Input Field | Description |
|---|---|
id - StringHashFilter
|
|
marker - PointGeoFilter
|
|
has - [WaypointHasFilter]
|
|
and - [WaypointFilter]
|
|
or - [WaypointFilter]
|
|
not - WaypointFilter
|
Example
{
"id": StringHashFilter,
"marker": PointGeoFilter,
"has": ["id"],
"and": [WaypointFilter],
"or": [WaypointFilter],
"not": WaypointFilter
}
WaypointHasFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
WaypointOrder
Fields
| Input Field | Description |
|---|---|
asc - WaypointOrderable
|
|
desc - WaypointOrderable
|
|
then - WaypointOrder
|
Example
{"asc": "id", "desc": "id", "then": WaypointOrder}
WaypointOrderable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
WaypointRef
Example
{
"id": "abc123",
"value": "abc123",
"sortOrder": 987,
"marker": PointRef,
"search": SearchRef
}
WithinFilter
Fields
| Input Field | Description |
|---|---|
polygon - PolygonRef!
|
Example
{"polygon": PolygonRef}