Query
query Sublocations {
sublocations {
createdAt
id
name
orgId
updatedAt
}
}Response
{
"data": {
"sublocations": [
{
"createdAt": "value",
"id": 1,
"name": "string",
"orgId": "string",
"updatedAt": "value"
}
]
}
}Queries
sublocations
Returns the sublocations of the organization. Empty if there are no sublocations.
QUERY
sublocations: [Sublocation!]!Returns
[Sublocation!]!
createdAt
DateTime!
When the sublocation was created.
id
Int!
Id of the sublocation.
name
String!
Name of the sublocation.
orgId
String!
Id of the organization the sublocation belongs to.
updatedAt
DateTime!
When the sublocation was last changed.
Query
query Sublocations {
sublocations {
createdAt
id
name
orgId
updatedAt
}
}Response
{
"data": {
"sublocations": [
{
"createdAt": "value",
"id": 1,
"name": "string",
"orgId": "string",
"updatedAt": "value"
}
]
}
}