Mutations
checkIn
Checks into a run step, starting a time tracking session for a user.
MUTATION
checkIn(input: SessionEventInput!): CheckInArguments
input
required
Returns
checkInEvent
Mutation
mutation CheckIn($input: SessionEventInput!) {
checkIn(input: $input) {
checkInEvent {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
}
}Variables
{
"input": {
"runStepId": "id"
}
}Response
{
"data": {
"checkIn": {
"checkInEvent": {
"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 CheckIn($input: SessionEventInput!) {
checkIn(input: $input) {
checkInEvent {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
}
}Variables
{
"input": {
"runStepId": "id"
}
}Response
{
"data": {
"checkIn": {
"checkInEvent": {
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
}
}
}