Mutations
checkOut
Checks out of a run step, stopping the time tracking session for a user.
MUTATION
checkOut(input: SessionEventInput!): CheckOutArguments
input
required
Returns
checkOutEvent
Mutation
mutation CheckOut($input: SessionEventInput!) {
checkOut(input: $input) {
checkOutEvent {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
}
}Variables
{
"input": {
"runStepId": "id"
}
}Response
{
"data": {
"checkOut": {
"checkOutEvent": {
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CheckOut($input: SessionEventInput!) {
checkOut(input: $input) {
checkOutEvent {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
}
}Variables
{
"input": {
"runStepId": "id"
}
}Response
{
"data": {
"checkOut": {
"checkOutEvent": {
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
}
}
}