Mutations
createLocation
MUTATION
createLocation(input: CreateLocationInput!): CreateLocationArguments
input
required
Returns
location
Mutation
mutation CreateLocation($input: CreateLocationInput!) {
createLocation(input: $input) {
location {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AllChildrenCount
_AllParentsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"input": {
"name": "string"
}
}Response
{
"data": {
"createLocation": {
"location": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreateLocation($input: CreateLocationInput!) {
createLocation(input: $input) {
location {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AllChildrenCount
_AllParentsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"input": {
"name": "string"
}
}Response
{
"data": {
"createLocation": {
"location": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}