Mutations
createPlanConstraint
MUTATION
createPlanConstraint(input: CreatePlanConstraintInput!): CreatePlanConstraintArguments
input
required
Returns
planConstraint
Mutation
mutation CreatePlanConstraint($input: CreatePlanConstraintInput!) {
createPlanConstraint(input: $input) {
planConstraint {
LastSessionId
_PlanConstraintLocationsCount
_created
_etag
_updated
createdBy {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
}
}Variables
{
"input": {
"locationIds": [
1
],
"operator": "IN",
"planId": 1
}
}Response
{
"data": {
"createPlanConstraint": {
"planConstraint": {
"LastSessionId": "string",
"_PlanConstraintLocationsCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value",
"createdBy": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreatePlanConstraint($input: CreatePlanConstraintInput!) {
createPlanConstraint(input: $input) {
planConstraint {
LastSessionId
_PlanConstraintLocationsCount
_created
_etag
_updated
createdBy {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
}
}Variables
{
"input": {
"locationIds": [
1
],
"operator": "IN",
"planId": 1
}
}Response
{
"data": {
"createPlanConstraint": {
"planConstraint": {
"LastSessionId": "string",
"_PlanConstraintLocationsCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value",
"createdBy": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
}
}
}