-
Notifications
You must be signed in to change notification settings - Fork 25
API Reference
Harshith Pabbati edited this page Aug 29, 2019
·
8 revisions
Generates an authorisation token for the user
mutation TokenAuth($username: String!, $password: String!) {
tokenAuth(username: $username, password: $password) {
token
refreshToken
}
}
Read more about Authorisation APIs
mutation($username: String!, $password: String!, $time: DateTime!, $secret: String!, $list: String!)
{
LogAttendance(username: $username, password: $password,time: $time, secret: $secret, list: $list)
{
id
}
}
mutation RecordLeaveToday($userId: String!, $reason: String!, $type: String!, $botToken: String!, $token: String!)
{
RecordLeaveToday(userId: $userId, reason: $reason, type: $type, botToken: $botToken, token: $token)
{
id
}
}