WeSoar API Documentation v2.2.11

This document is intended to provide developers with the necessary information to interact with the APIs used in the WeSoar platform. The WeSoar platform is designed to provide conversational performance management and employee engagement surveys for organizations. It is built using the MERN stack, which is a popular technology stack for building web applications using MongoDB, Express.js, React.js, and Node.js.

The APIs used in the WeSoar platform are built using GraphQL, which is a query language for APIs that was developed by Facebook. GraphQL provides a flexible and efficient way to request data from APIs, which is essential for the performance management and engagement surveys provided by WeSoar. The WeSoar platform is hosted on Microsoft Azure using Kubernetes, which is a container orchestration platform that allows for easy scaling and management of the resources of the platform. In this documentation, we will provide an overview of the WeSoar APIs, including what endpoints are available, what parameters are required, and what responses can be expected. We hope this documentation will help you integrate the WeSoar platform into your own projects and improve the performance management and employee engagement of your organization.

Contact

Prakash Khandelwal

prakash.khandelwal@wesoar.ai

API Endpoints
https://live.wesoar.app

Queries

alarm

Response

Returns an Alarm!

Arguments
Name Description
_id - String!

Example

Query
query alarm($_id: String!) {
  alarm(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "xyz789"}
Response
{
  "data": {
    "alarm": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true
    }
  }
}

alarmsPage

Response

Returns an AlarmsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query alarmsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  alarmsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...AlarmFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "alarmsPage": {
      "docs": [Alarm],
      "pageInfo": PageInfo
    }
  }
}

appraisal

Response

Returns an Appraisal!

Arguments
Name Description
_id - ObjectID!

Example

Query
query appraisal($_id: ObjectID!) {
  appraisal(_id: $_id) {
    _id
    termProgramId
    appraisalRating {
      ...AppraisalRatingFragment
    }
    appraisalDate
    name
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    appraisalGoalsPage {
      ...GoalsPageFragment
    }
    priority
    appraisalStatus
    appraisalCalculation
    isDeleted
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "appraisal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "appraisalRating": AppraisalRating,
      "appraisalDate": 1592577642,
      "name": "abc123",
      "commentsPage": CommentsPage,
      "comment": Comment,
      "appraisalGoalsPage": GoalsPage,
      "priority": 987,
      "appraisalStatus": "xyz789",
      "appraisalCalculation": "xyz789",
      "isDeleted": true
    }
  }
}

appraisalsFact

Response

Returns [Fact]

Arguments
Name Description
searchOptions - SearchOptions
factsOptions - FactOptions

Example

Query
query appraisalsFact(
  $searchOptions: SearchOptions,
  $factsOptions: FactOptions
) {
  appraisalsFact(
    searchOptions: $searchOptions,
    factsOptions: $factsOptions
  ) {
    key
    values
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "factsOptions": FactOptions
}
Response
{
  "data": {
    "appraisalsFact": [
      {"key": "abc123", "values": [{}]}
    ]
  }
}

appraisalsPage

Response

Returns an AppraisalsPage!

Arguments
Name Description
params - SearchOptions
options - ListOptions

Example

Query
query appraisalsPage(
  $params: SearchOptions,
  $options: ListOptions
) {
  appraisalsPage(
    params: $params,
    options: $options
  ) {
    docs {
      ...AppraisalFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "params": SearchOptions,
  "options": ListOptions
}
Response
{
  "data": {
    "appraisalsPage": {
      "docs": [Appraisal],
      "pageInfo": PageInfo
    }
  }
}

attendance

Response

Returns an Attendance!

Arguments
Name Description
_id - ObjectID!

Example

Query
query attendance($_id: ObjectID!) {
  attendance(_id: $_id) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    userId
    attendanceLogs {
      ...AttendanceLogFragment
    }
    isActive
    isDeleted
    attendanceLogsPage {
      ...AttendanceLogsPageFragment
    }
    attendanceLogForDate {
      ...AttendanceLogFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "attendance": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "attendanceLogs": [AttendanceLog],
      "isActive": false,
      "isDeleted": false,
      "attendanceLogsPage": AttendanceLogsPage,
      "attendanceLogForDate": AttendanceLog
    }
  }
}

attendancesPage

Response

Returns an AttendancesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query attendancesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  attendancesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...AttendanceFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "attendancesPage": {
      "docs": [Attendance],
      "pageInfo": PageInfo
    }
  }
}

checkIn

Response

Returns a CheckIn!

Arguments
Name Description
_id - ObjectID!

Example

Query
query checkIn($_id: ObjectID!) {
  checkIn(_id: $_id) {
    _id
    name
    checkInType
    termProgramId
    userId
    programId
    checkInSetting {
      ...CheckInSettingFragment
    }
    checkInDate
    checkInRatings {
      ...CheckInRatingFragment
    }
    priority
    checkInStatus
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    competencies {
      ...SurveyQuestionFragment
    }
    competenciesFPage {
      ...SurveyQuestionFragment
    }
    competenciesPage {
      ...SurveyQuestionsPageFragment
    }
    isDeleted
    latestRating {
      ...CheckInRatingFragment
    }
    checkInRatingsPage {
      ...CheckInRatingsPageFragment
    }
    checkInRatingsFPage {
      ...CheckInRatingFragment
    }
    checkInRatingsFOne {
      ...CheckInRatingFragment
    }
    commentTrailId
    isActiveForEmp
    isActiveForManager
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "checkIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "checkInType": "abc123",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "checkInSetting": CheckInSetting,
      "checkInDate": 1592577642,
      "checkInRatings": [CheckInRating],
      "priority": 987,
      "checkInStatus": "abc123",
      "user": User,
      "program": Program,
      "termProgram": TermProgram,
      "competencies": [SurveyQuestion],
      "competenciesFPage": [SurveyQuestion],
      "competenciesPage": SurveyQuestionsPage,
      "isDeleted": true,
      "latestRating": CheckInRating,
      "checkInRatingsPage": CheckInRatingsPage,
      "checkInRatingsFPage": [CheckInRating],
      "checkInRatingsFOne": CheckInRating,
      "commentTrailId": "5e5677d71bdc2ae76344968c",
      "isActiveForEmp": false,
      "isActiveForManager": true
    }
  }
}

checkInsFact

Response

Returns [Fact]

Arguments
Name Description
searchOptions - SearchOptions
factsOptions - FactOptions

Example

Query
query checkInsFact(
  $searchOptions: SearchOptions,
  $factsOptions: FactOptions
) {
  checkInsFact(
    searchOptions: $searchOptions,
    factsOptions: $factsOptions
  ) {
    key
    values
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "factsOptions": FactOptions
}
Response
{
  "data": {
    "checkInsFact": [
      {"key": "abc123", "values": [{}]}
    ]
  }
}

checkInsPage

Response

Returns a CheckInsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query checkInsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  checkInsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...CheckInFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "checkInsPage": {
      "docs": [CheckIn],
      "pageInfo": PageInfo
    }
  }
}

comment

Response

Returns a Comment!

Arguments
Name Description
_id - ObjectID!
rootOptions - RootOptions

Example

Query
query comment(
  $_id: ObjectID!,
  $rootOptions: RootOptions
) {
  comment(
    _id: $_id,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "_id": "5e5677d71bdc2ae76344968c",
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "comment": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "abc123",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": false,
      "isDeleted": false,
      "commentDate": 1592577642,
      "type": "xyz789",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

commentTrail

Response

Returns a Comment

Arguments
Name Description
_id - ObjectID
rootOptions - RootOptions

Example

Query
query commentTrail(
  $_id: ObjectID,
  $rootOptions: RootOptions
) {
  commentTrail(
    _id: $_id,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "_id": "5e5677d71bdc2ae76344968c",
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "commentTrail": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "abc123",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": true,
      "isDeleted": true,
      "commentDate": 1592577642,
      "type": "xyz789",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

commentTrailsPage

Response

Returns a CommentsPage

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions
rootOptions - RootOptions

Example

Query
query commentTrailsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions,
  $rootOptions: RootOptions
) {
  commentTrailsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions,
    rootOptions: $rootOptions
  ) {
    docs {
      ...CommentFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "commentTrailsPage": {
      "docs": [Comment],
      "pageInfo": PageInfo
    }
  }
}

commentsPage

Response

Returns a CommentsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions
rootOptions - RootOptions

Example

Query
query commentsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions,
  $rootOptions: RootOptions
) {
  commentsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions,
    rootOptions: $rootOptions
  ) {
    docs {
      ...CommentFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "commentsPage": {
      "docs": [Comment],
      "pageInfo": PageInfo
    }
  }
}

communicationEvent

Response

Returns a CommunicationEvent!

Arguments
Name Description
_id - ObjectID!

Example

Query
query communicationEvent($_id: ObjectID!) {
  communicationEvent(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "communicationEvent": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 123,
      "isActive": false
    }
  }
}

communicationEventsPage

Response

Returns a CommunicationEventsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query communicationEventsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  communicationEventsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...CommunicationEventFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "communicationEventsPage": {
      "docs": [CommunicationEvent],
      "pageInfo": PageInfo
    }
  }
}

communityGoal

Response

Returns a CommunityGoal!

Arguments
Name Description
_id - ObjectID!

Example

Query
query communityGoal($_id: ObjectID!) {
  communityGoal(_id: $_id) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "communityGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "adminUserId": "5e5677d71bdc2ae76344968c",
      "adminUser": User,
      "yearId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "goalType": "xyz789",
      "trackingStatus": "xyz789",
      "achievement": "xyz789",
      "isCompanyGoal": true,
      "goalDetail": GoalDetail,
      "participations": [Participation],
      "participationsPage": ParticipationsPage,
      "participationsFacts": [Fact],
      "subscriptions": [Participation],
      "subscriptionsPage": SubscriptionsPage,
      "subscriptionsFacts": [Fact],
      "subscribers": [User],
      "subscribersPage": UsersPage,
      "comments": [Comment],
      "progress": 987,
      "goalProgress": 987.65,
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "hash": "abc123",
      "isParticipant": true,
      "isSubscriber": false,
      "isAdmin": false,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "comment": Comment
    }
  }
}

communityGoalsPage

Response

Returns a CommunityGoalsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query communityGoalsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  communityGoalsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...CommunityGoalFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "communityGoalsPage": {
      "docs": [CommunityGoal],
      "pageInfo": PageInfo
    }
  }
}

conversation

Response

Returns a Conversation!

Arguments
Name Description
_id - ObjectID!

Example

Query
query conversation($_id: ObjectID!) {
  conversation(_id: $_id) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "conversation": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "description": "xyz789",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "abc123",
      "fldName": "abc123",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 123,
      "isActive": false,
      "isDeleted": false,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 987
    }
  }
}

conversationsPage

Response

Returns a ConversationsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query conversationsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  conversationsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ConversationFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "conversationsPage": {
      "docs": [Conversation],
      "pageInfo": PageInfo
    }
  }
}

dummy

Response

Returns a Boolean

Example

Query
query dummy {
  dummy
}
Response
{"data": {"dummy": false}}

file

Response

Returns a File

Arguments
Name Description
fileInput - File_Input

Example

Query
query file($fileInput: File_Input) {
  file(fileInput: $fileInput) {
    _id
    fileName
    fileKeyName
    contentType
    fileDate
    fileUrl
    fileSize
  }
}
Variables
{"fileInput": File_Input}
Response
{
  "data": {
    "file": {
      "_id": "5e5677d71bdc2ae76344968c",
      "fileName": "xyz789",
      "fileKeyName": "xyz789",
      "contentType": "abc123",
      "fileDate": 1592577642,
      "fileUrl": "xyz789",
      "fileSize": 987.65
    }
  }
}

goal

Response

Returns a Goal!

Arguments
Name Description
_id - ObjectID!

Example

Query
query goal($_id: ObjectID!) {
  goal(_id: $_id) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "goal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "abc123",
      "goalType": "xyz789",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "abc123",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 123,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "abc123",
      "achievement": "xyz789",
      "goalProgress": 987,
      "priority": 123,
      "isActive": true,
      "isShowInPlannedTask": true,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

goalCategoriesPage

Response

Returns a GoalCategoriesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query goalCategoriesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  goalCategoriesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...GoalCategoryFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "goalCategoriesPage": {
      "docs": [GoalCategory],
      "pageInfo": PageInfo
    }
  }
}

goalCategory

Response

Returns a GoalCategory!

Arguments
Name Description
_id - ObjectID!

Example

Query
query goalCategory($_id: ObjectID!) {
  goalCategory(_id: $_id) {
    _id
    name
    keyName
    iconUrl
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "goalCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "iconUrl": "xyz789",
      "priority": 987,
      "isActive": true
    }
  }
}

goalsPage

Response

Returns a GoalsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query goalsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  goalsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...GoalFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "goalsPage": {
      "docs": [Goal],
      "pageInfo": PageInfo
    }
  }
}

label

Response

Returns a Label!

Arguments
Name Description
_id - ObjectID!

Example

Query
query label($_id: ObjectID!) {
  label(_id: $_id) {
    _id
    name
    keyName
    isShowInPlannedTask
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "label": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "isShowInPlannedTask": true,
      "priority": 123,
      "isActive": true
    }
  }
}

labelsPage

Response

Returns a LabelsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query labelsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  labelsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...LabelFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "labelsPage": {
      "docs": [Label],
      "pageInfo": PageInfo
    }
  }
}

language

Response

Returns a Language!

Arguments
Name Description
_id - ObjectID!

Example

Query
query language($_id: ObjectID!) {
  language(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
    isRTL
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "language": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "priority": 123,
      "isActive": true,
      "isRTL": false
    }
  }
}

languagesPage

Response

Returns a LanguagesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query languagesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  languagesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...LanguageFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "languagesPage": {
      "docs": [Language],
      "pageInfo": PageInfo
    }
  }
}

managerType

Response

Returns a ManagerType!

Arguments
Name Description
_id - ObjectID!

Example

Query
query managerType($_id: ObjectID!) {
  managerType(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "managerType": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 987,
      "isActive": false
    }
  }
}

managerTypesPage

Response

Returns a ManagerTypesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query managerTypesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  managerTypesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ManagerTypeFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "managerTypesPage": {
      "docs": [ManagerType],
      "pageInfo": PageInfo
    }
  }
}

masters

Response

Returns a Masters

Example

Query
query masters {
  masters {
    _id
    yearsPage {
      ...YearsPageFragment
    }
    goalCategoriesPage {
      ...GoalCategoriesPageFragment
    }
    trackingStatusesPage {
      ...TrackingStatusesPageFragment
    }
    alarmsPage {
      ...AlarmsPageFragment
    }
    observationsPage {
      ...ObservationsPageFragment
    }
    labelsPage {
      ...LabelsPageFragment
    }
    tagsPage {
      ...TagsPageFragment
    }
    moduleCategoriesPage {
      ...ModuleCategoriesPageFragment
    }
  }
}
Response
{
  "data": {
    "masters": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearsPage": YearsPage,
      "goalCategoriesPage": GoalCategoriesPage,
      "trackingStatusesPage": TrackingStatusesPage,
      "alarmsPage": AlarmsPage,
      "observationsPage": ObservationsPage,
      "labelsPage": LabelsPage,
      "tagsPage": TagsPage,
      "moduleCategoriesPage": ModuleCategoriesPage
    }
  }
}

me

Response

Returns a Me

Arguments
Name Description
accessToken - String

Example

Query
query me($accessToken: String) {
  me(accessToken: $accessToken) {
    name
    firstName
    lastName
    email
    tenants {
      ...TenantFragment
    }
  }
}
Variables
{"accessToken": "xyz789"}
Response
{
  "data": {
    "me": {
      "name": "abc123",
      "firstName": "xyz789",
      "lastName": "xyz789",
      "email": "abc123",
      "tenants": [Tenant]
    }
  }
}

message

Response

Returns a Message!

Arguments
Name Description
_id - ObjectID!

Example

Query
query message($_id: ObjectID!) {
  message(_id: $_id) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "message": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "abc123",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": true,
      "isDeleted": false,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

messagesPage

Response

Returns a MessagesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query messagesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  messagesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...MessageFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "messagesPage": {
      "docs": [Message],
      "pageInfo": PageInfo
    }
  }
}

module

Response

Returns a Module!

Arguments
Name Description
_id - ObjectID!

Example

Query
query module($_id: ObjectID!) {
  module(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "module": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "priority": 123,
      "isActive": false
    }
  }
}

moduleCategoriesPage

Response

Returns a ModuleCategoriesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query moduleCategoriesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  moduleCategoriesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ModuleCategoryFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "moduleCategoriesPage": {
      "docs": [ModuleCategory],
      "pageInfo": PageInfo
    }
  }
}

moduleCategory

Response

Returns a ModuleCategory!

Arguments
Name Description
_id - ObjectID!

Example

Query
query moduleCategory($_id: ObjectID!) {
  moduleCategory(_id: $_id) {
    _id
    name
    keyName
    modules {
      ...ModuleFragment
    }
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "moduleCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "modules": [Module],
      "priority": 987,
      "isActive": true
    }
  }
}

modulesPage

Response

Returns a ModulesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query modulesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  modulesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ModuleFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "modulesPage": {
      "docs": [Module],
      "pageInfo": PageInfo
    }
  }
}

notification

Response

Returns a Notification!

Arguments
Name Description
_id - ObjectID!

Example

Query
query notification($_id: ObjectID!) {
  notification(_id: $_id) {
    _id
    userId
    termProgramId
    notificationDate
    messageData
    payload
    isOpened
    messageText
    messageTitle
    messageUri
    isActive
    isDeleted
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "notification": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "notificationDate": 1592577642,
      "messageData": {},
      "payload": {},
      "isOpened": false,
      "messageText": "abc123",
      "messageTitle": "abc123",
      "messageUri": "abc123",
      "isActive": false,
      "isDeleted": true
    }
  }
}

notificationsPage

Response

Returns a NotificationsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query notificationsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  notificationsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...NotificationFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "notificationsPage": {
      "docs": [Notification],
      "pageInfo": PageInfo
    }
  }
}

observation

Response

Returns an Observation!

Arguments
Name Description
_id - ObjectID!

Example

Query
query observation($_id: ObjectID!) {
  observation(_id: $_id) {
    _id
    name
    keyName
    isShowInPlannedTask
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "observation": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "isShowInPlannedTask": false,
      "priority": 987,
      "isActive": true
    }
  }
}

observationsPage

Response

Returns an ObservationsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query observationsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  observationsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ObservationFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "observationsPage": {
      "docs": [Observation],
      "pageInfo": PageInfo
    }
  }
}

orgUnit

Response

Returns an OrgUnit!

Arguments
Name Description
_id - ObjectID!

Example

Query
query orgUnit($_id: ObjectID!) {
  orgUnit(_id: $_id) {
    _id
    name
    pid
    keyName
    priority
    isActive
    myRootOrg {
      ...OrgUnitFragment
    }
    childUnitsPage {
      ...OrgUnitsPageFragment
    }
    surveyReportWithPrevSurveyReport {
      ...SurveyReportFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "orgUnit": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "pid": "5e5677d71bdc2ae76344968c",
      "keyName": "abc123",
      "priority": 123,
      "isActive": false,
      "myRootOrg": OrgUnit,
      "childUnitsPage": OrgUnitsPage,
      "surveyReportWithPrevSurveyReport": SurveyReport
    }
  }
}

orgUnitsPage

Response

Returns an OrgUnitsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query orgUnitsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  orgUnitsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...OrgUnitFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "orgUnitsPage": {
      "docs": [OrgUnit],
      "pageInfo": PageInfo
    }
  }
}

organisation

Response

Returns an Organisation!

Arguments
Name Description
id - ObjectID!

Example

Query
query organisation($id: ObjectID!) {
  organisation(id: $id) {
    _id
    name
    keyName
    wesoarDomain
    organisationGroup
    contactPerson {
      ...Organisation_PersonFragment
    }
    registeredAddress {
      ...Organisation_AddressFragment
    }
    website
    profilePicUrl
    organisationSize
    organisationIndustry
    organisationType
    organisationStatus
    yearOfEstablishment
    totalRevenue
    objectives
    activationCode
    contractDetails {
      ...Organisation_ContractDetailsFragment
    }
    subscriptions {
      ...Organisation_SubscriptionFragment
    }
    defaultFieldMapping
    technicalData {
      ...Organisation_TechnicalDataFragment
    }
    designSetting {
      ...Organisation_DesignSettingFragment
    }
  }
}
Variables
{"id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "organisation": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "wesoarDomain": "xyz789",
      "organisationGroup": "xyz789",
      "contactPerson": Organisation_Person,
      "registeredAddress": Organisation_Address,
      "website": "xyz789",
      "profilePicUrl": "xyz789",
      "organisationSize": "abc123",
      "organisationIndustry": "xyz789",
      "organisationType": "abc123",
      "organisationStatus": "xyz789",
      "yearOfEstablishment": 123,
      "totalRevenue": 987,
      "objectives": "xyz789",
      "activationCode": "xyz789",
      "contractDetails": [Organisation_ContractDetails],
      "subscriptions": [Organisation_Subscription],
      "defaultFieldMapping": "xyz789",
      "technicalData": Organisation_TechnicalData,
      "designSetting": Organisation_DesignSetting
    }
  }
}

organisationOverviewByDomain

Response

Returns an OrganisationOverviewByDomain!

Arguments
Name Description
params - OrganisationOverviewByDomainParams!

Example

Query
query organisationOverviewByDomain($params: OrganisationOverviewByDomainParams!) {
  organisationOverviewByDomain(params: $params) {
    id
    name
    keyName
    wesoarDomain
    organisationGroup
    contactPerson {
      ...Organisation_PersonFragment
    }
    registeredAddress {
      ...Organisation_AddressFragment
    }
    website
    profilePicUrl
    organisationSize
    organisationIndustry
    organisationType
    organisationStatus
    yearOfEstablishment
    objectives
    clientId
    designSetting {
      ...Organisation_DesignSettingFragment
    }
    technicalData {
      ...Organisation_TechnicalDataFragment
    }
  }
}
Variables
{"params": OrganisationOverviewByDomainParams}
Response
{
  "data": {
    "organisationOverviewByDomain": {
      "id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "wesoarDomain": "xyz789",
      "organisationGroup": "abc123",
      "contactPerson": Organisation_Person,
      "registeredAddress": Organisation_Address,
      "website": "abc123",
      "profilePicUrl": "abc123",
      "organisationSize": "xyz789",
      "organisationIndustry": "abc123",
      "organisationType": "abc123",
      "organisationStatus": "abc123",
      "yearOfEstablishment": 123,
      "objectives": "abc123",
      "clientId": "xyz789",
      "designSetting": Organisation_DesignSetting,
      "technicalData": Organisation_TechnicalData
    }
  }
}

organisations

Response

Returns an Organisations!

Arguments
Name Description
search - String
cursor - String
limit - Int

Example

Query
query organisations(
  $search: String,
  $cursor: String,
  $limit: Int
) {
  organisations(
    search: $search,
    cursor: $cursor,
    limit: $limit
  ) {
    edges {
      ...OrganisationFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "search": "abc123",
  "cursor": "abc123",
  "limit": 123
}
Response
{
  "data": {
    "organisations": {
      "edges": [Organisation],
      "pageInfo": PageInfo
    }
  }
}

plannedTask

Description

This is a query to retrive planned task from system access is only to employees.

Response

Returns a PlannedTask!

Arguments
Name Description
_id - ObjectID!

Example

Query
query plannedTask($_id: ObjectID!) {
  plannedTask(_id: $_id) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "plannedTask": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "abc123",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "xyz789",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "abc123",
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 987
    }
  }
}

plannedTasksPage

Response

Returns a PlannedTasksPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query plannedTasksPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  plannedTasksPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...PlannedTaskFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "plannedTasksPage": {
      "docs": [PlannedTask],
      "pageInfo": PageInfo
    }
  }
}

program

Response

Returns a Program!

Arguments
Name Description
_id - ObjectID!

Example

Query
query program($_id: ObjectID!) {
  program(_id: $_id) {
    _id
    yearId
    programCategoryId
    name
    keyName
    moduleKeyName
    moduleCategoryKeyName
    startDate
    endDate
    goalSetting {
      ...GoalSettingFragment
    }
    plannedTaskSetting {
      ...PlannedTaskSettingFragment
    }
    unplannedTaskSetting {
      ...UnplannedTaskSettingFragment
    }
    surveySetting {
      ...SurveySettingFragment
    }
    userFilterRules
    status
    programLabels
    priority
    isActive
    isDeleted
    year {
      ...YearFragment
    }
    programCategory {
      ...ProgramCategoryFragment
    }
    kanbanStage {
      ...KanbanStageFragment
    }
    impactStage {
      ...ImpactStageFragment
    }
    timelineStage {
      ...TimelineStageFragment
    }
    unplannedImpactStage {
      ...ImpactStageFragment
    }
    previousProgram {
      ...ProgramFragment
    }
    surveyReportsPage {
      ...SurveyReportsPageFragment
    }
    surveyReportsCount
    surveyReport {
      ...SurveyReportFragment
    }
    filterOptions {
      ...FilterOptionFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "program": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programCategoryId": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "moduleKeyName": "abc123",
      "moduleCategoryKeyName": "xyz789",
      "startDate": 1592577642,
      "endDate": 1592577642,
      "goalSetting": GoalSetting,
      "plannedTaskSetting": PlannedTaskSetting,
      "unplannedTaskSetting": UnplannedTaskSetting,
      "surveySetting": SurveySetting,
      "userFilterRules": [{}],
      "status": "abc123",
      "programLabels": ["abc123"],
      "priority": 123,
      "isActive": false,
      "isDeleted": true,
      "year": Year,
      "programCategory": ProgramCategory,
      "kanbanStage": KanbanStage,
      "impactStage": ImpactStage,
      "timelineStage": TimelineStage,
      "unplannedImpactStage": ImpactStage,
      "previousProgram": Program,
      "surveyReportsPage": SurveyReportsPage,
      "surveyReportsCount": 123,
      "surveyReport": SurveyReport,
      "filterOptions": [FilterOption]
    }
  }
}

programCategoriesPage

Response

Returns a ProgramCategoriesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query programCategoriesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  programCategoriesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ProgramCategoryFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "programCategoriesPage": {
      "docs": [ProgramCategory],
      "pageInfo": PageInfo
    }
  }
}

programCategory

Response

Returns a ProgramCategory!

Arguments
Name Description
_id - ObjectID!

Example

Query
query programCategory($_id: ObjectID!) {
  programCategory(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "programCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 987,
      "isActive": true
    }
  }
}

programType

Response

Returns a ProgramType!

Arguments
Name Description
_id - ObjectID!

Example

Query
query programType($_id: ObjectID!) {
  programType(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "programType": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true
    }
  }
}

programTypesPage

Response

Returns a ProgramTypesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query programTypesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  programTypesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ProgramTypeFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "programTypesPage": {
      "docs": [ProgramType],
      "pageInfo": PageInfo
    }
  }
}

programsPage

Response

Returns a ProgramsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query programsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  programsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ProgramFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "programsPage": {
      "docs": [Program],
      "pageInfo": PageInfo
    }
  }
}

report

Response

Returns a Report!

Arguments
Name Description
_id - ObjectID!

Example

Query
query report($_id: ObjectID!) {
  report(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
    isRTL
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "report": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": true,
      "isRTL": true
    }
  }
}

reportsPage

Response

Returns a ReportsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query reportsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  reportsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...ReportFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "reportsPage": {
      "docs": [Report],
      "pageInfo": PageInfo
    }
  }
}

role

Response

Returns a Role!

Arguments
Name Description
_id - ObjectID!

Example

Query
query role($_id: ObjectID!) {
  role(_id: $_id) {
    _id
    name
    keyName
    parentRoleKeyName
    ability {
      ...AbilityFragment
    }
    features
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "role": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "parentRoleKeyName": "xyz789",
      "ability": [Ability],
      "features": ["abc123"],
      "priority": 123,
      "isActive": true
    }
  }
}

rolesPage

Response

Returns a RolesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query rolesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  rolesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...RoleFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "rolesPage": {
      "docs": [Role],
      "pageInfo": PageInfo
    }
  }
}

startJob

Response

Returns a Boolean

Arguments
Name Description
jobQueueName - String
jobType - String
jobName - String
params - JSONObject

Example

Query
query startJob(
  $jobQueueName: String,
  $jobType: String,
  $jobName: String,
  $params: JSONObject
) {
  startJob(
    jobQueueName: $jobQueueName,
    jobType: $jobType,
    jobName: $jobName,
    params: $params
  )
}
Variables
{
  "jobQueueName": "xyz789",
  "jobType": "xyz789",
  "jobName": "xyz789",
  "params": {}
}
Response
{"data": {"startJob": true}}

supportTicket

Response

Returns a SupportTicket!

Arguments
Name Description
_id - ObjectID!

Example

Query
query supportTicket($_id: ObjectID!) {
  supportTicket(_id: $_id) {
    _id
    userId
    ticketType
    comments {
      ...CommentFragment
    }
    ticketStatus
    priority
    isActive
    commentsPage {
      ...CommentsPageFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "supportTicket": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "ticketType": "abc123",
      "comments": [Comment],
      "ticketStatus": "abc123",
      "priority": 123,
      "isActive": true,
      "commentsPage": CommentsPage
    }
  }
}

supportTicketsPage

Response

Returns a SupportTicketsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query supportTicketsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  supportTicketsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SupportTicketFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "supportTicketsPage": {
      "docs": [SupportTicket],
      "pageInfo": PageInfo
    }
  }
}

surveyAnswerCategoriesPage

Response

Returns a SurveyAnswerCategoriesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyAnswerCategoriesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyAnswerCategoriesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyAnswerCategoryFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyAnswerCategoriesPage": {
      "docs": [SurveyAnswerCategory],
      "pageInfo": PageInfo
    }
  }
}

surveyAnswerCategory

Response

Returns a SurveyAnswerCategory!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveyAnswerCategory($_id: ObjectID!) {
  surveyAnswerCategory(_id: $_id) {
    _id
    name
    keyName
    color
    percentage
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveyAnswerCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "color": "abc123",
      "percentage": 123.45,
      "priority": 123,
      "isActive": false
    }
  }
}

surveyLibrariesPage

Response

Returns a SurveyLibrariesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyLibrariesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyLibrariesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyLibraryFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyLibrariesPage": {
      "docs": [SurveyLibrary],
      "pageInfo": PageInfo
    }
  }
}

surveyLibrary

Response

Returns a SurveyLibrary!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveyLibrary($_id: ObjectID!) {
  surveyLibrary(_id: $_id) {
    _id
    name
    keyName
    version
    isSystem
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveyLibrary": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "version": "abc123",
      "isSystem": true,
      "priority": 987,
      "isActive": true
    }
  }
}

surveyQuestion

Response

Returns a SurveyQuestion!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveyQuestion($_id: ObjectID!) {
  surveyQuestion(_id: $_id) {
    _id
    surveyLibraryQuestionId
    question {
      ...QuestionFragment
    }
    responseBySpecimenKey {
      ...SurveyResponseFragment
    }
    responseBySpecimenId {
      ...SurveyResponseFragment
    }
    isLibraryQuestion
    conversion
    stdDev
    countResponses
    scaleResponseSummary {
      ...ScaleResponseSummaryFragment
    }
    responsesByCheckInId {
      ...ResponseByCheckInFragment
    }
    sentiments {
      ...SentimentFragment
    }
    summary
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveyQuestion": {
      "_id": "5e5677d71bdc2ae76344968c",
      "surveyLibraryQuestionId": "5e5677d71bdc2ae76344968c",
      "question": Question,
      "responseBySpecimenKey": SurveyResponse,
      "responseBySpecimenId": SurveyResponse,
      "isLibraryQuestion": false,
      "conversion": 987.65,
      "stdDev": 987.65,
      "countResponses": 987,
      "scaleResponseSummary": [ScaleResponseSummary],
      "responsesByCheckInId": [ResponseByCheckIn],
      "sentiments": [Sentiment],
      "summary": ["abc123"]
    }
  }
}

surveyQuestionFactor

Response

Returns a SurveyQuestionFactor!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveyQuestionFactor($_id: ObjectID!) {
  surveyQuestionFactor(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
    conversion
    stdDev
    countQuestions
    surveyAnswerCategories {
      ...SurveyAnswerCategoryFragment
    }
    overallRankWithGap {
      ...RankWithGapFragment
    }
    overallRank
    overallGap
    wordCloudWords {
      ...WordCloudWordFragment
    }
    sentiments {
      ...SentimentFragment
    }
    surveyAnswerCompositions {
      ...SurveyAnswerCategoryFragment
    }
    summary
    responsesByCheckInId {
      ...ResponseByCheckInFragment
    }
    responsesTillCheckInId {
      ...ResponseByCheckInFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveyQuestionFactor": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "priority": 123,
      "isActive": true,
      "conversion": 987.65,
      "stdDev": 123.45,
      "countQuestions": 123,
      "surveyAnswerCategories": [SurveyAnswerCategory],
      "overallRankWithGap": RankWithGap,
      "overallRank": 123,
      "overallGap": 987.65,
      "wordCloudWords": [WordCloudWord],
      "sentiments": [Sentiment],
      "surveyAnswerCompositions": [SurveyAnswerCategory],
      "summary": ["abc123"],
      "responsesByCheckInId": [ResponseByCheckIn],
      "responsesTillCheckInId": [ResponseByCheckIn]
    }
  }
}

surveyQuestionFactorsPage

Response

Returns a SurveyQuestionFactorsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyQuestionFactorsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyQuestionFactorsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyQuestionFactorFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyQuestionFactorsPage": {
      "docs": [SurveyQuestionFactor],
      "pageInfo": PageInfo
    }
  }
}

surveyQuestionsByUserIdPage

Response

Returns a SurveyQuestionsPage!

Arguments
Name Description
userId - ObjectID
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyQuestionsByUserIdPage(
  $userId: ObjectID,
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyQuestionsByUserIdPage(
    userId: $userId,
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyQuestionFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "userId": "5e5677d71bdc2ae76344968c",
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyQuestionsByUserIdPage": {
      "docs": [SurveyQuestion],
      "pageInfo": PageInfo
    }
  }
}

surveyQuestionsPage

Response

Returns a SurveyQuestionsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyQuestionsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyQuestionsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyQuestionFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyQuestionsPage": {
      "docs": [SurveyQuestion],
      "pageInfo": PageInfo
    }
  }
}

surveyReport

Response

Returns a SurveyReport!

Arguments
Name Description
programId - ObjectID!
userManagerId - ObjectID

Example

Query
query surveyReport(
  $programId: ObjectID!,
  $userManagerId: ObjectID
) {
  surveyReport(
    programId: $programId,
    userManagerId: $userManagerId
  ) {
    reportMode
    programId
    userManagerId
    orgUnitId
    filters {
      ...SurveyReportFiltersFragment
    }
    grpFld
    options {
      ...SurveyReportOptionsFragment
    }
    program {
      ...ProgramFragment
    }
    previousProgram {
      ...ProgramFragment
    }
    myEngReport {
      ...EngReportFragment
    }
    myPrevEngReport {
      ...EngReportFragment
    }
    myDDEngReport {
      ...EngReportFragment
    }
    myDDPrevEngReport {
      ...EngReportFragment
    }
    deptEngReport {
      ...EngReportFragment
    }
    deptPrevEngReport {
      ...EngReportFragment
    }
    deptDDEngReport {
      ...EngReportFragment
    }
    deptDDPrevEngReport {
      ...EngReportFragment
    }
    orgDDEngReport {
      ...EngReportFragment
    }
    orgDDPrevEngReport {
      ...EngReportFragment
    }
  }
}
Variables
{
  "programId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c"
}
Response
{
  "data": {
    "surveyReport": {
      "reportMode": "xyz789",
      "programId": "5e5677d71bdc2ae76344968c",
      "userManagerId": "5e5677d71bdc2ae76344968c",
      "orgUnitId": "5e5677d71bdc2ae76344968c",
      "filters": SurveyReportFilters,
      "grpFld": "abc123",
      "options": SurveyReportOptions,
      "program": Program,
      "previousProgram": Program,
      "myEngReport": [EngReport],
      "myPrevEngReport": [EngReport],
      "myDDEngReport": [EngReport],
      "myDDPrevEngReport": [EngReport],
      "deptEngReport": [EngReport],
      "deptPrevEngReport": [EngReport],
      "deptDDEngReport": [EngReport],
      "deptDDPrevEngReport": [EngReport],
      "orgDDEngReport": [EngReport],
      "orgDDPrevEngReport": [EngReport]
    }
  }
}

surveyReportsPage

Response

Returns a SurveyReportsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyReportsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyReportsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyReportFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyReportsPage": {
      "docs": [SurveyReport],
      "pageInfo": PageInfo
    }
  }
}

surveyResponse

Response

Returns a SurveyResponse!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveyResponse($_id: ObjectID!) {
  surveyResponse(_id: $_id) {
    _id
    surveyForUserId
    surveyQuestionId
    choiceAnswers
    scaleAnswer
    textAnswer
    isNotApplicable
    remark
    isActive
    isDeleted
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveyResponse": {
      "_id": "5e5677d71bdc2ae76344968c",
      "surveyForUserId": "5e5677d71bdc2ae76344968c",
      "surveyQuestionId": "5e5677d71bdc2ae76344968c",
      "choiceAnswers": ["xyz789"],
      "scaleAnswer": 123,
      "textAnswer": "xyz789",
      "isNotApplicable": false,
      "remark": "abc123",
      "isActive": false,
      "isDeleted": false
    }
  }
}

surveyResponsesByUserIdPage

Response

Returns a SurveyResponsesPage!

Arguments
Name Description
userId - ObjectID
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyResponsesByUserIdPage(
  $userId: ObjectID,
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyResponsesByUserIdPage(
    userId: $userId,
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyResponseFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "userId": "5e5677d71bdc2ae76344968c",
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyResponsesByUserIdPage": {
      "docs": [SurveyResponse],
      "pageInfo": PageInfo
    }
  }
}

surveyResponsesPage

Response

Returns a SurveyResponsesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyResponsesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyResponsesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyResponseFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyResponsesPage": {
      "docs": [SurveyResponse],
      "pageInfo": PageInfo
    }
  }
}

surveySpecimen

Response

Returns a SurveySpecimen!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveySpecimen($_id: ObjectID!) {
  surveySpecimen(_id: $_id) {
    _id
    programId
    program {
      ...ProgramFragment
    }
    userId
    user {
      ...UserFragment
    }
    isOpen
    isActive
    responses {
      ...SurveyResponseFragment
    }
    surveyQuestions {
      ...SurveyQuestionFragment
    }
    surveySpecimenKey
    participants {
      ...UserFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveySpecimen": {
      "_id": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "user": User,
      "isOpen": true,
      "isActive": false,
      "responses": [SurveyResponse],
      "surveyQuestions": [SurveyQuestion],
      "surveySpecimenKey": "xyz789",
      "participants": [User]
    }
  }
}

surveySpecimenByKey

Response

Returns a SurveySpecimen

Arguments
Name Description
specimenKey - String!

Example

Query
query surveySpecimenByKey($specimenKey: String!) {
  surveySpecimenByKey(specimenKey: $specimenKey) {
    _id
    programId
    program {
      ...ProgramFragment
    }
    userId
    user {
      ...UserFragment
    }
    isOpen
    isActive
    responses {
      ...SurveyResponseFragment
    }
    surveyQuestions {
      ...SurveyQuestionFragment
    }
    surveySpecimenKey
    participants {
      ...UserFragment
    }
  }
}
Variables
{"specimenKey": "xyz789"}
Response
{
  "data": {
    "surveySpecimenByKey": {
      "_id": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "user": User,
      "isOpen": true,
      "isActive": false,
      "responses": [SurveyResponse],
      "surveyQuestions": [SurveyQuestion],
      "surveySpecimenKey": "xyz789",
      "participants": [User]
    }
  }
}

surveySpecimensByUserIdPage

Response

Returns a SurveySpecimensPage!

Arguments
Name Description
userId - ObjectID
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveySpecimensByUserIdPage(
  $userId: ObjectID,
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveySpecimensByUserIdPage(
    userId: $userId,
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveySpecimenFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "userId": "5e5677d71bdc2ae76344968c",
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveySpecimensByUserIdPage": {
      "docs": [SurveySpecimen],
      "pageInfo": PageInfo
    }
  }
}

surveySpecimensPage

Response

Returns a SurveySpecimensPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveySpecimensPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveySpecimensPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveySpecimenFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveySpecimensPage": {
      "docs": [SurveySpecimen],
      "pageInfo": PageInfo
    }
  }
}

surveyType

Response

Returns a SurveyType!

Arguments
Name Description
_id - ObjectID!

Example

Query
query surveyType($_id: ObjectID!) {
  surveyType(_id: $_id) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "surveyType": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 123,
      "isActive": true
    }
  }
}

surveyTypesPage

Response

Returns a SurveyTypesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query surveyTypesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  surveyTypesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...SurveyTypeFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "surveyTypesPage": {
      "docs": [SurveyType],
      "pageInfo": PageInfo
    }
  }
}

tag

Response

Returns a Tag!

Arguments
Name Description
_id - ObjectID!

Example

Query
query tag($_id: ObjectID!) {
  tag(_id: $_id) {
    _id
    name
    keyName
    type
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "tag": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "type": "xyz789",
      "priority": 987,
      "isActive": true
    }
  }
}

tags

Response

Returns a TagsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query tags(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  tags(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...TagFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "tags": {
      "docs": [Tag],
      "pageInfo": PageInfo
    }
  }
}

termProgram

Response

Returns a TermProgram!

Arguments
Name Description
_id - ObjectID!

Example

Query
query termProgram($_id: ObjectID!) {
  termProgram(_id: $_id) {
    _id
    name
    userId
    programId
    assignDate
    deAssignDate
    isOpen
    isActive
    isDeleted
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    myCompanyGoalsPage {
      ...CommunityGoalsPageFragment
    }
    myCommunityGoalsPage {
      ...CommunityGoalsPageFragment
    }
    approvedGoalsPage {
      ...GoalsPageFragment
    }
    withObstacleGoalsPage {
      ...GoalsPageFragment
    }
    draftGoalsPage {
      ...GoalsPageFragment
    }
    trashedGoalsPage {
      ...GoalsPageFragment
    }
    taggedGoalsPage {
      ...GoalsPageFragment
    }
    checkInGoalsPage {
      ...GoalsPageFragment
    }
    approvedGoalsFacts {
      ...FactFragment
    }
    draftGoalsFacts {
      ...FactFragment
    }
    trashedGoalsFacts {
      ...FactFragment
    }
    taggedGoalsFacts {
      ...FactFragment
    }
    submittedGoalsFacts {
      ...FactFragment
    }
    goalsFacts {
      ...FactFragment
    }
    plannedTasksPage {
      ...PlannedTasksPageFragment
    }
    plannedTasksFacts {
      ...FactFragment
    }
    taggedPlannedTasksPage {
      ...PlannedTasksPageFragment
    }
    taggedPlannedTasksFacts {
      ...FactFragment
    }
    unplannedTasksPage {
      ...UnplannedTasksPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    attendancesPage {
      ...AttendancesPageFragment
    }
    attendancesFacts {
      ...FactFragment
    }
    checkInsPage {
      ...CheckInsPageFragment
    }
    checkInsFacts {
      ...FactFragment
    }
    appraisalsPage {
      ...AppraisalsPageFragment
    }
    appraisalsFacts {
      ...FactFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "termProgram": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "assignDate": 1592577642,
      "deAssignDate": 1592577642,
      "isOpen": true,
      "isActive": false,
      "isDeleted": false,
      "user": User,
      "program": Program,
      "myCompanyGoalsPage": CommunityGoalsPage,
      "myCommunityGoalsPage": CommunityGoalsPage,
      "approvedGoalsPage": GoalsPage,
      "withObstacleGoalsPage": GoalsPage,
      "draftGoalsPage": GoalsPage,
      "trashedGoalsPage": GoalsPage,
      "taggedGoalsPage": GoalsPage,
      "checkInGoalsPage": GoalsPage,
      "approvedGoalsFacts": [Fact],
      "draftGoalsFacts": [Fact],
      "trashedGoalsFacts": [Fact],
      "taggedGoalsFacts": [Fact],
      "submittedGoalsFacts": [Fact],
      "goalsFacts": [Fact],
      "plannedTasksPage": PlannedTasksPage,
      "plannedTasksFacts": [Fact],
      "taggedPlannedTasksPage": PlannedTasksPage,
      "taggedPlannedTasksFacts": [Fact],
      "unplannedTasksPage": UnplannedTasksPage,
      "unplannedTasksFacts": [Fact],
      "attendancesPage": AttendancesPage,
      "attendancesFacts": [Fact],
      "checkInsPage": CheckInsPage,
      "checkInsFacts": [Fact],
      "appraisalsPage": AppraisalsPage,
      "appraisalsFacts": [Fact]
    }
  }
}

termProgramsByUserIdPage

Response

Returns a TermProgramsPage!

Arguments
Name Description
userId - ObjectID
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query termProgramsByUserIdPage(
  $userId: ObjectID,
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  termProgramsByUserIdPage(
    userId: $userId,
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...TermProgramFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "userId": "5e5677d71bdc2ae76344968c",
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "termProgramsByUserIdPage": {
      "docs": [TermProgram],
      "pageInfo": PageInfo
    }
  }
}

termprogramsPage

Response

Returns a TermProgramsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query termprogramsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  termprogramsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...TermProgramFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "termprogramsPage": {
      "docs": [TermProgram],
      "pageInfo": PageInfo
    }
  }
}

trackingStatus

Response

Returns a TrackingStatus!

Arguments
Name Description
_id - ObjectID!

Example

Query
query trackingStatus($_id: ObjectID!) {
  trackingStatus(_id: $_id) {
    _id
    name
    keyName
    isGoalTrackingStatus
    isTaskTrackingStatus
    priority
    isActive
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "trackingStatus": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "isGoalTrackingStatus": false,
      "isTaskTrackingStatus": false,
      "priority": 123,
      "isActive": true
    }
  }
}

trackingStatusesPage

Response

Returns a TrackingStatusesPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query trackingStatusesPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  trackingStatusesPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...TrackingStatusFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "trackingStatusesPage": {
      "docs": [TrackingStatus],
      "pageInfo": PageInfo
    }
  }
}

unplannedTask

Response

Returns an UnplannedTask!

Arguments
Name Description
_id - ObjectID!

Example

Query
query unplannedTask($_id: ObjectID!) {
  unplannedTask(_id: $_id) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    unplannedTaskType
    unplannedTaskDetail {
      ...UnplannedTaskDetailFragment
    }
    comments {
      ...CommentFragment
    }
    reactions {
      ...ReactionFragment
    }
    impactStageId
    impactStage {
      ...ImpactStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    unplannedTaskCommentsFacts {
      ...FactFragment
    }
    myUnplannedTaskReaction {
      ...ReactionFragment
    }
    unplannedTaskReactionsFacts {
      ...FactFragment
    }
    unplannedTaskReactionsPage {
      ...ReactionsPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    views
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "unplannedTask": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "unplannedTaskType": "xyz789",
      "unplannedTaskDetail": UnplannedTaskDetail,
      "comments": [Comment],
      "reactions": [Reaction],
      "impactStageId": "5e5677d71bdc2ae76344968c",
      "impactStage": ImpactStage,
      "trackingStatus": "abc123",
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "unplannedTaskCommentsFacts": [Fact],
      "myUnplannedTaskReaction": Reaction,
      "unplannedTaskReactionsFacts": [Fact],
      "unplannedTaskReactionsPage": ReactionsPage,
      "unplannedTasksFacts": [Fact],
      "views": 123
    }
  }
}

unplannedTasksPage

Response

Returns an UnplannedTasksPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query unplannedTasksPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  unplannedTasksPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...UnplannedTaskFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "unplannedTasksPage": {
      "docs": [UnplannedTask],
      "pageInfo": PageInfo
    }
  }
}

user

Response

Returns a User!

Arguments
Name Description
userNameOrId - String

Example

Query
query user($userNameOrId: String) {
  user(userNameOrId: $userNameOrId) {
    _id
    userName
    empCode
    preferredName
    firstName
    lastName
    email
    mobileNumber
    isEmailVerified
    isMobileNumberVerified
    imageUrl
    profilePic {
      ...FileFragment
    }
    managers {
      ...ManagerFragment
    }
    orgUnits
    designation
    path
    aboutMe
    myStatus
    isReportAppDiagnosticData
    isActive
    dummy
    progress
    overallGoalProgress
    ytdRating
    teamOverallGoalProgress
    peersOverallGoalProgress
    isManager
    managerId
    myRoles {
      ...ManagerTypeFragment
    }
    cognitoInfo {
      ...User_CognitoInfoFragment
    }
    cognitoGroups {
      ...User_CognitoGroupFragment
    }
    tokenRoles
    tokenAbility {
      ...AbilityFragment
    }
    roles {
      ...RoleFragment
    }
    ability {
      ...AbilityFragment
    }
    rbacRoles
    permissions {
      ...User_PermissionFragment
    }
    terms {
      ...TermFragment
    }
    isMFAEnabled
    years {
      ...YearFragment
    }
    moduleCategories {
      ...UserModuelCategoryFragment
    }
    termPrograms {
      ...TermProgramFragment
    }
    termProgramsPage {
      ...TermProgramsPageFragment
    }
    termsPage {
      ...TermsPageFragment
    }
    termsFacts {
      ...FactFragment
    }
    latestSupportTicket {
      ...SupportTicketFragment
    }
    peersPage {
      ...UsersPageFragment
    }
    myManager {
      ...UserFragment
    }
    myEvaluator {
      ...UserFragment
    }
    directReportsPage {
      ...UsersPageFragment
    }
    directReportsFact {
      ...FactFragment
    }
    managersInMyDirectReportsPage {
      ...UsersPageFragment
    }
    orgUnit
    organizationUnit {
      ...OrgUnitFragment
    }
    myCEO {
      ...UserFragment
    }
    inDirectReportsPage {
      ...UsersPageFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    latestTermProgram {
      ...TermProgramFragment
    }
    userFilterOptions {
      ...UserFilterOptionFragment
    }
    subUsersPage {
      ...UsersPageFragment
    }
    myCompanyGoalsPage {
      ...CommunityGoalsPageFragment
    }
    myCommunityGoalsPage {
      ...CommunityGoalsPageFragment
    }
    approvedGoalsPage {
      ...GoalsPageFragment
    }
    completedGoalsPage {
      ...GoalsPageFragment
    }
    canceledGoalsPage {
      ...GoalsPageFragment
    }
    draftGoalsPage {
      ...GoalsPageFragment
    }
    trashedGoalsPage {
      ...GoalsPageFragment
    }
    taggedGoalsPage {
      ...GoalsPageFragment
    }
    goalCreationStatus
    goalCreationStatusFacts {
      ...FactFragment
    }
    approvedGoalsFacts {
      ...FactFragment
    }
    draftGoalsFacts {
      ...FactFragment
    }
    trashedGoalsFacts {
      ...FactFragment
    }
    taggedGoalsFacts {
      ...FactFragment
    }
    submittedGoalsFacts {
      ...FactFragment
    }
    goalsFacts {
      ...FactFragment
    }
    plannedTasksPage {
      ...PlannedTasksPageFragment
    }
    plannedTasksFacts {
      ...FactFragment
    }
    taggedPlannedTasksPage {
      ...PlannedTasksPageFragment
    }
    taggedPlannedTasksFacts {
      ...FactFragment
    }
    unplannedTasksPage {
      ...UnplannedTasksPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    attendancesPage {
      ...AttendancesPageFragment
    }
    attendancesFacts {
      ...FactFragment
    }
    notificationsPage {
      ...NotificationsPageFragment
    }
    surveyScore
    surveySpecimensPage {
      ...SurveySpecimensPageFragment
    }
    socketUrl
    programsOfDirectReportsPage {
      ...ProgramsPageFragment
    }
    surveyReport {
      ...SurveyReportFragment
    }
    surveyReportWithPrevSurveyReport {
      ...SurveyReportFragment
    }
  }
}
Variables
{"userNameOrId": "xyz789"}
Response
{
  "data": {
    "user": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userName": "abc123",
      "empCode": "abc123",
      "preferredName": "xyz789",
      "firstName": "abc123",
      "lastName": "abc123",
      "email": "abc123",
      "mobileNumber": "abc123",
      "isEmailVerified": false,
      "isMobileNumberVerified": true,
      "imageUrl": "xyz789",
      "profilePic": File,
      "managers": [Manager],
      "orgUnits": [
        "5e5677d71bdc2ae76344968c"
      ],
      "designation": "abc123",
      "path": "xyz789",
      "aboutMe": "xyz789",
      "myStatus": "xyz789",
      "isReportAppDiagnosticData": false,
      "isActive": true,
      "dummy": "abc123",
      "progress": 987.65,
      "overallGoalProgress": 123.45,
      "ytdRating": 987.65,
      "teamOverallGoalProgress": 123.45,
      "peersOverallGoalProgress": 123.45,
      "isManager": false,
      "managerId": "abc123",
      "myRoles": [ManagerType],
      "cognitoInfo": User_CognitoInfo,
      "cognitoGroups": [User_CognitoGroup],
      "tokenRoles": ["xyz789"],
      "tokenAbility": [Ability],
      "roles": [Role],
      "ability": [Ability],
      "rbacRoles": ["xyz789"],
      "permissions": [User_Permission],
      "terms": [Term],
      "isMFAEnabled": false,
      "years": [Year],
      "moduleCategories": [UserModuelCategory],
      "termPrograms": [TermProgram],
      "termProgramsPage": TermProgramsPage,
      "termsPage": TermsPage,
      "termsFacts": [Fact],
      "latestSupportTicket": SupportTicket,
      "peersPage": UsersPage,
      "myManager": User,
      "myEvaluator": User,
      "directReportsPage": UsersPage,
      "directReportsFact": [Fact],
      "managersInMyDirectReportsPage": UsersPage,
      "orgUnit": "abc123",
      "organizationUnit": OrgUnit,
      "myCEO": User,
      "inDirectReportsPage": UsersPage,
      "termProgram": TermProgram,
      "latestTermProgram": TermProgram,
      "userFilterOptions": [UserFilterOption],
      "subUsersPage": UsersPage,
      "myCompanyGoalsPage": CommunityGoalsPage,
      "myCommunityGoalsPage": CommunityGoalsPage,
      "approvedGoalsPage": GoalsPage,
      "completedGoalsPage": GoalsPage,
      "canceledGoalsPage": GoalsPage,
      "draftGoalsPage": GoalsPage,
      "trashedGoalsPage": GoalsPage,
      "taggedGoalsPage": GoalsPage,
      "goalCreationStatus": "xyz789",
      "goalCreationStatusFacts": [Fact],
      "approvedGoalsFacts": [Fact],
      "draftGoalsFacts": [Fact],
      "trashedGoalsFacts": [Fact],
      "taggedGoalsFacts": [Fact],
      "submittedGoalsFacts": [Fact],
      "goalsFacts": [Fact],
      "plannedTasksPage": PlannedTasksPage,
      "plannedTasksFacts": [Fact],
      "taggedPlannedTasksPage": PlannedTasksPage,
      "taggedPlannedTasksFacts": [Fact],
      "unplannedTasksPage": UnplannedTasksPage,
      "unplannedTasksFacts": [Fact],
      "attendancesPage": AttendancesPage,
      "attendancesFacts": [Fact],
      "notificationsPage": NotificationsPage,
      "surveyScore": "abc123",
      "surveySpecimensPage": SurveySpecimensPage,
      "socketUrl": "xyz789",
      "programsOfDirectReportsPage": ProgramsPage,
      "surveyReport": SurveyReport,
      "surveyReportWithPrevSurveyReport": SurveyReport
    }
  }
}

usersPage

Response

Returns a UsersPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query usersPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  usersPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...UserFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "usersPage": {
      "docs": [User],
      "pageInfo": PageInfo
    }
  }
}

year

Response

Returns a Year!

Arguments
Name Description
_id - ObjectID!

Example

Query
query year($_id: ObjectID!) {
  year(_id: $_id) {
    _id
    userId
    name
    keyName
    priority
    isActive
    userModuleCategories {
      ...UserModuelCategoryFragment
    }
  }
}
Variables
{"_id": "5e5677d71bdc2ae76344968c"}
Response
{
  "data": {
    "year": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true,
      "userModuleCategories": [UserModuelCategory]
    }
  }
}

years

Response

Returns [Year]

Arguments
Name Description
search - JSONString

Example

Query
query years($search: JSONString) {
  years(search: $search) {
    _id
    userId
    name
    keyName
    priority
    isActive
    userModuleCategories {
      ...UserModuelCategoryFragment
    }
  }
}
Variables
{"search": JSONString}
Response
{
  "data": {
    "years": [
      {
        "_id": "5e5677d71bdc2ae76344968c",
        "userId": "5e5677d71bdc2ae76344968c",
        "name": "xyz789",
        "keyName": "xyz789",
        "priority": 123,
        "isActive": false,
        "userModuleCategories": [UserModuelCategory]
      }
    ]
  }
}

yearsPage

Response

Returns a YearsPage!

Arguments
Name Description
searchOptions - SearchOptions
listOptions - ListOptions

Example

Query
query yearsPage(
  $searchOptions: SearchOptions,
  $listOptions: ListOptions
) {
  yearsPage(
    searchOptions: $searchOptions,
    listOptions: $listOptions
  ) {
    docs {
      ...YearFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "searchOptions": SearchOptions,
  "listOptions": ListOptions
}
Response
{
  "data": {
    "yearsPage": {
      "docs": [Year],
      "pageInfo": PageInfo
    }
  }
}

Mutations

addAttendanceLog

Description

DEPRECATED To add an attendance entry. Access allowed to WeSoar Super Admin.

Response

Returns an Attendance

Arguments
Name Description
params - AddAttendanceLogParams!
options - AddAttendanceLogOptions

Example

Query
mutation addAttendanceLog(
  $params: AddAttendanceLogParams!,
  $options: AddAttendanceLogOptions
) {
  addAttendanceLog(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    userId
    attendanceLogs {
      ...AttendanceLogFragment
    }
    isActive
    isDeleted
    attendanceLogsPage {
      ...AttendanceLogsPageFragment
    }
    attendanceLogForDate {
      ...AttendanceLogFragment
    }
  }
}
Variables
{
  "params": AddAttendanceLogParams,
  "options": AddAttendanceLogOptions
}
Response
{
  "data": {
    "addAttendanceLog": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "attendanceLogs": [AttendanceLog],
      "isActive": false,
      "isDeleted": false,
      "attendanceLogsPage": AttendanceLogsPage,
      "attendanceLogForDate": AttendanceLog
    }
  }
}

addComment

Description

To add a comment. Access allowed to authenticated user.

Response

Returns a CommentsPage

Arguments
Name Description
params - AddCommentParams!
rootOptions - RootOptions

Example

Query
mutation addComment(
  $params: AddCommentParams!,
  $rootOptions: RootOptions
) {
  addComment(
    params: $params,
    rootOptions: $rootOptions
  ) {
    docs {
      ...CommentFragment
    }
    pageInfo {
      ...PageInfoFragment
    }
  }
}
Variables
{
  "params": AddCommentParams,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "addComment": {
      "docs": [Comment],
      "pageInfo": PageInfo
    }
  }
}

addCommentReaction

Description

To add a comment reaction. Access allowed to authenticated user.

Response

Returns a Comment

Arguments
Name Description
params - AddCommentReactionParams!
rootOptions - RootOptions

Example

Query
mutation addCommentReaction(
  $params: AddCommentReactionParams!,
  $rootOptions: RootOptions
) {
  addCommentReaction(
    params: $params,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "params": AddCommentReactionParams,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "addCommentReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "abc123",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": false,
      "isDeleted": false,
      "commentDate": 1592577642,
      "type": "abc123",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

addConversationMetas

Description

To add Conversation Metas. Access allowed to Authenticated User.

Response

Returns a Conversation

Arguments
Name Description
params - AddConversationMetasParams!
options - AddConversationMetasOptions

Example

Query
mutation addConversationMetas(
  $params: AddConversationMetasParams!,
  $options: AddConversationMetasOptions
) {
  addConversationMetas(
    params: $params,
    options: $options
  ) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{
  "params": AddConversationMetasParams,
  "options": AddConversationMetasOptions
}
Response
{
  "data": {
    "addConversationMetas": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "description": "abc123",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "xyz789",
      "fldName": "xyz789",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 123,
      "isActive": true,
      "isDeleted": false,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 123
    }
  }
}

addConversationSubscribers

Description

To add Conversation Subscribers. Access allowed to Authenticated User.

Response

Returns a Conversation

Arguments
Name Description
params - AddConversationSubscribersParams!
options - AddConversationSubscribersOptions

Example

Query
mutation addConversationSubscribers(
  $params: AddConversationSubscribersParams!,
  $options: AddConversationSubscribersOptions
) {
  addConversationSubscribers(
    params: $params,
    options: $options
  ) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{
  "params": AddConversationSubscribersParams,
  "options": AddConversationSubscribersOptions
}
Response
{
  "data": {
    "addConversationSubscribers": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "description": "xyz789",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "abc123",
      "fldName": "xyz789",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 987,
      "isActive": true,
      "isDeleted": false,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 987
    }
  }
}

addGoalAppraisal

Description

DEPRECATED To add Goal Appraisal. Access allowed to WeSoar Super Admin.

Response

Returns a Goal

Arguments
Name Description
params - AddGoalAppraisalParams!
options - AddGoalAppraisalOptions

Example

Query
mutation addGoalAppraisal(
  $params: AddGoalAppraisalParams!,
  $options: AddGoalAppraisalOptions
) {
  addGoalAppraisal(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": AddGoalAppraisalParams,
  "options": AddGoalAppraisalOptions
}
Response
{
  "data": {
    "addGoalAppraisal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "abc123",
      "goalType": "abc123",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "abc123",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 987,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "abc123",
      "achievement": "xyz789",
      "goalProgress": 123,
      "priority": 987,
      "isActive": true,
      "isShowInPlannedTask": false,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

addGoalCheckIn

Description

DEPRECATED To add Goal CheckIn. Access allowed to WeSoar Super Admin.

Response

Returns a Goal

Arguments
Name Description
params - AddGoalCheckInParams!
options - AddGoalCheckInOptions

Example

Query
mutation addGoalCheckIn(
  $params: AddGoalCheckInParams!,
  $options: AddGoalCheckInOptions
) {
  addGoalCheckIn(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": AddGoalCheckInParams,
  "options": AddGoalCheckInOptions
}
Response
{
  "data": {
    "addGoalCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "xyz789",
      "goalType": "abc123",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "xyz789",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 123,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "xyz789",
      "achievement": "xyz789",
      "goalProgress": 987,
      "priority": 987,
      "isActive": false,
      "isShowInPlannedTask": true,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

addMessage

Response

Returns a Message

Arguments
Name Description
params - AddMessageParams!

Example

Query
mutation addMessage($params: AddMessageParams!) {
  addMessage(params: $params) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"params": AddMessageParams}
Response
{
  "data": {
    "addMessage": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "abc123",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": false,
      "isDeleted": false,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

addMessageReaction

Response

Returns a Message

Arguments
Name Description
params - AddMessageReactionParams!

Example

Query
mutation addMessageReaction($params: AddMessageReactionParams!) {
  addMessageReaction(params: $params) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"params": AddMessageReactionParams}
Response
{
  "data": {
    "addMessageReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "abc123",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": false,
      "isDeleted": false,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

addPlannedTaskFollowUp

Description

To add Planned Task follow up. Access allowed to Authenticated User as per business logic.

Response

Returns a PlannedTask!

Arguments
Name Description
params - AddPlannedTaskFollowUpParams!
options - AddPlannedTaskFollowUpOptions

Example

Query
mutation addPlannedTaskFollowUp(
  $params: AddPlannedTaskFollowUpParams!,
  $options: AddPlannedTaskFollowUpOptions
) {
  addPlannedTaskFollowUp(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{
  "params": AddPlannedTaskFollowUpParams,
  "options": AddPlannedTaskFollowUpOptions
}
Response
{
  "data": {
    "addPlannedTaskFollowUp": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "abc123",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "xyz789",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "abc123",
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 123
    }
  }
}

addPlannedTaskFollowUps

Description

To add Planned Task Follow ups. Access allowed to Authenticated User as per business logic.

Response

Returns a PlannedTask!

Arguments
Name Description
params - AddPlannedTaskFollowUpsParams!
options - AddPlannedTaskFollowUpsOptions

Example

Query
mutation addPlannedTaskFollowUps(
  $params: AddPlannedTaskFollowUpsParams!,
  $options: AddPlannedTaskFollowUpsOptions
) {
  addPlannedTaskFollowUps(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{
  "params": AddPlannedTaskFollowUpsParams,
  "options": AddPlannedTaskFollowUpsOptions
}
Response
{
  "data": {
    "addPlannedTaskFollowUps": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "abc123",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "abc123",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "xyz789",
      "priority": 987,
      "isActive": false,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 123
    }
  }
}

addUnplannedTaskReaction

Description

To add Unplanned Task Reaction. Access allowed to Authenticated User as per business logic.

Response

Returns an UnplannedTask!

Arguments
Name Description
params - AddUnplannedTaskReactionParams!
options - AddUnplannedTaskReactionOptions

Example

Query
mutation addUnplannedTaskReaction(
  $params: AddUnplannedTaskReactionParams!,
  $options: AddUnplannedTaskReactionOptions
) {
  addUnplannedTaskReaction(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    unplannedTaskType
    unplannedTaskDetail {
      ...UnplannedTaskDetailFragment
    }
    comments {
      ...CommentFragment
    }
    reactions {
      ...ReactionFragment
    }
    impactStageId
    impactStage {
      ...ImpactStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    unplannedTaskCommentsFacts {
      ...FactFragment
    }
    myUnplannedTaskReaction {
      ...ReactionFragment
    }
    unplannedTaskReactionsFacts {
      ...FactFragment
    }
    unplannedTaskReactionsPage {
      ...ReactionsPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    views
  }
}
Variables
{
  "params": AddUnplannedTaskReactionParams,
  "options": AddUnplannedTaskReactionOptions
}
Response
{
  "data": {
    "addUnplannedTaskReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "unplannedTaskType": "xyz789",
      "unplannedTaskDetail": UnplannedTaskDetail,
      "comments": [Comment],
      "reactions": [Reaction],
      "impactStageId": "5e5677d71bdc2ae76344968c",
      "impactStage": ImpactStage,
      "trackingStatus": "xyz789",
      "priority": 123,
      "isActive": true,
      "isDeleted": false,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "unplannedTaskCommentsFacts": [Fact],
      "myUnplannedTaskReaction": Reaction,
      "unplannedTaskReactionsFacts": [Fact],
      "unplannedTaskReactionsPage": ReactionsPage,
      "unplannedTasksFacts": [Fact],
      "views": 123
    }
  }
}

adminDisableMfa

Description

DEPRECATED To Admin Disable MFA. Access allowed to WeSoar Super Admin.

Response

Returns an AdminDisableMfaPayload

Arguments
Name Description
params - String

Example

Query
mutation adminDisableMfa($params: String) {
  adminDisableMfa(params: $params) {
    status
  }
}
Variables
{"params": "xyz789"}
Response
{"data": {"adminDisableMfa": {"status": false}}}

adminEnableMfa

Description

DEPRECATED To Admin Enable MFA. Access allowed to WeSoar Super Admin.

Response

Returns an AdminEnableMfaPayload

Arguments
Name Description
params - String

Example

Query
mutation adminEnableMfa($params: String) {
  adminEnableMfa(params: $params) {
    status
  }
}
Variables
{"params": "abc123"}
Response
{"data": {"adminEnableMfa": {"status": false}}}

analyseComments

Description

To analyse Comments. Access allowed to WeSoar Super Admin.

Response

Returns a Boolean

Arguments
Name Description
programId - ObjectID

Example

Query
mutation analyseComments($programId: ObjectID) {
  analyseComments(programId: $programId)
}
Variables
{"programId": "5e5677d71bdc2ae76344968c"}
Response
{"data": {"analyseComments": false}}

assignFeaturesToUser

Description

To assign features to user. Access allowed to WeSoar Super Admin.

Response

Returns an AssignFeaturesToUserPayload

Arguments
Name Description
params - AssignFeaturesToUserParams!
options - AssignFeaturesToUserOptions

Example

Query
mutation assignFeaturesToUser(
  $params: AssignFeaturesToUserParams!,
  $options: AssignFeaturesToUserOptions
) {
  assignFeaturesToUser(
    params: $params,
    options: $options
  ) {
    success
  }
}
Variables
{
  "params": AssignFeaturesToUserParams,
  "options": AssignFeaturesToUserOptions
}
Response
{"data": {"assignFeaturesToUser": {"success": true}}}

assignFeaturesToUsers

Description

To assign features to users. Access allowed to WeSoar Super Admin.

Response

Returns an AssignFeaturesToUsersPayload

Arguments
Name Description
params - AssignFeaturesToUsersParams!
options - AssignFeaturesToUsersOptions

Example

Query
mutation assignFeaturesToUsers(
  $params: AssignFeaturesToUsersParams!,
  $options: AssignFeaturesToUsersOptions
) {
  assignFeaturesToUsers(
    params: $params,
    options: $options
  ) {
    success
  }
}
Variables
{
  "params": AssignFeaturesToUsersParams,
  "options": AssignFeaturesToUsersOptions
}
Response
{"data": {"assignFeaturesToUsers": {"success": false}}}

assignManagerToUser

Description

To assign manager to user. Access allowed to WeSoar Super Admin.

Response

Returns an AssignManagerToUserPayload

Arguments
Name Description
params - AssignManagerToUserParams!
options - AssignManagerToUserOptions

Example

Query
mutation assignManagerToUser(
  $params: AssignManagerToUserParams!,
  $options: AssignManagerToUserOptions
) {
  assignManagerToUser(
    params: $params,
    options: $options
  ) {
    success
  }
}
Variables
{
  "params": AssignManagerToUserParams,
  "options": AssignManagerToUserOptions
}
Response
{"data": {"assignManagerToUser": {"success": false}}}

assignRolesToUser

Description

To assign roles to user. Access allowed to WeSoar Super Admin.

Response

Returns an AssignRolesToUserPayload

Arguments
Name Description
params - AssignRolesToUserParams!
options - AssignRolesToUserOptions

Example

Query
mutation assignRolesToUser(
  $params: AssignRolesToUserParams!,
  $options: AssignRolesToUserOptions
) {
  assignRolesToUser(
    params: $params,
    options: $options
  ) {
    success
  }
}
Variables
{
  "params": AssignRolesToUserParams,
  "options": AssignRolesToUserOptions
}
Response
{"data": {"assignRolesToUser": {"success": false}}}

assignRolesToUsers

Description

To assign roles to users. Access allowed to WeSoar Super Admin.

Response

Returns an AssignRolesToUsersPayload

Arguments
Name Description
params - AssignRolesToUsersParams!
options - AssignRolesToUsersOptions

Example

Query
mutation assignRolesToUsers(
  $params: AssignRolesToUsersParams!,
  $options: AssignRolesToUsersOptions
) {
  assignRolesToUsers(
    params: $params,
    options: $options
  ) {
    success
  }
}
Variables
{
  "params": AssignRolesToUsersParams,
  "options": AssignRolesToUsersOptions
}
Response
{"data": {"assignRolesToUsers": {"success": false}}}

changePassword

Description

DEPRECATED To change password. Access allowed to WeSoar Super Admin.

Response

Returns a ChangePasswordPayload

Arguments
Name Description
params - ChangePasswordParams
options - ChangePasswordOptions

Example

Query
mutation changePassword(
  $params: ChangePasswordParams,
  $options: ChangePasswordOptions
) {
  changePassword(
    params: $params,
    options: $options
  ) {
    status
  }
}
Variables
{
  "params": ChangePasswordParams,
  "options": ChangePasswordOptions
}
Response
{"data": {"changePassword": {"status": true}}}

closeSurvey

Description

To close Survey. Access allowed to WeSoar Super Admin.

Response

Returns a Boolean

Arguments
Name Description
programId - ObjectID

Example

Query
mutation closeSurvey($programId: ObjectID) {
  closeSurvey(programId: $programId)
}
Variables
{"programId": "5e5677d71bdc2ae76344968c"}
Response
{"data": {"closeSurvey": false}}

confirmForgotPassword

Description

DEPRECATED To confirm forgot password OTP. Access allowed to WeSoar Super Admin.

Response

Returns a ConfirmForgotPasswordPayload

Arguments
Name Description
params - ConfirmForgotPasswordParams
options - ConfirmForgotPasswordOptions

Example

Query
mutation confirmForgotPassword(
  $params: ConfirmForgotPasswordParams,
  $options: ConfirmForgotPasswordOptions
) {
  confirmForgotPassword(
    params: $params,
    options: $options
  ) {
    tokens {
      ...TokensFragment
    }
    challenge {
      ...ChallengeFragment
    }
  }
}
Variables
{
  "params": ConfirmForgotPasswordParams,
  "options": ConfirmForgotPasswordOptions
}
Response
{
  "data": {
    "confirmForgotPassword": {
      "tokens": Tokens,
      "challenge": Challenge
    }
  }
}

copyCommunityGoals

Description

To copy Community Goal. Access allowed to authenticated user.

Response

Returns [Goal]

Arguments
Name Description
params - CopyCommunityGoalsParams!
options - CopyCommunityGoalsOptions

Example

Query
mutation copyCommunityGoals(
  $params: CopyCommunityGoalsParams!,
  $options: CopyCommunityGoalsOptions
) {
  copyCommunityGoals(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": CopyCommunityGoalsParams,
  "options": CopyCommunityGoalsOptions
}
Response
{
  "data": {
    "copyCommunityGoals": [
      {
        "_id": "5e5677d71bdc2ae76344968c",
        "yearId": "5e5677d71bdc2ae76344968c",
        "programId": "5e5677d71bdc2ae76344968c",
        "termProgramId": "5e5677d71bdc2ae76344968c",
        "assignedToUserId": "5e5677d71bdc2ae76344968c",
        "assignedByUserId": "5e5677d71bdc2ae76344968c",
        "approvedByUserId": "5e5677d71bdc2ae76344968c",
        "trashedByUserId": "5e5677d71bdc2ae76344968c",
        "assignedDate": 1592577642,
        "updatedDate": 1592577642,
        "submittedDate": 1592577642,
        "approvedDate": 1592577642,
        "trashedDate": 1592577642,
        "deletedDate": 1592577642,
        "hash": "xyz789",
        "goalType": "xyz789",
        "parentGoalId": "5e5677d71bdc2ae76344968c",
        "conversationId": "abc123",
        "goalDetail": GoalDetail,
        "comments": [Comment],
        "obstacles": [Comment],
        "checkInComments": [Comment],
        "appraisalComments": [Comment],
        "views": 987,
        "communityGoalId": "5e5677d71bdc2ae76344968c",
        "trackingStatus": "abc123",
        "achievement": "xyz789",
        "goalProgress": 123,
        "priority": 987,
        "isActive": true,
        "isShowInPlannedTask": true,
        "isShowInUnplannedTask": true,
        "year": Year,
        "program": Program,
        "termProgram": TermProgram,
        "assignedToUser": User,
        "assignedByUser": User,
        "approvedByUser": User,
        "trashedByUser": User,
        "communityGoal": CommunityGoal,
        "parentGoal": Goal,
        "latestCompletedCheckIn": CheckIn,
        "latestCompletedGoalCheckIn": GoalCheckIn,
        "goalCheckIns": [GoalCheckIn],
        "goalAppraisals": [GoalAppraisal],
        "commentsPage": CommentsPage,
        "comment": Comment,
        "obstaclesPage": CommentsPage,
        "obstacle": Comment,
        "checkInCommentsPage": CommentsPage,
        "checkInComment": Comment,
        "appraisalCommentsPage": CommentsPage,
        "appraisalComment": Comment,
        "goalCheckInsPage": GoalCheckInsPage,
        "goalCheckIn": GoalCheckIn,
        "goalAppraisalsPage": GoalAppraisalsPage,
        "goalAppraisal": GoalAppraisal
      }
    ]
  }
}

createAlarm

Description

To create Alarm. Access allowed to WeSoar Super Admin.

Response

Returns an Alarm

Arguments
Name Description
params - CreateAlarmParams!
options - CreateAlarmOptions

Example

Query
mutation createAlarm(
  $params: CreateAlarmParams!,
  $options: CreateAlarmOptions
) {
  createAlarm(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": CreateAlarmParams,
  "options": CreateAlarmOptions
}
Response
{
  "data": {
    "createAlarm": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "priority": 123,
      "isActive": false
    }
  }
}

createAppraisal

Description

To create an appraisal. Access allowed to WeSoar Super Admin.

Response

Returns an Appraisal

Arguments
Name Description
params - CreateAppraisalParams!
options - CreateAppraisalOptions

Example

Query
mutation createAppraisal(
  $params: CreateAppraisalParams!,
  $options: CreateAppraisalOptions
) {
  createAppraisal(
    params: $params,
    options: $options
  ) {
    _id
    termProgramId
    appraisalRating {
      ...AppraisalRatingFragment
    }
    appraisalDate
    name
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    appraisalGoalsPage {
      ...GoalsPageFragment
    }
    priority
    appraisalStatus
    appraisalCalculation
    isDeleted
  }
}
Variables
{
  "params": CreateAppraisalParams,
  "options": CreateAppraisalOptions
}
Response
{
  "data": {
    "createAppraisal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "appraisalRating": AppraisalRating,
      "appraisalDate": 1592577642,
      "name": "abc123",
      "commentsPage": CommentsPage,
      "comment": Comment,
      "appraisalGoalsPage": GoalsPage,
      "priority": 987,
      "appraisalStatus": "xyz789",
      "appraisalCalculation": "xyz789",
      "isDeleted": true
    }
  }
}

createAppraisalForUsers

Description

To publish appraisal for users. Access allowed to WeSoar Super Admin.

Response

Returns [Appraisal]

Arguments
Name Description
params - CreateAppraisalForUsersParams!
options - CreateAppraisalForUsersOptions

Example

Query
mutation createAppraisalForUsers(
  $params: CreateAppraisalForUsersParams!,
  $options: CreateAppraisalForUsersOptions
) {
  createAppraisalForUsers(
    params: $params,
    options: $options
  ) {
    _id
    termProgramId
    appraisalRating {
      ...AppraisalRatingFragment
    }
    appraisalDate
    name
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    appraisalGoalsPage {
      ...GoalsPageFragment
    }
    priority
    appraisalStatus
    appraisalCalculation
    isDeleted
  }
}
Variables
{
  "params": CreateAppraisalForUsersParams,
  "options": CreateAppraisalForUsersOptions
}
Response
{
  "data": {
    "createAppraisalForUsers": [
      {
        "_id": "5e5677d71bdc2ae76344968c",
        "termProgramId": "5e5677d71bdc2ae76344968c",
        "appraisalRating": AppraisalRating,
        "appraisalDate": 1592577642,
        "name": "abc123",
        "commentsPage": CommentsPage,
        "comment": Comment,
        "appraisalGoalsPage": GoalsPage,
        "priority": 123,
        "appraisalStatus": "abc123",
        "appraisalCalculation": "xyz789",
        "isDeleted": false
      }
    ]
  }
}

createAttendance

Description

DEPRECATED To create an attendance. Access allowed to WeSoar Super Admin.

Response

Returns an Attendance!

Arguments
Name Description
params - CreateAttendanceParams!
options - CreateAttendanceOptions

Example

Query
mutation createAttendance(
  $params: CreateAttendanceParams!,
  $options: CreateAttendanceOptions
) {
  createAttendance(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    userId
    attendanceLogs {
      ...AttendanceLogFragment
    }
    isActive
    isDeleted
    attendanceLogsPage {
      ...AttendanceLogsPageFragment
    }
    attendanceLogForDate {
      ...AttendanceLogFragment
    }
  }
}
Variables
{
  "params": CreateAttendanceParams,
  "options": CreateAttendanceOptions
}
Response
{
  "data": {
    "createAttendance": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "attendanceLogs": [AttendanceLog],
      "isActive": true,
      "isDeleted": false,
      "attendanceLogsPage": AttendanceLogsPage,
      "attendanceLogForDate": AttendanceLog
    }
  }
}

createCheckIn

Description

To create a CheckIn. Access allowed to WeSoar Super Admin.

Response

Returns a CheckIn

Arguments
Name Description
params - CreateCheckInParams!
options - CreateCheckInOptions

Example

Query
mutation createCheckIn(
  $params: CreateCheckInParams!,
  $options: CreateCheckInOptions
) {
  createCheckIn(
    params: $params,
    options: $options
  ) {
    _id
    name
    checkInType
    termProgramId
    userId
    programId
    checkInSetting {
      ...CheckInSettingFragment
    }
    checkInDate
    checkInRatings {
      ...CheckInRatingFragment
    }
    priority
    checkInStatus
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    competencies {
      ...SurveyQuestionFragment
    }
    competenciesFPage {
      ...SurveyQuestionFragment
    }
    competenciesPage {
      ...SurveyQuestionsPageFragment
    }
    isDeleted
    latestRating {
      ...CheckInRatingFragment
    }
    checkInRatingsPage {
      ...CheckInRatingsPageFragment
    }
    checkInRatingsFPage {
      ...CheckInRatingFragment
    }
    checkInRatingsFOne {
      ...CheckInRatingFragment
    }
    commentTrailId
    isActiveForEmp
    isActiveForManager
  }
}
Variables
{
  "params": CreateCheckInParams,
  "options": CreateCheckInOptions
}
Response
{
  "data": {
    "createCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "checkInType": "abc123",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "checkInSetting": CheckInSetting,
      "checkInDate": 1592577642,
      "checkInRatings": [CheckInRating],
      "priority": 987,
      "checkInStatus": "xyz789",
      "user": User,
      "program": Program,
      "termProgram": TermProgram,
      "competencies": [SurveyQuestion],
      "competenciesFPage": [SurveyQuestion],
      "competenciesPage": SurveyQuestionsPage,
      "isDeleted": false,
      "latestRating": CheckInRating,
      "checkInRatingsPage": CheckInRatingsPage,
      "checkInRatingsFPage": [CheckInRating],
      "checkInRatingsFOne": CheckInRating,
      "commentTrailId": "5e5677d71bdc2ae76344968c",
      "isActiveForEmp": false,
      "isActiveForManager": true
    }
  }
}

createCheckInForUsers

Description

To publish CheckIn for Users. Access allowed to WeSoar Super Admin.

Response

Returns [CheckIn]

Arguments
Name Description
params - CreateCheckInForUsersParams!
options - CreateCheckInForUsersOptions

Example

Query
mutation createCheckInForUsers(
  $params: CreateCheckInForUsersParams!,
  $options: CreateCheckInForUsersOptions
) {
  createCheckInForUsers(
    params: $params,
    options: $options
  ) {
    _id
    name
    checkInType
    termProgramId
    userId
    programId
    checkInSetting {
      ...CheckInSettingFragment
    }
    checkInDate
    checkInRatings {
      ...CheckInRatingFragment
    }
    priority
    checkInStatus
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    competencies {
      ...SurveyQuestionFragment
    }
    competenciesFPage {
      ...SurveyQuestionFragment
    }
    competenciesPage {
      ...SurveyQuestionsPageFragment
    }
    isDeleted
    latestRating {
      ...CheckInRatingFragment
    }
    checkInRatingsPage {
      ...CheckInRatingsPageFragment
    }
    checkInRatingsFPage {
      ...CheckInRatingFragment
    }
    checkInRatingsFOne {
      ...CheckInRatingFragment
    }
    commentTrailId
    isActiveForEmp
    isActiveForManager
  }
}
Variables
{
  "params": CreateCheckInForUsersParams,
  "options": CreateCheckInForUsersOptions
}
Response
{
  "data": {
    "createCheckInForUsers": [
      {
        "_id": "5e5677d71bdc2ae76344968c",
        "name": "xyz789",
        "checkInType": "abc123",
        "termProgramId": "5e5677d71bdc2ae76344968c",
        "userId": "5e5677d71bdc2ae76344968c",
        "programId": "5e5677d71bdc2ae76344968c",
        "checkInSetting": CheckInSetting,
        "checkInDate": 1592577642,
        "checkInRatings": [CheckInRating],
        "priority": 123,
        "checkInStatus": "abc123",
        "user": User,
        "program": Program,
        "termProgram": TermProgram,
        "competencies": [SurveyQuestion],
        "competenciesFPage": [SurveyQuestion],
        "competenciesPage": SurveyQuestionsPage,
        "isDeleted": true,
        "latestRating": CheckInRating,
        "checkInRatingsPage": CheckInRatingsPage,
        "checkInRatingsFPage": [CheckInRating],
        "checkInRatingsFOne": CheckInRating,
        "commentTrailId": "5e5677d71bdc2ae76344968c",
        "isActiveForEmp": false,
        "isActiveForManager": false
      }
    ]
  }
}

createCommunicationEvent

Description

To create Communication Event. Access allowed to WeSoar Super Admin.

Response

Returns a CommunicationEvent

Arguments
Name Description
params - CreateCommunicationEventParams!
options - CreateCommunicationEventOptions

Example

Query
mutation createCommunicationEvent(
  $params: CreateCommunicationEventParams!,
  $options: CreateCommunicationEventOptions
) {
  createCommunicationEvent(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": CreateCommunicationEventParams,
  "options": CreateCommunicationEventOptions
}
Response
{
  "data": {
    "createCommunicationEvent": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "priority": 123,
      "isActive": false
    }
  }
}

createCommunityGoal

Description

To create Community Goal. Access allowed to WeSoar Super Admin.

Response

Returns a CommunityGoal

Arguments
Name Description
params - CreateCommunityGoalParams!
options - CreateCommunityGoalOptions

Example

Query
mutation createCommunityGoal(
  $params: CreateCommunityGoalParams!,
  $options: CreateCommunityGoalOptions
) {
  createCommunityGoal(
    params: $params,
    options: $options
  ) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{
  "params": CreateCommunityGoalParams,
  "options": CreateCommunityGoalOptions
}
Response
{
  "data": {
    "createCommunityGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "adminUserId": "5e5677d71bdc2ae76344968c",
      "adminUser": User,
      "yearId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "goalType": "abc123",
      "trackingStatus": "xyz789",
      "achievement": "abc123",
      "isCompanyGoal": true,
      "goalDetail": GoalDetail,
      "participations": [Participation],
      "participationsPage": ParticipationsPage,
      "participationsFacts": [Fact],
      "subscriptions": [Participation],
      "subscriptionsPage": SubscriptionsPage,
      "subscriptionsFacts": [Fact],
      "subscribers": [User],
      "subscribersPage": UsersPage,
      "comments": [Comment],
      "progress": 123,
      "goalProgress": 987.65,
      "keyName": "abc123",
      "priority": 123,
      "isActive": false,
      "isDeleted": true,
      "hash": "abc123",
      "isParticipant": true,
      "isSubscriber": false,
      "isAdmin": false,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "comment": Comment
    }
  }
}

createConversation

Description

To create Conversation. Access allowed to Authenticated User.

Response

Returns a Conversation

Arguments
Name Description
params - CreateConversationParams!
options - CreateConversationOptions

Example

Query
mutation createConversation(
  $params: CreateConversationParams!,
  $options: CreateConversationOptions
) {
  createConversation(
    params: $params,
    options: $options
  ) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{
  "params": CreateConversationParams,
  "options": CreateConversationOptions
}
Response
{
  "data": {
    "createConversation": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "description": "abc123",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "xyz789",
      "fldName": "xyz789",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 987
    }
  }
}

createGoal

Description

To create Goal. Access allowed to authenticated user as per business logic.

Response

Returns a Goal!

Arguments
Name Description
params - CreateGoalParams!
options - CreateGoalOptions

Example

Query
mutation createGoal(
  $params: CreateGoalParams!,
  $options: CreateGoalOptions
) {
  createGoal(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": CreateGoalParams,
  "options": CreateGoalOptions
}
Response
{
  "data": {
    "createGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "xyz789",
      "goalType": "abc123",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "xyz789",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 987,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "abc123",
      "achievement": "abc123",
      "goalProgress": 987,
      "priority": 123,
      "isActive": false,
      "isShowInPlannedTask": false,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

createLanguage

Description

To create Language. Access allowed to WeSoar Super Admin.

Response

Returns a Language

Arguments
Name Description
params - CreateLanguageParams!
options - CreateLanguageOptions

Example

Query
mutation createLanguage(
  $params: CreateLanguageParams!,
  $options: CreateLanguageOptions
) {
  createLanguage(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
    isRTL
  }
}
Variables
{
  "params": CreateLanguageParams,
  "options": CreateLanguageOptions
}
Response
{
  "data": {
    "createLanguage": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": true,
      "isRTL": false
    }
  }
}

createMaster

Description

To create Master. Access allowed to WeSoar Super Admin.

Response

Returns a Master!

Arguments
Name Description
params - CreateMasterParams!
modelName - String

Example

Query
mutation createMaster(
  $params: CreateMasterParams!,
  $modelName: String
) {
  createMaster(
    params: $params,
    modelName: $modelName
  ) {
    _id
    name
    keyName
    priority
    isActive
    isDeleted
  }
}
Variables
{
  "params": CreateMasterParams,
  "modelName": "abc123"
}
Response
{
  "data": {
    "createMaster": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": true,
      "isDeleted": true
    }
  }
}

createModule

Description

To create Module. Access allowed to WeSoar Super Admin.

Response

Returns a Module

Arguments
Name Description
params - CreateModuleParams!
options - CreateModuleOptions

Example

Query
mutation createModule(
  $params: CreateModuleParams!,
  $options: CreateModuleOptions
) {
  createModule(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": CreateModuleParams,
  "options": CreateModuleOptions
}
Response
{
  "data": {
    "createModule": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": false
    }
  }
}

createModuleCategory

Description

To create Module Category. Access allowed to WeSoar Super Admin.

Response

Returns a ModuleCategory

Arguments
Name Description
params - CreateModuleCategoryParams!
options - CreateModuleCategoryOptions

Example

Query
mutation createModuleCategory(
  $params: CreateModuleCategoryParams!,
  $options: CreateModuleCategoryOptions
) {
  createModuleCategory(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    modules {
      ...ModuleFragment
    }
    priority
    isActive
  }
}
Variables
{
  "params": CreateModuleCategoryParams,
  "options": CreateModuleCategoryOptions
}
Response
{
  "data": {
    "createModuleCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "modules": [Module],
      "priority": 123,
      "isActive": false
    }
  }
}

createNotification

Description

DEPRECATED To create Notification. Access allowed to WeSoar Super Admin.

Response

Returns a Notification!

Arguments
Name Description
params - CreateNotificationParams!
options - CreateNotificationOptions

Example

Query
mutation createNotification(
  $params: CreateNotificationParams!,
  $options: CreateNotificationOptions
) {
  createNotification(
    params: $params,
    options: $options
  ) {
    _id
    userId
    termProgramId
    notificationDate
    messageData
    payload
    isOpened
    messageText
    messageTitle
    messageUri
    isActive
    isDeleted
  }
}
Variables
{
  "params": CreateNotificationParams,
  "options": CreateNotificationOptions
}
Response
{
  "data": {
    "createNotification": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "notificationDate": 1592577642,
      "messageData": {},
      "payload": {},
      "isOpened": false,
      "messageText": "xyz789",
      "messageTitle": "abc123",
      "messageUri": "xyz789",
      "isActive": false,
      "isDeleted": true
    }
  }
}

createOrgAdmin

Description

To create Organisation Admin. Access allowed to WeSoar Super Admin.

Response

Returns a CreateOrgAdminPayload

Arguments
Name Description
params - CreateOrgAdminParams!
options - CreateOrgAdminOptions

Example

Query
mutation createOrgAdmin(
  $params: CreateOrgAdminParams!,
  $options: CreateOrgAdminOptions
) {
  createOrgAdmin(
    params: $params,
    options: $options
  ) {
    id
    userName
    firstName
    lastName
    empCode
    email
    mobileNumber
    isEmailVerified
    isMobileNumberVerified
  }
}
Variables
{
  "params": CreateOrgAdminParams,
  "options": CreateOrgAdminOptions
}
Response
{
  "data": {
    "createOrgAdmin": {
      "id": "5e5677d71bdc2ae76344968c",
      "userName": "abc123",
      "firstName": "xyz789",
      "lastName": "xyz789",
      "empCode": "abc123",
      "email": "abc123",
      "mobileNumber": "abc123",
      "isEmailVerified": false,
      "isMobileNumberVerified": true
    }
  }
}

createOrgUnit

Description

To create Organisation Unit. Access allowed to WeSoar Super Admin.

Response

Returns an OrgUnit

Arguments
Name Description
params - CreateOrgUnitParams!
options - CreateOrgUnitOptions

Example

Query
mutation createOrgUnit(
  $params: CreateOrgUnitParams!,
  $options: CreateOrgUnitOptions
) {
  createOrgUnit(
    params: $params,
    options: $options
  ) {
    _id
    name
    pid
    keyName
    priority
    isActive
    myRootOrg {
      ...OrgUnitFragment
    }
    childUnitsPage {
      ...OrgUnitsPageFragment
    }
    surveyReportWithPrevSurveyReport {
      ...SurveyReportFragment
    }
  }
}
Variables
{
  "params": CreateOrgUnitParams,
  "options": CreateOrgUnitOptions
}
Response
{
  "data": {
    "createOrgUnit": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "pid": "5e5677d71bdc2ae76344968c",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true,
      "myRootOrg": OrgUnit,
      "childUnitsPage": OrgUnitsPage,
      "surveyReportWithPrevSurveyReport": SurveyReport
    }
  }
}

createOrganisation

Description

To create Organisation. Access allowed to WeSoar Super Admin.

Response

Returns a CreateOrganisationPayload

Arguments
Name Description
params - CreateOrganisationParams!
options - CreateOrganisationOptions

Example

Query
mutation createOrganisation(
  $params: CreateOrganisationParams!,
  $options: CreateOrganisationOptions
) {
  createOrganisation(
    params: $params,
    options: $options
  ) {
    organisation {
      ...CreateOrganisation_Organisation_PayloadFragment
    }
  }
}
Variables
{
  "params": CreateOrganisationParams,
  "options": CreateOrganisationOptions
}
Response
{
  "data": {
    "createOrganisation": {
      "organisation": CreateOrganisation_Organisation_Payload
    }
  }
}

createPlannedTask

Description

To create Planned Task. Access allowed to Authenticated User as per business logic.

Response

Returns a PlannedTask!

Arguments
Name Description
params - CreatePlannedTaskParams!
options - CreatePlannedTaskOptions

Example

Query
mutation createPlannedTask(
  $params: CreatePlannedTaskParams!,
  $options: CreatePlannedTaskOptions
) {
  createPlannedTask(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{
  "params": CreatePlannedTaskParams,
  "options": CreatePlannedTaskOptions
}
Response
{
  "data": {
    "createPlannedTask": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "xyz789",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "xyz789",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "xyz789",
      "priority": 987,
      "isActive": false,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 123
    }
  }
}

createProgram

Description

To create Program. Access allowed to WeSoar Super Admin.

Response

Returns a Program

Arguments
Name Description
params - CreateProgramParams!
options - CreateProgramOptions

Example

Query
mutation createProgram(
  $params: CreateProgramParams!,
  $options: CreateProgramOptions
) {
  createProgram(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programCategoryId
    name
    keyName
    moduleKeyName
    moduleCategoryKeyName
    startDate
    endDate
    goalSetting {
      ...GoalSettingFragment
    }
    plannedTaskSetting {
      ...PlannedTaskSettingFragment
    }
    unplannedTaskSetting {
      ...UnplannedTaskSettingFragment
    }
    surveySetting {
      ...SurveySettingFragment
    }
    userFilterRules
    status
    programLabels
    priority
    isActive
    isDeleted
    year {
      ...YearFragment
    }
    programCategory {
      ...ProgramCategoryFragment
    }
    kanbanStage {
      ...KanbanStageFragment
    }
    impactStage {
      ...ImpactStageFragment
    }
    timelineStage {
      ...TimelineStageFragment
    }
    unplannedImpactStage {
      ...ImpactStageFragment
    }
    previousProgram {
      ...ProgramFragment
    }
    surveyReportsPage {
      ...SurveyReportsPageFragment
    }
    surveyReportsCount
    surveyReport {
      ...SurveyReportFragment
    }
    filterOptions {
      ...FilterOptionFragment
    }
  }
}
Variables
{
  "params": CreateProgramParams,
  "options": CreateProgramOptions
}
Response
{
  "data": {
    "createProgram": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programCategoryId": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "moduleKeyName": "abc123",
      "moduleCategoryKeyName": "abc123",
      "startDate": 1592577642,
      "endDate": 1592577642,
      "goalSetting": GoalSetting,
      "plannedTaskSetting": PlannedTaskSetting,
      "unplannedTaskSetting": UnplannedTaskSetting,
      "surveySetting": SurveySetting,
      "userFilterRules": [{}],
      "status": "abc123",
      "programLabels": ["xyz789"],
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "year": Year,
      "programCategory": ProgramCategory,
      "kanbanStage": KanbanStage,
      "impactStage": ImpactStage,
      "timelineStage": TimelineStage,
      "unplannedImpactStage": ImpactStage,
      "previousProgram": Program,
      "surveyReportsPage": SurveyReportsPage,
      "surveyReportsCount": 987,
      "surveyReport": SurveyReport,
      "filterOptions": [FilterOption]
    }
  }
}

createProgramType

Description

To create Program Type. Access allowed to WeSoar Super Admin.

Response

Returns a ProgramType

Arguments
Name Description
params - CreateProgramTypeParams!
options - CreateProgramTypeOptions

Example

Query
mutation createProgramType(
  $params: CreateProgramTypeParams!,
  $options: CreateProgramTypeOptions
) {
  createProgramType(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": CreateProgramTypeParams,
  "options": CreateProgramTypeOptions
}
Response
{
  "data": {
    "createProgramType": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 987,
      "isActive": true
    }
  }
}

createReport

Description

To create Report Type. Access allowed to WeSoar Super Admin.

Response

Returns a Report

Arguments
Name Description
params - CreateReportParams!
options - CreateReportOptions

Example

Query
mutation createReport(
  $params: CreateReportParams!,
  $options: CreateReportOptions
) {
  createReport(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
    isRTL
  }
}
Variables
{
  "params": CreateReportParams,
  "options": CreateReportOptions
}
Response
{
  "data": {
    "createReport": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 123,
      "isActive": true,
      "isRTL": false
    }
  }
}

createSuperOrganisation

Description

To create Super Organisation. Access allowed to WeSoar Super Admin.

Response

Returns a CreateSuperOrganisationPayload

Arguments
Name Description
params - CreateSuperOrganisationParams!
options - CreateSuperOrganisationOptions

Example

Query
mutation createSuperOrganisation(
  $params: CreateSuperOrganisationParams!,
  $options: CreateSuperOrganisationOptions
) {
  createSuperOrganisation(
    params: $params,
    options: $options
  ) {
    id
    name
    keyName
    wesoarDomain
    organisationGroup
    contactPerson {
      ...CreateSuperOrganisation_Person_PayloadFragment
    }
    registeredAddress {
      ...CreateSuperOrganisation_Address_PayloadFragment
    }
    website
    profilePicUrl
    organisationSize
    organisationIndustry
    organisationType
    organisationStatus
    yearOfEstablishment
    totalRevenue
    objectives
    activationCode
    contractDetails {
      ...CreateSuperOrganisation_ContractDetails_PayloadFragment
    }
    subscriptions {
      ...CreateSuperOrganisation_Subscription_PayloadFragment
    }
    defaultFieldMapping
    technicalData {
      ...CreateSuperOrganisation_TechnicalData_PayloadFragment
    }
  }
}
Variables
{
  "params": CreateSuperOrganisationParams,
  "options": CreateSuperOrganisationOptions
}
Response
{
  "data": {
    "createSuperOrganisation": {
      "id": "4",
      "name": "xyz789",
      "keyName": "xyz789",
      "wesoarDomain": "abc123",
      "organisationGroup": "xyz789",
      "contactPerson": CreateSuperOrganisation_Person_Payload,
      "registeredAddress": CreateSuperOrganisation_Address_Payload,
      "website": "abc123",
      "profilePicUrl": "abc123",
      "organisationSize": "xyz789",
      "organisationIndustry": "abc123",
      "organisationType": "xyz789",
      "organisationStatus": "abc123",
      "yearOfEstablishment": 987,
      "totalRevenue": 123,
      "objectives": "xyz789",
      "activationCode": "abc123",
      "contractDetails": [
        CreateSuperOrganisation_ContractDetails_Payload
      ],
      "subscriptions": [
        CreateSuperOrganisation_Subscription_Payload
      ],
      "defaultFieldMapping": "xyz789",
      "technicalData": CreateSuperOrganisation_TechnicalData_Payload
    }
  }
}

createSurveyAnswerCategory

Description

To create Survey Answer Category. Access allowed to WeSoar Super Admin.

Response

Returns a SurveyAnswerCategory

Arguments
Name Description
params - CreateSurveyAnswerCategoryParams!
options - CreateSurveyAnswerCategoryOptions

Example

Query
mutation createSurveyAnswerCategory(
  $params: CreateSurveyAnswerCategoryParams!,
  $options: CreateSurveyAnswerCategoryOptions
) {
  createSurveyAnswerCategory(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    color
    percentage
    priority
    isActive
  }
}
Variables
{
  "params": CreateSurveyAnswerCategoryParams,
  "options": CreateSurveyAnswerCategoryOptions
}
Response
{
  "data": {
    "createSurveyAnswerCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "color": "abc123",
      "percentage": 123.45,
      "priority": 987,
      "isActive": true
    }
  }
}

createSurveyQuestion

Description

To create Survey Question. Access allowed to WeSoar Super Admin.

Response

Returns a SurveyQuestion

Arguments
Name Description
params - CreateSurveyQuestionParams!
options - CreateSurveyQuestionOptions

Example

Query
mutation createSurveyQuestion(
  $params: CreateSurveyQuestionParams!,
  $options: CreateSurveyQuestionOptions
) {
  createSurveyQuestion(
    params: $params,
    options: $options
  ) {
    _id
    surveyLibraryQuestionId
    question {
      ...QuestionFragment
    }
    responseBySpecimenKey {
      ...SurveyResponseFragment
    }
    responseBySpecimenId {
      ...SurveyResponseFragment
    }
    isLibraryQuestion
    conversion
    stdDev
    countResponses
    scaleResponseSummary {
      ...ScaleResponseSummaryFragment
    }
    responsesByCheckInId {
      ...ResponseByCheckInFragment
    }
    sentiments {
      ...SentimentFragment
    }
    summary
  }
}
Variables
{
  "params": CreateSurveyQuestionParams,
  "options": CreateSurveyQuestionOptions
}
Response
{
  "data": {
    "createSurveyQuestion": {
      "_id": "5e5677d71bdc2ae76344968c",
      "surveyLibraryQuestionId": "5e5677d71bdc2ae76344968c",
      "question": Question,
      "responseBySpecimenKey": SurveyResponse,
      "responseBySpecimenId": SurveyResponse,
      "isLibraryQuestion": true,
      "conversion": 123.45,
      "stdDev": 123.45,
      "countResponses": 987,
      "scaleResponseSummary": [ScaleResponseSummary],
      "responsesByCheckInId": [ResponseByCheckIn],
      "sentiments": [Sentiment],
      "summary": ["abc123"]
    }
  }
}

createSurveyQuestionFactor

Description

To create Survey Question Factor. Access allowed to WeSoar Super Admin.

Response

Returns a SurveyQuestionFactor

Arguments
Name Description
params - CreateSurveyQuestionFactorParams!
options - CreateSurveyQuestionFactorOptions

Example

Query
mutation createSurveyQuestionFactor(
  $params: CreateSurveyQuestionFactorParams!,
  $options: CreateSurveyQuestionFactorOptions
) {
  createSurveyQuestionFactor(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
    conversion
    stdDev
    countQuestions
    surveyAnswerCategories {
      ...SurveyAnswerCategoryFragment
    }
    overallRankWithGap {
      ...RankWithGapFragment
    }
    overallRank
    overallGap
    wordCloudWords {
      ...WordCloudWordFragment
    }
    sentiments {
      ...SentimentFragment
    }
    surveyAnswerCompositions {
      ...SurveyAnswerCategoryFragment
    }
    summary
    responsesByCheckInId {
      ...ResponseByCheckInFragment
    }
    responsesTillCheckInId {
      ...ResponseByCheckInFragment
    }
  }
}
Variables
{
  "params": CreateSurveyQuestionFactorParams,
  "options": CreateSurveyQuestionFactorOptions
}
Response
{
  "data": {
    "createSurveyQuestionFactor": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": false,
      "conversion": 123.45,
      "stdDev": 987.65,
      "countQuestions": 987,
      "surveyAnswerCategories": [SurveyAnswerCategory],
      "overallRankWithGap": RankWithGap,
      "overallRank": 123,
      "overallGap": 123.45,
      "wordCloudWords": [WordCloudWord],
      "sentiments": [Sentiment],
      "surveyAnswerCompositions": [SurveyAnswerCategory],
      "summary": ["xyz789"],
      "responsesByCheckInId": [ResponseByCheckIn],
      "responsesTillCheckInId": [ResponseByCheckIn]
    }
  }
}

createSurveyResponse

Description

To create Survey Response. Access allowed to Survey Respondent.

Response

Returns a SurveyResponse

Arguments
Name Description
params - CreateSurveyResponseParams!
options - CreateSurveyResponseOptions

Example

Query
mutation createSurveyResponse(
  $params: CreateSurveyResponseParams!,
  $options: CreateSurveyResponseOptions
) {
  createSurveyResponse(
    params: $params,
    options: $options
  ) {
    _id
    surveyForUserId
    surveyQuestionId
    choiceAnswers
    scaleAnswer
    textAnswer
    isNotApplicable
    remark
    isActive
    isDeleted
  }
}
Variables
{
  "params": CreateSurveyResponseParams,
  "options": CreateSurveyResponseOptions
}
Response
{
  "data": {
    "createSurveyResponse": {
      "_id": "5e5677d71bdc2ae76344968c",
      "surveyForUserId": "5e5677d71bdc2ae76344968c",
      "surveyQuestionId": "5e5677d71bdc2ae76344968c",
      "choiceAnswers": ["abc123"],
      "scaleAnswer": 123,
      "textAnswer": "xyz789",
      "isNotApplicable": false,
      "remark": "xyz789",
      "isActive": false,
      "isDeleted": false
    }
  }
}

createSurveySpecimen

Description

To create Survey Specimen. Access allowed to Super Admin.

Response

Returns a SurveySpecimen

Arguments
Name Description
params - CreateSurveySpecimenParams!
options - CreateSurveySpecimenOptions

Example

Query
mutation createSurveySpecimen(
  $params: CreateSurveySpecimenParams!,
  $options: CreateSurveySpecimenOptions
) {
  createSurveySpecimen(
    params: $params,
    options: $options
  ) {
    _id
    programId
    program {
      ...ProgramFragment
    }
    userId
    user {
      ...UserFragment
    }
    isOpen
    isActive
    responses {
      ...SurveyResponseFragment
    }
    surveyQuestions {
      ...SurveyQuestionFragment
    }
    surveySpecimenKey
    participants {
      ...UserFragment
    }
  }
}
Variables
{
  "params": CreateSurveySpecimenParams,
  "options": CreateSurveySpecimenOptions
}
Response
{
  "data": {
    "createSurveySpecimen": {
      "_id": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "user": User,
      "isOpen": true,
      "isActive": true,
      "responses": [SurveyResponse],
      "surveyQuestions": [SurveyQuestion],
      "surveySpecimenKey": "abc123",
      "participants": [User]
    }
  }
}

createTermProgram

Description

To create term program. Access allowed to WeSoar Super Admin.

Response

Returns a TermProgram

Arguments
Name Description
params - CreateTermProgramParams!
options - CreateTermProgramOptions

Example

Query
mutation createTermProgram(
  $params: CreateTermProgramParams!,
  $options: CreateTermProgramOptions
) {
  createTermProgram(
    params: $params,
    options: $options
  ) {
    _id
    name
    userId
    programId
    assignDate
    deAssignDate
    isOpen
    isActive
    isDeleted
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    myCompanyGoalsPage {
      ...CommunityGoalsPageFragment
    }
    myCommunityGoalsPage {
      ...CommunityGoalsPageFragment
    }
    approvedGoalsPage {
      ...GoalsPageFragment
    }
    withObstacleGoalsPage {
      ...GoalsPageFragment
    }
    draftGoalsPage {
      ...GoalsPageFragment
    }
    trashedGoalsPage {
      ...GoalsPageFragment
    }
    taggedGoalsPage {
      ...GoalsPageFragment
    }
    checkInGoalsPage {
      ...GoalsPageFragment
    }
    approvedGoalsFacts {
      ...FactFragment
    }
    draftGoalsFacts {
      ...FactFragment
    }
    trashedGoalsFacts {
      ...FactFragment
    }
    taggedGoalsFacts {
      ...FactFragment
    }
    submittedGoalsFacts {
      ...FactFragment
    }
    goalsFacts {
      ...FactFragment
    }
    plannedTasksPage {
      ...PlannedTasksPageFragment
    }
    plannedTasksFacts {
      ...FactFragment
    }
    taggedPlannedTasksPage {
      ...PlannedTasksPageFragment
    }
    taggedPlannedTasksFacts {
      ...FactFragment
    }
    unplannedTasksPage {
      ...UnplannedTasksPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    attendancesPage {
      ...AttendancesPageFragment
    }
    attendancesFacts {
      ...FactFragment
    }
    checkInsPage {
      ...CheckInsPageFragment
    }
    checkInsFacts {
      ...FactFragment
    }
    appraisalsPage {
      ...AppraisalsPageFragment
    }
    appraisalsFacts {
      ...FactFragment
    }
  }
}
Variables
{
  "params": CreateTermProgramParams,
  "options": CreateTermProgramOptions
}
Response
{
  "data": {
    "createTermProgram": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "assignDate": 1592577642,
      "deAssignDate": 1592577642,
      "isOpen": false,
      "isActive": false,
      "isDeleted": true,
      "user": User,
      "program": Program,
      "myCompanyGoalsPage": CommunityGoalsPage,
      "myCommunityGoalsPage": CommunityGoalsPage,
      "approvedGoalsPage": GoalsPage,
      "withObstacleGoalsPage": GoalsPage,
      "draftGoalsPage": GoalsPage,
      "trashedGoalsPage": GoalsPage,
      "taggedGoalsPage": GoalsPage,
      "checkInGoalsPage": GoalsPage,
      "approvedGoalsFacts": [Fact],
      "draftGoalsFacts": [Fact],
      "trashedGoalsFacts": [Fact],
      "taggedGoalsFacts": [Fact],
      "submittedGoalsFacts": [Fact],
      "goalsFacts": [Fact],
      "plannedTasksPage": PlannedTasksPage,
      "plannedTasksFacts": [Fact],
      "taggedPlannedTasksPage": PlannedTasksPage,
      "taggedPlannedTasksFacts": [Fact],
      "unplannedTasksPage": UnplannedTasksPage,
      "unplannedTasksFacts": [Fact],
      "attendancesPage": AttendancesPage,
      "attendancesFacts": [Fact],
      "checkInsPage": CheckInsPage,
      "checkInsFacts": [Fact],
      "appraisalsPage": AppraisalsPage,
      "appraisalsFacts": [Fact]
    }
  }
}

createUnplannedTask

Description

To create Unplanned Task. Access allowed to Authenticated User as per business logic.

Response

Returns an UnplannedTask!

Arguments
Name Description
params - CreateUnplannedTaskParams!
options - CreateUnplannedTaskOptions

Example

Query
mutation createUnplannedTask(
  $params: CreateUnplannedTaskParams!,
  $options: CreateUnplannedTaskOptions
) {
  createUnplannedTask(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    unplannedTaskType
    unplannedTaskDetail {
      ...UnplannedTaskDetailFragment
    }
    comments {
      ...CommentFragment
    }
    reactions {
      ...ReactionFragment
    }
    impactStageId
    impactStage {
      ...ImpactStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    unplannedTaskCommentsFacts {
      ...FactFragment
    }
    myUnplannedTaskReaction {
      ...ReactionFragment
    }
    unplannedTaskReactionsFacts {
      ...FactFragment
    }
    unplannedTaskReactionsPage {
      ...ReactionsPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    views
  }
}
Variables
{
  "params": CreateUnplannedTaskParams,
  "options": CreateUnplannedTaskOptions
}
Response
{
  "data": {
    "createUnplannedTask": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "unplannedTaskType": "xyz789",
      "unplannedTaskDetail": UnplannedTaskDetail,
      "comments": [Comment],
      "reactions": [Reaction],
      "impactStageId": "5e5677d71bdc2ae76344968c",
      "impactStage": ImpactStage,
      "trackingStatus": "abc123",
      "priority": 123,
      "isActive": false,
      "isDeleted": false,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "unplannedTaskCommentsFacts": [Fact],
      "myUnplannedTaskReaction": Reaction,
      "unplannedTaskReactionsFacts": [Fact],
      "unplannedTaskReactionsPage": ReactionsPage,
      "unplannedTasksFacts": [Fact],
      "views": 123
    }
  }
}

createUser

Description

To create user. Access allowed to WeSoar Super Admin.

Response

Returns a User

Arguments
Name Description
params - CreateUserParams!
options - CreateUserOptions

Example

Query
mutation createUser(
  $params: CreateUserParams!,
  $options: CreateUserOptions
) {
  createUser(
    params: $params,
    options: $options
  ) {
    _id
    userName
    empCode
    preferredName
    firstName
    lastName
    email
    mobileNumber
    isEmailVerified
    isMobileNumberVerified
    imageUrl
    profilePic {
      ...FileFragment
    }
    managers {
      ...ManagerFragment
    }
    orgUnits
    designation
    path
    aboutMe
    myStatus
    isReportAppDiagnosticData
    isActive
    dummy
    progress
    overallGoalProgress
    ytdRating
    teamOverallGoalProgress
    peersOverallGoalProgress
    isManager
    managerId
    myRoles {
      ...ManagerTypeFragment
    }
    cognitoInfo {
      ...User_CognitoInfoFragment
    }
    cognitoGroups {
      ...User_CognitoGroupFragment
    }
    tokenRoles
    tokenAbility {
      ...AbilityFragment
    }
    roles {
      ...RoleFragment
    }
    ability {
      ...AbilityFragment
    }
    rbacRoles
    permissions {
      ...User_PermissionFragment
    }
    terms {
      ...TermFragment
    }
    isMFAEnabled
    years {
      ...YearFragment
    }
    moduleCategories {
      ...UserModuelCategoryFragment
    }
    termPrograms {
      ...TermProgramFragment
    }
    termProgramsPage {
      ...TermProgramsPageFragment
    }
    termsPage {
      ...TermsPageFragment
    }
    termsFacts {
      ...FactFragment
    }
    latestSupportTicket {
      ...SupportTicketFragment
    }
    peersPage {
      ...UsersPageFragment
    }
    myManager {
      ...UserFragment
    }
    myEvaluator {
      ...UserFragment
    }
    directReportsPage {
      ...UsersPageFragment
    }
    directReportsFact {
      ...FactFragment
    }
    managersInMyDirectReportsPage {
      ...UsersPageFragment
    }
    orgUnit
    organizationUnit {
      ...OrgUnitFragment
    }
    myCEO {
      ...UserFragment
    }
    inDirectReportsPage {
      ...UsersPageFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    latestTermProgram {
      ...TermProgramFragment
    }
    userFilterOptions {
      ...UserFilterOptionFragment
    }
    subUsersPage {
      ...UsersPageFragment
    }
    myCompanyGoalsPage {
      ...CommunityGoalsPageFragment
    }
    myCommunityGoalsPage {
      ...CommunityGoalsPageFragment
    }
    approvedGoalsPage {
      ...GoalsPageFragment
    }
    completedGoalsPage {
      ...GoalsPageFragment
    }
    canceledGoalsPage {
      ...GoalsPageFragment
    }
    draftGoalsPage {
      ...GoalsPageFragment
    }
    trashedGoalsPage {
      ...GoalsPageFragment
    }
    taggedGoalsPage {
      ...GoalsPageFragment
    }
    goalCreationStatus
    goalCreationStatusFacts {
      ...FactFragment
    }
    approvedGoalsFacts {
      ...FactFragment
    }
    draftGoalsFacts {
      ...FactFragment
    }
    trashedGoalsFacts {
      ...FactFragment
    }
    taggedGoalsFacts {
      ...FactFragment
    }
    submittedGoalsFacts {
      ...FactFragment
    }
    goalsFacts {
      ...FactFragment
    }
    plannedTasksPage {
      ...PlannedTasksPageFragment
    }
    plannedTasksFacts {
      ...FactFragment
    }
    taggedPlannedTasksPage {
      ...PlannedTasksPageFragment
    }
    taggedPlannedTasksFacts {
      ...FactFragment
    }
    unplannedTasksPage {
      ...UnplannedTasksPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    attendancesPage {
      ...AttendancesPageFragment
    }
    attendancesFacts {
      ...FactFragment
    }
    notificationsPage {
      ...NotificationsPageFragment
    }
    surveyScore
    surveySpecimensPage {
      ...SurveySpecimensPageFragment
    }
    socketUrl
    programsOfDirectReportsPage {
      ...ProgramsPageFragment
    }
    surveyReport {
      ...SurveyReportFragment
    }
    surveyReportWithPrevSurveyReport {
      ...SurveyReportFragment
    }
  }
}
Variables
{
  "params": CreateUserParams,
  "options": CreateUserOptions
}
Response
{
  "data": {
    "createUser": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userName": "xyz789",
      "empCode": "xyz789",
      "preferredName": "abc123",
      "firstName": "xyz789",
      "lastName": "abc123",
      "email": "abc123",
      "mobileNumber": "abc123",
      "isEmailVerified": false,
      "isMobileNumberVerified": false,
      "imageUrl": "xyz789",
      "profilePic": File,
      "managers": [Manager],
      "orgUnits": [
        "5e5677d71bdc2ae76344968c"
      ],
      "designation": "xyz789",
      "path": "abc123",
      "aboutMe": "xyz789",
      "myStatus": "xyz789",
      "isReportAppDiagnosticData": true,
      "isActive": true,
      "dummy": "xyz789",
      "progress": 123.45,
      "overallGoalProgress": 123.45,
      "ytdRating": 987.65,
      "teamOverallGoalProgress": 987.65,
      "peersOverallGoalProgress": 987.65,
      "isManager": true,
      "managerId": "xyz789",
      "myRoles": [ManagerType],
      "cognitoInfo": User_CognitoInfo,
      "cognitoGroups": [User_CognitoGroup],
      "tokenRoles": ["xyz789"],
      "tokenAbility": [Ability],
      "roles": [Role],
      "ability": [Ability],
      "rbacRoles": ["abc123"],
      "permissions": [User_Permission],
      "terms": [Term],
      "isMFAEnabled": false,
      "years": [Year],
      "moduleCategories": [UserModuelCategory],
      "termPrograms": [TermProgram],
      "termProgramsPage": TermProgramsPage,
      "termsPage": TermsPage,
      "termsFacts": [Fact],
      "latestSupportTicket": SupportTicket,
      "peersPage": UsersPage,
      "myManager": User,
      "myEvaluator": User,
      "directReportsPage": UsersPage,
      "directReportsFact": [Fact],
      "managersInMyDirectReportsPage": UsersPage,
      "orgUnit": "xyz789",
      "organizationUnit": OrgUnit,
      "myCEO": User,
      "inDirectReportsPage": UsersPage,
      "termProgram": TermProgram,
      "latestTermProgram": TermProgram,
      "userFilterOptions": [UserFilterOption],
      "subUsersPage": UsersPage,
      "myCompanyGoalsPage": CommunityGoalsPage,
      "myCommunityGoalsPage": CommunityGoalsPage,
      "approvedGoalsPage": GoalsPage,
      "completedGoalsPage": GoalsPage,
      "canceledGoalsPage": GoalsPage,
      "draftGoalsPage": GoalsPage,
      "trashedGoalsPage": GoalsPage,
      "taggedGoalsPage": GoalsPage,
      "goalCreationStatus": "xyz789",
      "goalCreationStatusFacts": [Fact],
      "approvedGoalsFacts": [Fact],
      "draftGoalsFacts": [Fact],
      "trashedGoalsFacts": [Fact],
      "taggedGoalsFacts": [Fact],
      "submittedGoalsFacts": [Fact],
      "goalsFacts": [Fact],
      "plannedTasksPage": PlannedTasksPage,
      "plannedTasksFacts": [Fact],
      "taggedPlannedTasksPage": PlannedTasksPage,
      "taggedPlannedTasksFacts": [Fact],
      "unplannedTasksPage": UnplannedTasksPage,
      "unplannedTasksFacts": [Fact],
      "attendancesPage": AttendancesPage,
      "attendancesFacts": [Fact],
      "notificationsPage": NotificationsPage,
      "surveyScore": "abc123",
      "surveySpecimensPage": SurveySpecimensPage,
      "socketUrl": "abc123",
      "programsOfDirectReportsPage": ProgramsPage,
      "surveyReport": SurveyReport,
      "surveyReportWithPrevSurveyReport": SurveyReport
    }
  }
}

createYear

Description

To create Year. Access allowed to WeSoar Super Admin.

Response

Returns a Year

Arguments
Name Description
params - CreateYearParams!
options - CreateYearOptions

Example

Query
mutation createYear(
  $params: CreateYearParams!,
  $options: CreateYearOptions
) {
  createYear(
    params: $params,
    options: $options
  ) {
    _id
    userId
    name
    keyName
    priority
    isActive
    userModuleCategories {
      ...UserModuelCategoryFragment
    }
  }
}
Variables
{
  "params": CreateYearParams,
  "options": CreateYearOptions
}
Response
{
  "data": {
    "createYear": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true,
      "userModuleCategories": [UserModuelCategory]
    }
  }
}

declineCheckIn

Description

To decline CheckIns. Access allowed to authenticated user who is part of CheckIn Workflow as per business logic.

Response

Returns a CheckIn

Arguments
Name Description
checkInId - ObjectID
managerTypeId - ObjectID
userManagerId - ObjectID

Example

Query
mutation declineCheckIn(
  $checkInId: ObjectID,
  $managerTypeId: ObjectID,
  $userManagerId: ObjectID
) {
  declineCheckIn(
    checkInId: $checkInId,
    managerTypeId: $managerTypeId,
    userManagerId: $userManagerId
  ) {
    _id
    name
    checkInType
    termProgramId
    userId
    programId
    checkInSetting {
      ...CheckInSettingFragment
    }
    checkInDate
    checkInRatings {
      ...CheckInRatingFragment
    }
    priority
    checkInStatus
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    competencies {
      ...SurveyQuestionFragment
    }
    competenciesFPage {
      ...SurveyQuestionFragment
    }
    competenciesPage {
      ...SurveyQuestionsPageFragment
    }
    isDeleted
    latestRating {
      ...CheckInRatingFragment
    }
    checkInRatingsPage {
      ...CheckInRatingsPageFragment
    }
    checkInRatingsFPage {
      ...CheckInRatingFragment
    }
    checkInRatingsFOne {
      ...CheckInRatingFragment
    }
    commentTrailId
    isActiveForEmp
    isActiveForManager
  }
}
Variables
{
  "checkInId": "5e5677d71bdc2ae76344968c",
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c"
}
Response
{
  "data": {
    "declineCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "checkInType": "abc123",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "checkInSetting": CheckInSetting,
      "checkInDate": 1592577642,
      "checkInRatings": [CheckInRating],
      "priority": 123,
      "checkInStatus": "abc123",
      "user": User,
      "program": Program,
      "termProgram": TermProgram,
      "competencies": [SurveyQuestion],
      "competenciesFPage": [SurveyQuestion],
      "competenciesPage": SurveyQuestionsPage,
      "isDeleted": false,
      "latestRating": CheckInRating,
      "checkInRatingsPage": CheckInRatingsPage,
      "checkInRatingsFPage": [CheckInRating],
      "checkInRatingsFOne": CheckInRating,
      "commentTrailId": "5e5677d71bdc2ae76344968c",
      "isActiveForEmp": false,
      "isActiveForManager": false
    }
  }
}

deleteAlarms

Description

To delete Alarms. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteAlarmsPayload!

Arguments
Name Description
params - DeleteAlarmsParams!
options - DeleteAlarmsOptions

Example

Query
mutation deleteAlarms(
  $params: DeleteAlarmsParams!,
  $options: DeleteAlarmsOptions
) {
  deleteAlarms(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteAlarmsParams,
  "options": DeleteAlarmsOptions
}
Response
{"data": {"deleteAlarms": {"recordsDeleted": 987}}}

deleteAllNotifications

Description

DEPRECATED To delete all Notifications. Access allowed to Authenticated User.

Response

Returns a DeleteNotificationsPayload!

Arguments
Name Description
dummy - Boolean

Example

Query
mutation deleteAllNotifications($dummy: Boolean) {
  deleteAllNotifications(dummy: $dummy) {
    recordsDeleted
  }
}
Variables
{"dummy": false}
Response
{"data": {"deleteAllNotifications": {"recordsDeleted": 987}}}

deleteAppraisals

Description

To delete an appraisal. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteAppraisalsPayload!

Arguments
Name Description
params - DeleteAppraisalsParams!
options - DeleteAppraisalsOptions

Example

Query
mutation deleteAppraisals(
  $params: DeleteAppraisalsParams!,
  $options: DeleteAppraisalsOptions
) {
  deleteAppraisals(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteAppraisalsParams,
  "options": DeleteAppraisalsOptions
}
Response
{"data": {"deleteAppraisals": {"recordsDeleted": 123}}}

deleteAttendances

Description

DEPRECATED To update attendances. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteAttendancesPayload!

Arguments
Name Description
params - DeleteAttendancesParams!
options - DeleteAttendancesOptions

Example

Query
mutation deleteAttendances(
  $params: DeleteAttendancesParams!,
  $options: DeleteAttendancesOptions
) {
  deleteAttendances(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteAttendancesParams,
  "options": DeleteAttendancesOptions
}
Response
{"data": {"deleteAttendances": {"recordsDeleted": 123}}}

deleteCheckIns

Description

To delete CheckIns. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteCheckInsPayload!

Arguments
Name Description
params - DeleteCheckInsParams!
options - DeleteCheckInsOptions

Example

Query
mutation deleteCheckIns(
  $params: DeleteCheckInsParams!,
  $options: DeleteCheckInsOptions
) {
  deleteCheckIns(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteCheckInsParams,
  "options": DeleteCheckInsOptions
}
Response
{"data": {"deleteCheckIns": {"recordsDeleted": 123}}}

deleteComment

Description

To delete a comment. Access allowed to authenticated user.

Response

Returns a Comment

Arguments
Name Description
params - DeleteCommentParams!
rootOptions - RootOptions

Example

Query
mutation deleteComment(
  $params: DeleteCommentParams!,
  $rootOptions: RootOptions
) {
  deleteComment(
    params: $params,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "params": DeleteCommentParams,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "deleteComment": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "abc123",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": false,
      "isDeleted": true,
      "commentDate": 1592577642,
      "type": "abc123",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

deleteCommunicationEvents

Description

To delete Communication Event. Access allowed to WeSoar Super Admin.

Arguments
Name Description
params - DeleteCommunicationEventsParams!
options - DeleteCommunicationEventsOptions

Example

Query
mutation deleteCommunicationEvents(
  $params: DeleteCommunicationEventsParams!,
  $options: DeleteCommunicationEventsOptions
) {
  deleteCommunicationEvents(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteCommunicationEventsParams,
  "options": DeleteCommunicationEventsOptions
}
Response
{"data": {"deleteCommunicationEvents": {"recordsDeleted": 987}}}

deleteCommunityGoals

Description

To delete Community Goal. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteCommunityGoalsPayload!

Arguments
Name Description
params - DeleteCommunityGoalsParams!
options - DeleteCommunityGoalsOptions

Example

Query
mutation deleteCommunityGoals(
  $params: DeleteCommunityGoalsParams!,
  $options: DeleteCommunityGoalsOptions
) {
  deleteCommunityGoals(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteCommunityGoalsParams,
  "options": DeleteCommunityGoalsOptions
}
Response
{"data": {"deleteCommunityGoals": {"recordsDeleted": 123}}}

deleteConversationMetas

Description

To delete Conversation Metas. Access allowed to Authenticated User.

Response

Returns a Conversation

Arguments
Name Description
params - DeleteConversationMetasParams!
options - DeleteConversationMetasOptions

Example

Query
mutation deleteConversationMetas(
  $params: DeleteConversationMetasParams!,
  $options: DeleteConversationMetasOptions
) {
  deleteConversationMetas(
    params: $params,
    options: $options
  ) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{
  "params": DeleteConversationMetasParams,
  "options": DeleteConversationMetasOptions
}
Response
{
  "data": {
    "deleteConversationMetas": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "description": "xyz789",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "abc123",
      "fldName": "abc123",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 987,
      "isActive": true,
      "isDeleted": false,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 123
    }
  }
}

deleteConversationSubscribers

Description

To delete Conversation Subscribers. Access allowed to Authenticated User.

Response

Returns a Conversation

Arguments
Name Description
params - DeleteConversationSubscribersParams!
options - DeleteConversationSubscribersOptions

Example

Query
mutation deleteConversationSubscribers(
  $params: DeleteConversationSubscribersParams!,
  $options: DeleteConversationSubscribersOptions
) {
  deleteConversationSubscribers(
    params: $params,
    options: $options
  ) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{
  "params": DeleteConversationSubscribersParams,
  "options": DeleteConversationSubscribersOptions
}
Response
{
  "data": {
    "deleteConversationSubscribers": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "description": "abc123",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "xyz789",
      "fldName": "abc123",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 123,
      "isActive": false,
      "isDeleted": true,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 123
    }
  }
}

deleteConversations

Description

To delete Conversation. Access allowed to Authenticated User.

Response

Returns a DeleteConversationsPayload!

Arguments
Name Description
params - DeleteConversationsParams!
options - DeleteConversationsOptions

Example

Query
mutation deleteConversations(
  $params: DeleteConversationsParams!,
  $options: DeleteConversationsOptions
) {
  deleteConversations(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteConversationsParams,
  "options": DeleteConversationsOptions
}
Response
{"data": {"deleteConversations": {"recordsDeleted": 123}}}

deleteGoals

Description

To delete Goals. Access allowed to authenticated user as per business logic.

Response

Returns a DeleteGoalsPayload!

Arguments
Name Description
params - DeleteGoalsParams!
options - DeleteGoalsOptions

Example

Query
mutation deleteGoals(
  $params: DeleteGoalsParams!,
  $options: DeleteGoalsOptions
) {
  deleteGoals(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": DeleteGoalsParams,
  "options": DeleteGoalsOptions
}
Response
{"data": {"deleteGoals": {"recordsUpdated": 987}}}

deleteLanguages

Description

To delete Language. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteLanguagesPayload!

Arguments
Name Description
params - DeleteLanguagesParams!
options - DeleteLanguagesOptions

Example

Query
mutation deleteLanguages(
  $params: DeleteLanguagesParams!,
  $options: DeleteLanguagesOptions
) {
  deleteLanguages(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteLanguagesParams,
  "options": DeleteLanguagesOptions
}
Response
{"data": {"deleteLanguages": {"recordsDeleted": 987}}}

deleteMaster

Description

To delete Master. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteMasterPayload!

Arguments
Name Description
params - DeleteMasterParams!
options - DeleteMasterOptions
modelName - String

Example

Query
mutation deleteMaster(
  $params: DeleteMasterParams!,
  $options: DeleteMasterOptions,
  $modelName: String
) {
  deleteMaster(
    params: $params,
    options: $options,
    modelName: $modelName
  ) {
    status
  }
}
Variables
{
  "params": DeleteMasterParams,
  "options": DeleteMasterOptions,
  "modelName": "xyz789"
}
Response
{"data": {"deleteMaster": {"status": true}}}

deleteMessage

Response

Returns a Message

Arguments
Name Description
params - DeleteMessageParams!

Example

Query
mutation deleteMessage($params: DeleteMessageParams!) {
  deleteMessage(params: $params) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"params": DeleteMessageParams}
Response
{
  "data": {
    "deleteMessage": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "xyz789",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": false,
      "isDeleted": false,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

deleteModuleCategories

Description

To delete Module Categories. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteModuleCategoriesPayload!

Arguments
Name Description
params - DeleteModuleCategoriesParams!
options - DeleteModuleCategoriesOptions

Example

Query
mutation deleteModuleCategories(
  $params: DeleteModuleCategoriesParams!,
  $options: DeleteModuleCategoriesOptions
) {
  deleteModuleCategories(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteModuleCategoriesParams,
  "options": DeleteModuleCategoriesOptions
}
Response
{"data": {"deleteModuleCategories": {"recordsDeleted": 123}}}

deleteModules

Description

To delete Module. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteModulesPayload!

Arguments
Name Description
params - DeleteModulesParams!
options - DeleteModulesOptions

Example

Query
mutation deleteModules(
  $params: DeleteModulesParams!,
  $options: DeleteModulesOptions
) {
  deleteModules(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteModulesParams,
  "options": DeleteModulesOptions
}
Response
{"data": {"deleteModules": {"recordsDeleted": 123}}}

deleteNotifications

Description

DEPRECATED To delete Notifications. Access allowed to Authenticated User.

Response

Returns a DeleteNotificationsPayload!

Arguments
Name Description
params - DeleteNotificationsParams!
options - DeleteNotificationsOptions

Example

Query
mutation deleteNotifications(
  $params: DeleteNotificationsParams!,
  $options: DeleteNotificationsOptions
) {
  deleteNotifications(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteNotificationsParams,
  "options": DeleteNotificationsOptions
}
Response
{"data": {"deleteNotifications": {"recordsDeleted": 123}}}

deleteOrgUnits

Description

To delete Organisation Unit. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteOrgUnitsPayload!

Arguments
Name Description
params - DeleteOrgUnitsParams!
options - DeleteOrgUnitsOptions

Example

Query
mutation deleteOrgUnits(
  $params: DeleteOrgUnitsParams!,
  $options: DeleteOrgUnitsOptions
) {
  deleteOrgUnits(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteOrgUnitsParams,
  "options": DeleteOrgUnitsOptions
}
Response
{"data": {"deleteOrgUnits": {"recordsDeleted": 987}}}

deletePlannedTasks

Description

To delete Planned Tasks. Access allowed to Authenticated User as per business logic.

Response

Returns a DeletePlannedTasksPayload!

Arguments
Name Description
params - DeletePlannedTasksParams!
options - DeletePlannedTasksOptions

Example

Query
mutation deletePlannedTasks(
  $params: DeletePlannedTasksParams!,
  $options: DeletePlannedTasksOptions
) {
  deletePlannedTasks(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeletePlannedTasksParams,
  "options": DeletePlannedTasksOptions
}
Response
{"data": {"deletePlannedTasks": {"recordsDeleted": 987}}}

deleteProgramTypes

Description

To delete Program Type. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteProgramTypesPayload!

Arguments
Name Description
params - DeleteProgramTypesParams!
options - DeleteProgramTypesOptions

Example

Query
mutation deleteProgramTypes(
  $params: DeleteProgramTypesParams!,
  $options: DeleteProgramTypesOptions
) {
  deleteProgramTypes(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteProgramTypesParams,
  "options": DeleteProgramTypesOptions
}
Response
{"data": {"deleteProgramTypes": {"recordsDeleted": 123}}}

deletePrograms

Description

To delete Program. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteProgramsPayload!

Arguments
Name Description
params - DeleteProgramsParams!
options - DeleteProgramsOptions

Example

Query
mutation deletePrograms(
  $params: DeleteProgramsParams!,
  $options: DeleteProgramsOptions
) {
  deletePrograms(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteProgramsParams,
  "options": DeleteProgramsOptions
}
Response
{"data": {"deletePrograms": {"recordsDeleted": 123}}}

deleteReports

Description

To delete Report Types. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteReportsPayload!

Arguments
Name Description
params - DeleteReportsParams!
options - DeleteReportsOptions

Example

Query
mutation deleteReports(
  $params: DeleteReportsParams!,
  $options: DeleteReportsOptions
) {
  deleteReports(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteReportsParams,
  "options": DeleteReportsOptions
}
Response
{"data": {"deleteReports": {"recordsDeleted": 987}}}

deleteSurveyAnswerCategorys

Description

To delete Survey Answer Category. Access allowed to WeSoar Super Admin.

Example

Query
mutation deleteSurveyAnswerCategorys(
  $params: DeleteSurveyAnswerCategoriesParams!,
  $options: DeleteSurveyAnswerCategoriesOptions
) {
  deleteSurveyAnswerCategorys(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteSurveyAnswerCategoriesParams,
  "options": DeleteSurveyAnswerCategoriesOptions
}
Response
{"data": {"deleteSurveyAnswerCategorys": {"recordsDeleted": 123}}}

deleteSurveyQuestionFactors

Description

To delete Survey Question Factors. Access allowed to WeSoar Super Admin.

Arguments
Name Description
params - DeleteSurveyQuestionFactorsParams!
options - DeleteSurveyQuestionFactorsOptions

Example

Query
mutation deleteSurveyQuestionFactors(
  $params: DeleteSurveyQuestionFactorsParams!,
  $options: DeleteSurveyQuestionFactorsOptions
) {
  deleteSurveyQuestionFactors(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteSurveyQuestionFactorsParams,
  "options": DeleteSurveyQuestionFactorsOptions
}
Response
{"data": {"deleteSurveyQuestionFactors": {"recordsDeleted": 987}}}

deleteSurveyQuestions

Description

To delete Survey Question. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteSurveyQuestionsPayload!

Arguments
Name Description
params - DeleteSurveyQuestionsParams!
options - DeleteSurveyQuestionsOptions

Example

Query
mutation deleteSurveyQuestions(
  $params: DeleteSurveyQuestionsParams!,
  $options: DeleteSurveyQuestionsOptions
) {
  deleteSurveyQuestions(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteSurveyQuestionsParams,
  "options": DeleteSurveyQuestionsOptions
}
Response
{"data": {"deleteSurveyQuestions": {"recordsDeleted": 987}}}

deleteSurveyResponses

Description

To delete Survey Responses. Access allowed to Super Admin.

Response

Returns a DeleteSurveyResponsesPayload!

Arguments
Name Description
params - DeleteSurveyResponsesParams!
options - DeleteSurveyResponsesOptions

Example

Query
mutation deleteSurveyResponses(
  $params: DeleteSurveyResponsesParams!,
  $options: DeleteSurveyResponsesOptions
) {
  deleteSurveyResponses(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteSurveyResponsesParams,
  "options": DeleteSurveyResponsesOptions
}
Response
{"data": {"deleteSurveyResponses": {"recordsDeleted": 987}}}

deleteSurveySpecimens

Description

To delete Survey Specimen. Access allowed to Super Admin.

Response

Returns a DeleteSurveySpecimensPayload!

Arguments
Name Description
params - DeleteSurveySpecimensParams!
options - DeleteSurveySpecimensOptions

Example

Query
mutation deleteSurveySpecimens(
  $params: DeleteSurveySpecimensParams!,
  $options: DeleteSurveySpecimensOptions
) {
  deleteSurveySpecimens(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteSurveySpecimensParams,
  "options": DeleteSurveySpecimensOptions
}
Response
{"data": {"deleteSurveySpecimens": {"recordsDeleted": 987}}}

deleteTermPrograms

Description

To delete term program. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteTermProgramsPayload!

Arguments
Name Description
params - DeleteTermProgramsParams!
options - DeleteTermProgramsOptions

Example

Query
mutation deleteTermPrograms(
  $params: DeleteTermProgramsParams!,
  $options: DeleteTermProgramsOptions
) {
  deleteTermPrograms(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteTermProgramsParams,
  "options": DeleteTermProgramsOptions
}
Response
{"data": {"deleteTermPrograms": {"recordsDeleted": 123}}}

deleteUnplannedTasks

Description

To delete Unplanned Tasks. Access allowed to Authenticated User as per business logic.

Response

Returns a DeleteUnplannedTasksPayload!

Arguments
Name Description
params - DeleteUnplannedTasksParams!
options - DeleteUnplannedTasksOptions

Example

Query
mutation deleteUnplannedTasks(
  $params: DeleteUnplannedTasksParams!,
  $options: DeleteUnplannedTasksOptions
) {
  deleteUnplannedTasks(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteUnplannedTasksParams,
  "options": DeleteUnplannedTasksOptions
}
Response
{"data": {"deleteUnplannedTasks": {"recordsDeleted": 987}}}

deleteYears

Description

To delete Years. Access allowed to WeSoar Super Admin.

Response

Returns a DeleteYearsPayload!

Arguments
Name Description
params - DeleteYearsParams!
options - DeleteYearsOptions

Example

Query
mutation deleteYears(
  $params: DeleteYearsParams!,
  $options: DeleteYearsOptions
) {
  deleteYears(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": DeleteYearsParams,
  "options": DeleteYearsOptions
}
Response
{"data": {"deleteYears": {"recordsDeleted": 987}}}

disableMfa

Description

DEPRECATED To Disable MFA. Access allowed to WeSoar Super Admin.

Response

Returns a DisableMfaPayload

Arguments
Name Description
params - Boolean

Example

Query
mutation disableMfa($params: Boolean) {
  disableMfa(params: $params) {
    status
  }
}
Variables
{"params": false}
Response
{"data": {"disableMfa": {"status": false}}}

enableMfa

Description

DEPRECATED To Enable MFA. Access allowed to WeSoar Super Admin.

Response

Returns an EnableMfaPayload

Arguments
Name Description
params - Boolean

Example

Query
mutation enableMfa($params: Boolean) {
  enableMfa(params: $params) {
    status
  }
}
Variables
{"params": true}
Response
{"data": {"enableMfa": {"status": true}}}

forgotPassword

Description

DEPRECATED To Forgot password. Access allowed to WeSoar Super Admin.

Response

Returns a ForgotPasswordPayload

Arguments
Name Description
params - ForgotPasswordParams
options - ForgotPasswordOptions

Example

Query
mutation forgotPassword(
  $params: ForgotPasswordParams,
  $options: ForgotPasswordOptions
) {
  forgotPassword(
    params: $params,
    options: $options
  ) {
    codeDeliveryDetails {
      ...CodeDeliveryDetailsFragment
    }
  }
}
Variables
{
  "params": ForgotPasswordParams,
  "options": ForgotPasswordOptions
}
Response
{
  "data": {
    "forgotPassword": {
      "codeDeliveryDetails": CodeDeliveryDetails
    }
  }
}

getFileUploadUrl

Description

To generate file upload URL. Access allowed to Authenticated User.

Response

Returns a FileUploadUrlPayload

Arguments
Name Description
params - GetFileUploadUrlParams!
options - GetFileUploadUrlOptions

Example

Query
mutation getFileUploadUrl(
  $params: GetFileUploadUrlParams!,
  $options: GetFileUploadUrlOptions
) {
  getFileUploadUrl(
    params: $params,
    options: $options
  ) {
    uploadUrl
    fileKeyName
    uploadFields {
      ...uploadFieldFragment
    }
  }
}
Variables
{
  "params": GetFileUploadUrlParams,
  "options": GetFileUploadUrlOptions
}
Response
{
  "data": {
    "getFileUploadUrl": {
      "uploadUrl": "xyz789",
      "fileKeyName": "xyz789",
      "uploadFields": [uploadField]
    }
  }
}

getLoginFromRefreshToken

Description

DEPRECATED To get login from refresh token. Access allowed to WeSoar Super Admin.

Response

Returns a GetLoginFromRefreshTokenPayload

Arguments
Name Description
params - GetLoginFromRefreshTokenParams

Example

Query
mutation getLoginFromRefreshToken($params: GetLoginFromRefreshTokenParams) {
  getLoginFromRefreshToken(params: $params) {
    tokens {
      ...TokensFragment
    }
  }
}
Variables
{"params": GetLoginFromRefreshTokenParams}
Response
{"data": {"getLoginFromRefreshToken": {"tokens": Tokens}}}

removeAttendanceLog

Description

DEPRECATED To remove an attendance entry. Access allowed to WeSoar Super Admin.

Response

Returns an Attendance

Arguments
Name Description
params - RemoveAttendanceLogParams!
options - RemoveAttendanceLogOptions

Example

Query
mutation removeAttendanceLog(
  $params: RemoveAttendanceLogParams!,
  $options: RemoveAttendanceLogOptions
) {
  removeAttendanceLog(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    userId
    attendanceLogs {
      ...AttendanceLogFragment
    }
    isActive
    isDeleted
    attendanceLogsPage {
      ...AttendanceLogsPageFragment
    }
    attendanceLogForDate {
      ...AttendanceLogFragment
    }
  }
}
Variables
{
  "params": RemoveAttendanceLogParams,
  "options": RemoveAttendanceLogOptions
}
Response
{
  "data": {
    "removeAttendanceLog": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "attendanceLogs": [AttendanceLog],
      "isActive": false,
      "isDeleted": false,
      "attendanceLogsPage": AttendanceLogsPage,
      "attendanceLogForDate": AttendanceLog
    }
  }
}

removeAttendances

Description

DEPRECATED To remove attendances. Access allowed to WeSoar Super Admin.

Response

Returns a RemoveAttendancesPayload!

Arguments
Name Description
params - RemoveAttendancesParams!
options - RemoveAttendancesOptions

Example

Query
mutation removeAttendances(
  $params: RemoveAttendancesParams!,
  $options: RemoveAttendancesOptions
) {
  removeAttendances(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": RemoveAttendancesParams,
  "options": RemoveAttendancesOptions
}
Response
{"data": {"removeAttendances": {"recordsDeleted": 123}}}

removeCommentReaction

Description

To remove a comment. reaction Access allowed to authenticated user.

Response

Returns a Comment

Arguments
Name Description
params - RemoveCommentReactionParams!
rootOptions - RootOptions

Example

Query
mutation removeCommentReaction(
  $params: RemoveCommentReactionParams!,
  $rootOptions: RootOptions
) {
  removeCommentReaction(
    params: $params,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "params": RemoveCommentReactionParams,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "removeCommentReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "abc123",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": false,
      "isDeleted": true,
      "commentDate": 1592577642,
      "type": "xyz789",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

removeGoalAppraisal

Description

DEPRECATED To remove Goal Appraisals. Access allowed to WeSoar Super Admin.

Response

Returns a Goal

Arguments
Name Description
params - RemoveGoalAppraisalParams!
options - RemoveGoalAppraisalOptions

Example

Query
mutation removeGoalAppraisal(
  $params: RemoveGoalAppraisalParams!,
  $options: RemoveGoalAppraisalOptions
) {
  removeGoalAppraisal(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": RemoveGoalAppraisalParams,
  "options": RemoveGoalAppraisalOptions
}
Response
{
  "data": {
    "removeGoalAppraisal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "abc123",
      "goalType": "abc123",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "xyz789",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 123,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "abc123",
      "achievement": "xyz789",
      "goalProgress": 987,
      "priority": 987,
      "isActive": false,
      "isShowInPlannedTask": true,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

removeGoalCheckIn

Description

DEPRECATED To remove Goal CheckIn. Access allowed to WeSoar Super Admin.

Response

Returns a Goal

Arguments
Name Description
params - RemoveGoalCheckInParams!
options - RemoveGoalCheckInOptions

Example

Query
mutation removeGoalCheckIn(
  $params: RemoveGoalCheckInParams!,
  $options: RemoveGoalCheckInOptions
) {
  removeGoalCheckIn(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": RemoveGoalCheckInParams,
  "options": RemoveGoalCheckInOptions
}
Response
{
  "data": {
    "removeGoalCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "xyz789",
      "goalType": "xyz789",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "abc123",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 987,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "abc123",
      "achievement": "abc123",
      "goalProgress": 987,
      "priority": 987,
      "isActive": false,
      "isShowInPlannedTask": false,
      "isShowInUnplannedTask": true,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

removeGoals

Description

To remove Goals. Access allowed to WeSoar Super Admin.

Response

Returns a RemoveGoalsPayload!

Arguments
Name Description
params - RemoveGoalsParams!
options - RemoveGoalsOptions

Example

Query
mutation removeGoals(
  $params: RemoveGoalsParams!,
  $options: RemoveGoalsOptions
) {
  removeGoals(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": RemoveGoalsParams,
  "options": RemoveGoalsOptions
}
Response
{"data": {"removeGoals": {"recordsDeleted": 987}}}

removeMessageReaction

Response

Returns a Message

Arguments
Name Description
params - RemoveMessageReactionParams!

Example

Query
mutation removeMessageReaction($params: RemoveMessageReactionParams!) {
  removeMessageReaction(params: $params) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"params": RemoveMessageReactionParams}
Response
{
  "data": {
    "removeMessageReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "abc123",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": false,
      "isDeleted": false,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

removeNotifications

Description

DEPRECATED To remove Notification. Access allowed to WeSoar Super Admin.

Response

Returns a RemoveNotificationsPayload!

Arguments
Name Description
params - RemoveNotificationsParams!
options - RemoveNotificationsOptions

Example

Query
mutation removeNotifications(
  $params: RemoveNotificationsParams!,
  $options: RemoveNotificationsOptions
) {
  removeNotifications(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": RemoveNotificationsParams,
  "options": RemoveNotificationsOptions
}
Response
{"data": {"removeNotifications": {"recordsDeleted": 987}}}

removePlannedTaskFollowUp

Description

To remove Planned Tas follow up. Access allowed to Authenticated User as per business logic.

Response

Returns a PlannedTask

Arguments
Name Description
params - RemovePlannedTaskFollowUpParams!
options - RemovePlannedTaskFollowUpOptions

Example

Query
mutation removePlannedTaskFollowUp(
  $params: RemovePlannedTaskFollowUpParams!,
  $options: RemovePlannedTaskFollowUpOptions
) {
  removePlannedTaskFollowUp(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{
  "params": RemovePlannedTaskFollowUpParams,
  "options": RemovePlannedTaskFollowUpOptions
}
Response
{
  "data": {
    "removePlannedTaskFollowUp": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "xyz789",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "abc123",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "xyz789",
      "priority": 987,
      "isActive": true,
      "isDeleted": false,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 987
    }
  }
}

removePlannedTasks

Description

To remove Planned Tasks. Access allowed to Super Admin.

Response

Returns a RemovePlannedTasksPayload!

Arguments
Name Description
params - RemovePlannedTasksParams!
options - RemovePlannedTasksOptions

Example

Query
mutation removePlannedTasks(
  $params: RemovePlannedTasksParams!,
  $options: RemovePlannedTasksOptions
) {
  removePlannedTasks(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": RemovePlannedTasksParams,
  "options": RemovePlannedTasksOptions
}
Response
{"data": {"removePlannedTasks": {"recordsDeleted": 123}}}

removeUnplannedTaskReaction

Description

To remove Unplanned Task Reaction. Access allowed to Authenticated User as per business logic.

Response

Returns an UnplannedTask

Arguments
Name Description
params - RemoveUnplannedTaskReactionParams!
options - RemoveUnplannedTaskReactionOptions

Example

Query
mutation removeUnplannedTaskReaction(
  $params: RemoveUnplannedTaskReactionParams!,
  $options: RemoveUnplannedTaskReactionOptions
) {
  removeUnplannedTaskReaction(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    unplannedTaskType
    unplannedTaskDetail {
      ...UnplannedTaskDetailFragment
    }
    comments {
      ...CommentFragment
    }
    reactions {
      ...ReactionFragment
    }
    impactStageId
    impactStage {
      ...ImpactStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    unplannedTaskCommentsFacts {
      ...FactFragment
    }
    myUnplannedTaskReaction {
      ...ReactionFragment
    }
    unplannedTaskReactionsFacts {
      ...FactFragment
    }
    unplannedTaskReactionsPage {
      ...ReactionsPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    views
  }
}
Variables
{
  "params": RemoveUnplannedTaskReactionParams,
  "options": RemoveUnplannedTaskReactionOptions
}
Response
{
  "data": {
    "removeUnplannedTaskReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "unplannedTaskType": "xyz789",
      "unplannedTaskDetail": UnplannedTaskDetail,
      "comments": [Comment],
      "reactions": [Reaction],
      "impactStageId": "5e5677d71bdc2ae76344968c",
      "impactStage": ImpactStage,
      "trackingStatus": "xyz789",
      "priority": 987,
      "isActive": true,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "unplannedTaskCommentsFacts": [Fact],
      "myUnplannedTaskReaction": Reaction,
      "unplannedTaskReactionsFacts": [Fact],
      "unplannedTaskReactionsPage": ReactionsPage,
      "unplannedTasksFacts": [Fact],
      "views": 123
    }
  }
}

removeUnplannedTasks

Description

To create Unplanned Tasks. Access allowed to WeSoar Super Admin.

Response

Returns a RemoveUnplannedTasksPayload!

Arguments
Name Description
params - RemoveUnplannedTasksParams!
options - RemoveUnplannedTasksOptions

Example

Query
mutation removeUnplannedTasks(
  $params: RemoveUnplannedTasksParams!,
  $options: RemoveUnplannedTasksOptions
) {
  removeUnplannedTasks(
    params: $params,
    options: $options
  ) {
    recordsDeleted
  }
}
Variables
{
  "params": RemoveUnplannedTasksParams,
  "options": RemoveUnplannedTasksOptions
}
Response
{"data": {"removeUnplannedTasks": {"recordsDeleted": 123}}}

resendEmailCode

Description

DEPRECATED To resent Email OTP. Access allowed to WeSoar Super Admin.

Response

Returns a ResendEmailCodePayload

Arguments
Name Description
params - Boolean

Example

Query
mutation resendEmailCode($params: Boolean) {
  resendEmailCode(params: $params) {
    codeDeliveryDetails {
      ...CodeDeliveryDetailsFragment
    }
  }
}
Variables
{"params": false}
Response
{
  "data": {
    "resendEmailCode": {
      "codeDeliveryDetails": CodeDeliveryDetails
    }
  }
}

resendMobileNumberCode

Description

DEPRECATED To resent mobile number OTP. Access allowed to WeSoar Super Admin.

Response

Returns a ResendMobileNumberCodePayload

Arguments
Name Description
params - Boolean

Example

Query
mutation resendMobileNumberCode($params: Boolean) {
  resendMobileNumberCode(params: $params) {
    codeDeliveryDetails {
      ...CodeDeliveryDetailsFragment
    }
  }
}
Variables
{"params": false}
Response
{
  "data": {
    "resendMobileNumberCode": {
      "codeDeliveryDetails": CodeDeliveryDetails
    }
  }
}

resetPasswordOnFirstLogin

Description

DEPRECATED To Reset Password on first login. Access allowed to WeSoar Super Admin.

Response

Returns a SignInPayload

Arguments
Name Description
params - ResetPasswordOnFirstLoginParams!
options - ResetPasswordOnFirstLoginOptions

Example

Query
mutation resetPasswordOnFirstLogin(
  $params: ResetPasswordOnFirstLoginParams!,
  $options: ResetPasswordOnFirstLoginOptions
) {
  resetPasswordOnFirstLogin(
    params: $params,
    options: $options
  ) {
    tokens {
      ...TokensFragment
    }
    challenge {
      ...ChallengeFragment
    }
  }
}
Variables
{
  "params": ResetPasswordOnFirstLoginParams,
  "options": ResetPasswordOnFirstLoginOptions
}
Response
{
  "data": {
    "resetPasswordOnFirstLogin": {
      "tokens": Tokens,
      "challenge": Challenge
    }
  }
}

restoreGoals

Description

To restore Goals. Access allowed to authenticated user as per business logic.

Response

Returns a RestoreGoalsPayload!

Arguments
Name Description
params - RestoreGoalsParams!
options - RestoreGoalsOptions

Example

Query
mutation restoreGoals(
  $params: RestoreGoalsParams!,
  $options: RestoreGoalsOptions
) {
  restoreGoals(
    params: $params,
    options: $options
  ) {
    goalsUpdated
    goalsNotUpdated
  }
}
Variables
{
  "params": RestoreGoalsParams,
  "options": RestoreGoalsOptions
}
Response
{
  "data": {
    "restoreGoals": {
      "goalsUpdated": ["xyz789"],
      "goalsNotUpdated": ["abc123"]
    }
  }
}

restorePlannedTasks

Description

To restore Planned Tasks. Access allowed to Authenticated User as per business logic.

Response

Returns a RestorePlannedTasksPayload!

Arguments
Name Description
params - RestorePlannedTasksParams!
options - RestorePlannedTasksOptions

Example

Query
mutation restorePlannedTasks(
  $params: RestorePlannedTasksParams!,
  $options: RestorePlannedTasksOptions
) {
  restorePlannedTasks(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": RestorePlannedTasksParams,
  "options": RestorePlannedTasksOptions
}
Response
{"data": {"restorePlannedTasks": {"recordsUpdated": 987}}}

restoreUnplannedTasks

Description

To restore Unplanned Tasks. Access allowed to Authenticated User as per business logic.

Response

Returns a RestoreUnplannedTasksPayload!

Arguments
Name Description
params - RestoreUnplannedTasksParams!
options - RestoreUnplannedTasksOptions

Example

Query
mutation restoreUnplannedTasks(
  $params: RestoreUnplannedTasksParams!,
  $options: RestoreUnplannedTasksOptions
) {
  restoreUnplannedTasks(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": RestoreUnplannedTasksParams,
  "options": RestoreUnplannedTasksOptions
}
Response
{"data": {"restoreUnplannedTasks": {"recordsUpdated": 123}}}

setupOrg

Description

To setup a new organisation. Access allowed to WeSoar Super Admin.

Response

Returns a Boolean

Arguments
Name Description
accessToken - String
keyName - String

Example

Query
mutation setupOrg(
  $accessToken: String,
  $keyName: String
) {
  setupOrg(
    accessToken: $accessToken,
    keyName: $keyName
  )
}
Variables
{
  "accessToken": "xyz789",
  "keyName": "abc123"
}
Response
{"data": {"setupOrg": true}}

signIn

Description

DEPRECATED To Sing In. Access allowed to WeSoar Super Admin.

Response

Returns a SignInPayload!

Arguments
Name Description
params - SignInParams!
options - SignInOptions

Example

Query
mutation signIn(
  $params: SignInParams!,
  $options: SignInOptions
) {
  signIn(
    params: $params,
    options: $options
  ) {
    tokens {
      ...TokensFragment
    }
    challenge {
      ...ChallengeFragment
    }
  }
}
Variables
{
  "params": SignInParams,
  "options": SignInOptions
}
Response
{
  "data": {
    "signIn": {
      "tokens": Tokens,
      "challenge": Challenge
    }
  }
}

startSurvey

Description

To start Survey Response. Access allowed to Survey Respondent.

Response

Returns a Boolean

Arguments
Name Description
params - StartSurveyParams
options - StartSurveyOptions

Example

Query
mutation startSurvey(
  $params: StartSurveyParams,
  $options: StartSurveyOptions
) {
  startSurvey(
    params: $params,
    options: $options
  )
}
Variables
{
  "params": StartSurveyParams,
  "options": StartSurveyOptions
}
Response
{"data": {"startSurvey": false}}

subscribeCommunityGoal

Description

To subscribe Community Goal. Access allowed to authenticated user.

Response

Returns a CommunityGoal

Arguments
Name Description
params - SubscribeCommunityGoalParams!
options - SubscribeCommunityGoalOptions

Example

Query
mutation subscribeCommunityGoal(
  $params: SubscribeCommunityGoalParams!,
  $options: SubscribeCommunityGoalOptions
) {
  subscribeCommunityGoal(
    params: $params,
    options: $options
  ) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{
  "params": SubscribeCommunityGoalParams,
  "options": SubscribeCommunityGoalOptions
}
Response
{
  "data": {
    "subscribeCommunityGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "adminUserId": "5e5677d71bdc2ae76344968c",
      "adminUser": User,
      "yearId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "goalType": "xyz789",
      "trackingStatus": "xyz789",
      "achievement": "abc123",
      "isCompanyGoal": false,
      "goalDetail": GoalDetail,
      "participations": [Participation],
      "participationsPage": ParticipationsPage,
      "participationsFacts": [Fact],
      "subscriptions": [Participation],
      "subscriptionsPage": SubscriptionsPage,
      "subscriptionsFacts": [Fact],
      "subscribers": [User],
      "subscribersPage": UsersPage,
      "comments": [Comment],
      "progress": 123,
      "goalProgress": 123.45,
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true,
      "isDeleted": true,
      "hash": "xyz789",
      "isParticipant": false,
      "isSubscriber": true,
      "isAdmin": false,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "comment": Comment
    }
  }
}

subscribeCommunityGoals

Description

To subscribe multiple Community Goals. Access allowed to authenticated user.

Response

Returns [CommunityGoal]

Arguments
Name Description
params - SubscribeCommunityGoalsParams!
options - SubscribeCommunityGoalsOptions

Example

Query
mutation subscribeCommunityGoals(
  $params: SubscribeCommunityGoalsParams!,
  $options: SubscribeCommunityGoalsOptions
) {
  subscribeCommunityGoals(
    params: $params,
    options: $options
  ) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{
  "params": SubscribeCommunityGoalsParams,
  "options": SubscribeCommunityGoalsOptions
}
Response
{
  "data": {
    "subscribeCommunityGoals": [
      {
        "_id": "5e5677d71bdc2ae76344968c",
        "adminUserId": "5e5677d71bdc2ae76344968c",
        "adminUser": User,
        "yearId": "5e5677d71bdc2ae76344968c",
        "year": Year,
        "programId": "5e5677d71bdc2ae76344968c",
        "program": Program,
        "goalType": "abc123",
        "trackingStatus": "abc123",
        "achievement": "xyz789",
        "isCompanyGoal": false,
        "goalDetail": GoalDetail,
        "participations": [Participation],
        "participationsPage": ParticipationsPage,
        "participationsFacts": [Fact],
        "subscriptions": [Participation],
        "subscriptionsPage": SubscriptionsPage,
        "subscriptionsFacts": [Fact],
        "subscribers": [User],
        "subscribersPage": UsersPage,
        "comments": [Comment],
        "progress": 123,
        "goalProgress": 123.45,
        "keyName": "abc123",
        "priority": 987,
        "isActive": false,
        "isDeleted": false,
        "hash": "abc123",
        "isParticipant": true,
        "isSubscriber": true,
        "isAdmin": false,
        "createdDate": 1592577642,
        "updatedDate": 1592577642,
        "trashedDate": 1592577642,
        "deletedDate": 1592577642,
        "commentsPage": CommentsPage,
        "comment": Comment
      }
    ]
  }
}

subscribeNotification

Description

To subscribe for notification. Access allowed user with a valid token.

Response

Returns a User

Arguments
Name Description
token - String

Example

Query
mutation subscribeNotification($token: String) {
  subscribeNotification(token: $token) {
    _id
    userName
    empCode
    preferredName
    firstName
    lastName
    email
    mobileNumber
    isEmailVerified
    isMobileNumberVerified
    imageUrl
    profilePic {
      ...FileFragment
    }
    managers {
      ...ManagerFragment
    }
    orgUnits
    designation
    path
    aboutMe
    myStatus
    isReportAppDiagnosticData
    isActive
    dummy
    progress
    overallGoalProgress
    ytdRating
    teamOverallGoalProgress
    peersOverallGoalProgress
    isManager
    managerId
    myRoles {
      ...ManagerTypeFragment
    }
    cognitoInfo {
      ...User_CognitoInfoFragment
    }
    cognitoGroups {
      ...User_CognitoGroupFragment
    }
    tokenRoles
    tokenAbility {
      ...AbilityFragment
    }
    roles {
      ...RoleFragment
    }
    ability {
      ...AbilityFragment
    }
    rbacRoles
    permissions {
      ...User_PermissionFragment
    }
    terms {
      ...TermFragment
    }
    isMFAEnabled
    years {
      ...YearFragment
    }
    moduleCategories {
      ...UserModuelCategoryFragment
    }
    termPrograms {
      ...TermProgramFragment
    }
    termProgramsPage {
      ...TermProgramsPageFragment
    }
    termsPage {
      ...TermsPageFragment
    }
    termsFacts {
      ...FactFragment
    }
    latestSupportTicket {
      ...SupportTicketFragment
    }
    peersPage {
      ...UsersPageFragment
    }
    myManager {
      ...UserFragment
    }
    myEvaluator {
      ...UserFragment
    }
    directReportsPage {
      ...UsersPageFragment
    }
    directReportsFact {
      ...FactFragment
    }
    managersInMyDirectReportsPage {
      ...UsersPageFragment
    }
    orgUnit
    organizationUnit {
      ...OrgUnitFragment
    }
    myCEO {
      ...UserFragment
    }
    inDirectReportsPage {
      ...UsersPageFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    latestTermProgram {
      ...TermProgramFragment
    }
    userFilterOptions {
      ...UserFilterOptionFragment
    }
    subUsersPage {
      ...UsersPageFragment
    }
    myCompanyGoalsPage {
      ...CommunityGoalsPageFragment
    }
    myCommunityGoalsPage {
      ...CommunityGoalsPageFragment
    }
    approvedGoalsPage {
      ...GoalsPageFragment
    }
    completedGoalsPage {
      ...GoalsPageFragment
    }
    canceledGoalsPage {
      ...GoalsPageFragment
    }
    draftGoalsPage {
      ...GoalsPageFragment
    }
    trashedGoalsPage {
      ...GoalsPageFragment
    }
    taggedGoalsPage {
      ...GoalsPageFragment
    }
    goalCreationStatus
    goalCreationStatusFacts {
      ...FactFragment
    }
    approvedGoalsFacts {
      ...FactFragment
    }
    draftGoalsFacts {
      ...FactFragment
    }
    trashedGoalsFacts {
      ...FactFragment
    }
    taggedGoalsFacts {
      ...FactFragment
    }
    submittedGoalsFacts {
      ...FactFragment
    }
    goalsFacts {
      ...FactFragment
    }
    plannedTasksPage {
      ...PlannedTasksPageFragment
    }
    plannedTasksFacts {
      ...FactFragment
    }
    taggedPlannedTasksPage {
      ...PlannedTasksPageFragment
    }
    taggedPlannedTasksFacts {
      ...FactFragment
    }
    unplannedTasksPage {
      ...UnplannedTasksPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    attendancesPage {
      ...AttendancesPageFragment
    }
    attendancesFacts {
      ...FactFragment
    }
    notificationsPage {
      ...NotificationsPageFragment
    }
    surveyScore
    surveySpecimensPage {
      ...SurveySpecimensPageFragment
    }
    socketUrl
    programsOfDirectReportsPage {
      ...ProgramsPageFragment
    }
    surveyReport {
      ...SurveyReportFragment
    }
    surveyReportWithPrevSurveyReport {
      ...SurveyReportFragment
    }
  }
}
Variables
{"token": "xyz789"}
Response
{
  "data": {
    "subscribeNotification": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userName": "abc123",
      "empCode": "xyz789",
      "preferredName": "abc123",
      "firstName": "abc123",
      "lastName": "xyz789",
      "email": "abc123",
      "mobileNumber": "xyz789",
      "isEmailVerified": false,
      "isMobileNumberVerified": false,
      "imageUrl": "abc123",
      "profilePic": File,
      "managers": [Manager],
      "orgUnits": [
        "5e5677d71bdc2ae76344968c"
      ],
      "designation": "xyz789",
      "path": "xyz789",
      "aboutMe": "abc123",
      "myStatus": "xyz789",
      "isReportAppDiagnosticData": false,
      "isActive": true,
      "dummy": "xyz789",
      "progress": 987.65,
      "overallGoalProgress": 123.45,
      "ytdRating": 987.65,
      "teamOverallGoalProgress": 123.45,
      "peersOverallGoalProgress": 987.65,
      "isManager": true,
      "managerId": "abc123",
      "myRoles": [ManagerType],
      "cognitoInfo": User_CognitoInfo,
      "cognitoGroups": [User_CognitoGroup],
      "tokenRoles": ["xyz789"],
      "tokenAbility": [Ability],
      "roles": [Role],
      "ability": [Ability],
      "rbacRoles": ["xyz789"],
      "permissions": [User_Permission],
      "terms": [Term],
      "isMFAEnabled": true,
      "years": [Year],
      "moduleCategories": [UserModuelCategory],
      "termPrograms": [TermProgram],
      "termProgramsPage": TermProgramsPage,
      "termsPage": TermsPage,
      "termsFacts": [Fact],
      "latestSupportTicket": SupportTicket,
      "peersPage": UsersPage,
      "myManager": User,
      "myEvaluator": User,
      "directReportsPage": UsersPage,
      "directReportsFact": [Fact],
      "managersInMyDirectReportsPage": UsersPage,
      "orgUnit": "abc123",
      "organizationUnit": OrgUnit,
      "myCEO": User,
      "inDirectReportsPage": UsersPage,
      "termProgram": TermProgram,
      "latestTermProgram": TermProgram,
      "userFilterOptions": [UserFilterOption],
      "subUsersPage": UsersPage,
      "myCompanyGoalsPage": CommunityGoalsPage,
      "myCommunityGoalsPage": CommunityGoalsPage,
      "approvedGoalsPage": GoalsPage,
      "completedGoalsPage": GoalsPage,
      "canceledGoalsPage": GoalsPage,
      "draftGoalsPage": GoalsPage,
      "trashedGoalsPage": GoalsPage,
      "taggedGoalsPage": GoalsPage,
      "goalCreationStatus": "xyz789",
      "goalCreationStatusFacts": [Fact],
      "approvedGoalsFacts": [Fact],
      "draftGoalsFacts": [Fact],
      "trashedGoalsFacts": [Fact],
      "taggedGoalsFacts": [Fact],
      "submittedGoalsFacts": [Fact],
      "goalsFacts": [Fact],
      "plannedTasksPage": PlannedTasksPage,
      "plannedTasksFacts": [Fact],
      "taggedPlannedTasksPage": PlannedTasksPage,
      "taggedPlannedTasksFacts": [Fact],
      "unplannedTasksPage": UnplannedTasksPage,
      "unplannedTasksFacts": [Fact],
      "attendancesPage": AttendancesPage,
      "attendancesFacts": [Fact],
      "notificationsPage": NotificationsPage,
      "surveyScore": "xyz789",
      "surveySpecimensPage": SurveySpecimensPage,
      "socketUrl": "xyz789",
      "programsOfDirectReportsPage": ProgramsPage,
      "surveyReport": SurveyReport,
      "surveyReportWithPrevSurveyReport": SurveyReport
    }
  }
}

trashGoals

Description

To delete Goals. Access allowed to authenticated user as per business logic.

Response

Returns a TrashGoalsPayload!

Arguments
Name Description
params - TrashGoalsParams!
options - TrashGoalsOptions

Example

Query
mutation trashGoals(
  $params: TrashGoalsParams!,
  $options: TrashGoalsOptions
) {
  trashGoals(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": TrashGoalsParams,
  "options": TrashGoalsOptions
}
Response
{"data": {"trashGoals": {"recordsUpdated": 987}}}

trashPlannedTasks

Description

To trash Planned Tasks. Access allowed to Authenticated User as per business logic.

Response

Returns a TrashPlannedTasksPayload!

Arguments
Name Description
params - TrashPlannedTasksParams!
options - TrashPlannedTasksOptions

Example

Query
mutation trashPlannedTasks(
  $params: TrashPlannedTasksParams!,
  $options: TrashPlannedTasksOptions
) {
  trashPlannedTasks(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": TrashPlannedTasksParams,
  "options": TrashPlannedTasksOptions
}
Response
{"data": {"trashPlannedTasks": {"recordsUpdated": 123}}}

trashUnplannedTasks

Description

To update Unplanned Tasks. Access allowed to Authenticated User as per business logic.

Response

Returns a TrashUnplannedTasksPayload!

Arguments
Name Description
params - TrashUnplannedTasksParams!
options - TrashUnplannedTasksOptions

Example

Query
mutation trashUnplannedTasks(
  $params: TrashUnplannedTasksParams!,
  $options: TrashUnplannedTasksOptions
) {
  trashUnplannedTasks(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": TrashUnplannedTasksParams,
  "options": TrashUnplannedTasksOptions
}
Response
{"data": {"trashUnplannedTasks": {"recordsUpdated": 123}}}

unfollowGoals

Description

To unfollow Goals. Access allowed to authenticated user as per business logic.

Response

Returns an UnfollowGoalsPayload!

Arguments
Name Description
params - UnfollowGoalsParams!
options - UnfollowGoalsOptions

Example

Query
mutation unfollowGoals(
  $params: UnfollowGoalsParams!,
  $options: UnfollowGoalsOptions
) {
  unfollowGoals(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": UnfollowGoalsParams,
  "options": UnfollowGoalsOptions
}
Response
{"data": {"unfollowGoals": {"recordsUpdated": 987}}}

unfollowPlannedTasks

Description

To unfollow Planned Task. Access allowed to Authenticated User as per business logic.

Response

Returns an UnfollowPlannedTasksPayload!

Arguments
Name Description
params - UnfollowPlannedTasksParams!
options - UnfollowPlannedTasksOptions

Example

Query
mutation unfollowPlannedTasks(
  $params: UnfollowPlannedTasksParams!,
  $options: UnfollowPlannedTasksOptions
) {
  unfollowPlannedTasks(
    params: $params,
    options: $options
  ) {
    recordsUpdated
  }
}
Variables
{
  "params": UnfollowPlannedTasksParams,
  "options": UnfollowPlannedTasksOptions
}
Response
{"data": {"unfollowPlannedTasks": {"recordsUpdated": 123}}}

unsubscribeCommunityGoal

Description

To unsubscribe Community Goal. Access allowed to authenticated user.

Response

Returns a CommunityGoal

Arguments
Name Description
params - UnsubscribeCommunityGoalParams!
options - UnsubscribeCommunityGoalOptions

Example

Query
mutation unsubscribeCommunityGoal(
  $params: UnsubscribeCommunityGoalParams!,
  $options: UnsubscribeCommunityGoalOptions
) {
  unsubscribeCommunityGoal(
    params: $params,
    options: $options
  ) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{
  "params": UnsubscribeCommunityGoalParams,
  "options": UnsubscribeCommunityGoalOptions
}
Response
{
  "data": {
    "unsubscribeCommunityGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "adminUserId": "5e5677d71bdc2ae76344968c",
      "adminUser": User,
      "yearId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "goalType": "abc123",
      "trackingStatus": "abc123",
      "achievement": "abc123",
      "isCompanyGoal": false,
      "goalDetail": GoalDetail,
      "participations": [Participation],
      "participationsPage": ParticipationsPage,
      "participationsFacts": [Fact],
      "subscriptions": [Participation],
      "subscriptionsPage": SubscriptionsPage,
      "subscriptionsFacts": [Fact],
      "subscribers": [User],
      "subscribersPage": UsersPage,
      "comments": [Comment],
      "progress": 987,
      "goalProgress": 987.65,
      "keyName": "abc123",
      "priority": 123,
      "isActive": false,
      "isDeleted": false,
      "hash": "xyz789",
      "isParticipant": true,
      "isSubscriber": true,
      "isAdmin": true,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "comment": Comment
    }
  }
}

unsubscribeCommunityGoals

Description

To unsubscribe multiple Community Goals. Access allowed to authenticated user.

Response

Returns [CommunityGoal]

Arguments
Name Description
params - UnsubscribeCommunityGoalsParams!
options - UnsubscribeCommunityGoalsOptions

Example

Query
mutation unsubscribeCommunityGoals(
  $params: UnsubscribeCommunityGoalsParams!,
  $options: UnsubscribeCommunityGoalsOptions
) {
  unsubscribeCommunityGoals(
    params: $params,
    options: $options
  ) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{
  "params": UnsubscribeCommunityGoalsParams,
  "options": UnsubscribeCommunityGoalsOptions
}
Response
{
  "data": {
    "unsubscribeCommunityGoals": [
      {
        "_id": "5e5677d71bdc2ae76344968c",
        "adminUserId": "5e5677d71bdc2ae76344968c",
        "adminUser": User,
        "yearId": "5e5677d71bdc2ae76344968c",
        "year": Year,
        "programId": "5e5677d71bdc2ae76344968c",
        "program": Program,
        "goalType": "abc123",
        "trackingStatus": "abc123",
        "achievement": "abc123",
        "isCompanyGoal": true,
        "goalDetail": GoalDetail,
        "participations": [Participation],
        "participationsPage": ParticipationsPage,
        "participationsFacts": [Fact],
        "subscriptions": [Participation],
        "subscriptionsPage": SubscriptionsPage,
        "subscriptionsFacts": [Fact],
        "subscribers": [User],
        "subscribersPage": UsersPage,
        "comments": [Comment],
        "progress": 987,
        "goalProgress": 987.65,
        "keyName": "xyz789",
        "priority": 987,
        "isActive": true,
        "isDeleted": true,
        "hash": "abc123",
        "isParticipant": true,
        "isSubscriber": true,
        "isAdmin": true,
        "createdDate": 1592577642,
        "updatedDate": 1592577642,
        "trashedDate": 1592577642,
        "deletedDate": 1592577642,
        "commentsPage": CommentsPage,
        "comment": Comment
      }
    ]
  }
}

updateAlarm

Description

To update Alarm. Access allowed to WeSoar Super Admin.

Response

Returns an Alarm

Arguments
Name Description
params - UpdateAlarmParams!
options - UpdateAlarmOptions

Example

Query
mutation updateAlarm(
  $params: UpdateAlarmParams!,
  $options: UpdateAlarmOptions
) {
  updateAlarm(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": UpdateAlarmParams,
  "options": UpdateAlarmOptions
}
Response
{
  "data": {
    "updateAlarm": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": false
    }
  }
}

updateAppraisal

Description

To update an appraisal. Access allowed to WeSoar Super Admin.

Response

Returns an Appraisal

Arguments
Name Description
params - UpdateAppraisalParams!
options - UpdateAppraisalOptions

Example

Query
mutation updateAppraisal(
  $params: UpdateAppraisalParams!,
  $options: UpdateAppraisalOptions
) {
  updateAppraisal(
    params: $params,
    options: $options
  ) {
    _id
    termProgramId
    appraisalRating {
      ...AppraisalRatingFragment
    }
    appraisalDate
    name
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    appraisalGoalsPage {
      ...GoalsPageFragment
    }
    priority
    appraisalStatus
    appraisalCalculation
    isDeleted
  }
}
Variables
{
  "params": UpdateAppraisalParams,
  "options": UpdateAppraisalOptions
}
Response
{
  "data": {
    "updateAppraisal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "appraisalRating": AppraisalRating,
      "appraisalDate": 1592577642,
      "name": "abc123",
      "commentsPage": CommentsPage,
      "comment": Comment,
      "appraisalGoalsPage": GoalsPage,
      "priority": 987,
      "appraisalStatus": "xyz789",
      "appraisalCalculation": "abc123",
      "isDeleted": false
    }
  }
}

updateAttendance

Description

DEPRECATED To create an attendance. Access allowed to WeSoar Super Admin.

Response

Returns an Attendance!

Arguments
Name Description
params - UpdateAttendanceParams!
options - UpdateAttendanceOptions

Example

Query
mutation updateAttendance(
  $params: UpdateAttendanceParams!,
  $options: UpdateAttendanceOptions
) {
  updateAttendance(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    userId
    attendanceLogs {
      ...AttendanceLogFragment
    }
    isActive
    isDeleted
    attendanceLogsPage {
      ...AttendanceLogsPageFragment
    }
    attendanceLogForDate {
      ...AttendanceLogFragment
    }
  }
}
Variables
{
  "params": UpdateAttendanceParams,
  "options": UpdateAttendanceOptions
}
Response
{
  "data": {
    "updateAttendance": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "attendanceLogs": [AttendanceLog],
      "isActive": true,
      "isDeleted": false,
      "attendanceLogsPage": AttendanceLogsPage,
      "attendanceLogForDate": AttendanceLog
    }
  }
}

updateAttendanceLog

Description

DEPRECATED To update an attendance entry. Access allowed to WeSoar Super Admin.

Response

Returns an Attendance

Arguments
Name Description
params - UpdateAttendanceLogParams!
options - UpdateAttendanceLogOptions

Example

Query
mutation updateAttendanceLog(
  $params: UpdateAttendanceLogParams!,
  $options: UpdateAttendanceLogOptions
) {
  updateAttendanceLog(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    userId
    attendanceLogs {
      ...AttendanceLogFragment
    }
    isActive
    isDeleted
    attendanceLogsPage {
      ...AttendanceLogsPageFragment
    }
    attendanceLogForDate {
      ...AttendanceLogFragment
    }
  }
}
Variables
{
  "params": UpdateAttendanceLogParams,
  "options": UpdateAttendanceLogOptions
}
Response
{
  "data": {
    "updateAttendanceLog": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "attendanceLogs": [AttendanceLog],
      "isActive": true,
      "isDeleted": true,
      "attendanceLogsPage": AttendanceLogsPage,
      "attendanceLogForDate": AttendanceLog
    }
  }
}

updateAttendanceLogs

Description

DEPRECATED To update attendance entries. Access allowed to WeSoar Super Admin.

Response

Returns an UpdateAttendanceLogsPayload

Arguments
Name Description
params - [UpdateAttendanceLogParams!]
options - UpdateAttendanceLogOptions

Example

Query
mutation updateAttendanceLogs(
  $params: [UpdateAttendanceLogParams!],
  $options: UpdateAttendanceLogOptions
) {
  updateAttendanceLogs(
    params: $params,
    options: $options
  ) {
    attendancesUpdated
    attendancesNotUpdated
  }
}
Variables
{
  "params": [UpdateAttendanceLogParams],
  "options": UpdateAttendanceLogOptions
}
Response
{
  "data": {
    "updateAttendanceLogs": {
      "attendancesUpdated": [
        "5e5677d71bdc2ae76344968c"
      ],
      "attendancesNotUpdated": [
        "5e5677d71bdc2ae76344968c"
      ]
    }
  }
}

updateCheckIn

Description

To update a CheckIn. Access allowed to authenticated user who is part of CheckIn Workflow as per business logic.

Response

Returns a CheckIn

Arguments
Name Description
params - UpdateCheckInParams!
options - UpdateCheckInOptions

Example

Query
mutation updateCheckIn(
  $params: UpdateCheckInParams!,
  $options: UpdateCheckInOptions
) {
  updateCheckIn(
    params: $params,
    options: $options
  ) {
    _id
    name
    checkInType
    termProgramId
    userId
    programId
    checkInSetting {
      ...CheckInSettingFragment
    }
    checkInDate
    checkInRatings {
      ...CheckInRatingFragment
    }
    priority
    checkInStatus
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    competencies {
      ...SurveyQuestionFragment
    }
    competenciesFPage {
      ...SurveyQuestionFragment
    }
    competenciesPage {
      ...SurveyQuestionsPageFragment
    }
    isDeleted
    latestRating {
      ...CheckInRatingFragment
    }
    checkInRatingsPage {
      ...CheckInRatingsPageFragment
    }
    checkInRatingsFPage {
      ...CheckInRatingFragment
    }
    checkInRatingsFOne {
      ...CheckInRatingFragment
    }
    commentTrailId
    isActiveForEmp
    isActiveForManager
  }
}
Variables
{
  "params": UpdateCheckInParams,
  "options": UpdateCheckInOptions
}
Response
{
  "data": {
    "updateCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "checkInType": "xyz789",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "checkInSetting": CheckInSetting,
      "checkInDate": 1592577642,
      "checkInRatings": [CheckInRating],
      "priority": 123,
      "checkInStatus": "xyz789",
      "user": User,
      "program": Program,
      "termProgram": TermProgram,
      "competencies": [SurveyQuestion],
      "competenciesFPage": [SurveyQuestion],
      "competenciesPage": SurveyQuestionsPage,
      "isDeleted": false,
      "latestRating": CheckInRating,
      "checkInRatingsPage": CheckInRatingsPage,
      "checkInRatingsFPage": [CheckInRating],
      "checkInRatingsFOne": CheckInRating,
      "commentTrailId": "5e5677d71bdc2ae76344968c",
      "isActiveForEmp": true,
      "isActiveForManager": false
    }
  }
}

updateComment

Description

To update a comment. Access allowed to authenticated user.

Response

Returns a Comment

Arguments
Name Description
params - UpdateCommentParams!
rootOptions - RootOptions

Example

Query
mutation updateComment(
  $params: UpdateCommentParams!,
  $rootOptions: RootOptions
) {
  updateComment(
    params: $params,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "params": UpdateCommentParams,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "updateComment": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "xyz789",
      "text": "abc123",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": true,
      "isDeleted": true,
      "commentDate": 1592577642,
      "type": "xyz789",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

updateCommentReaction

Description

To update a comment reaction. Access allowed to authenticated user.

Response

Returns a Comment

Arguments
Name Description
params - UpdateCommentReactionParams!
rootOptions - RootOptions

Example

Query
mutation updateCommentReaction(
  $params: UpdateCommentReactionParams!,
  $rootOptions: RootOptions
) {
  updateCommentReaction(
    params: $params,
    rootOptions: $rootOptions
  ) {
    _id
    parentCommentId
    fbMessageId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    userId
    mentions {
      ...MentionFragment
    }
    isEdited
    isDeleted
    commentDate
    type
    updatedDate
    deletedDate
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    parentComment {
      ...CommentFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    commentsFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{
  "params": UpdateCommentReactionParams,
  "rootOptions": RootOptions
}
Response
{
  "data": {
    "updateCommentReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "parentCommentId": "5e5677d71bdc2ae76344968c",
      "fbMessageId": "abc123",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "userId": "5e5677d71bdc2ae76344968c",
      "mentions": [Mention],
      "isEdited": true,
      "isDeleted": false,
      "commentDate": 1592577642,
      "type": "abc123",
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "user": User,
      "myReaction": Reaction,
      "parentComment": Comment,
      "reactionsFacts": [Fact],
      "commentsFacts": [Fact],
      "filesFacts": [Fact],
      "commentsPage": CommentsPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

updateCommunicationEvent

Description

To update Communication Event. Access allowed to WeSoar Super Admin.

Response

Returns a CommunicationEvent

Arguments
Name Description
params - UpdateCommunicationEventParams!
options - UpdateCommunicationEventOptions

Example

Query
mutation updateCommunicationEvent(
  $params: UpdateCommunicationEventParams!,
  $options: UpdateCommunicationEventOptions
) {
  updateCommunicationEvent(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": UpdateCommunicationEventParams,
  "options": UpdateCommunicationEventOptions
}
Response
{
  "data": {
    "updateCommunicationEvent": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 123,
      "isActive": false
    }
  }
}

updateCommunityGoal

Description

To update Community Goal. Access allowed to WeSoar Super Admin.

Response

Returns a CommunityGoal

Arguments
Name Description
params - UpdateCommunityGoalParams!
options - UpdateCommunityGoalOptions

Example

Query
mutation updateCommunityGoal(
  $params: UpdateCommunityGoalParams!,
  $options: UpdateCommunityGoalOptions
) {
  updateCommunityGoal(
    params: $params,
    options: $options
  ) {
    _id
    adminUserId
    adminUser {
      ...UserFragment
    }
    yearId
    year {
      ...YearFragment
    }
    programId
    program {
      ...ProgramFragment
    }
    goalType
    trackingStatus
    achievement
    isCompanyGoal
    goalDetail {
      ...GoalDetailFragment
    }
    participations {
      ...ParticipationFragment
    }
    participationsPage {
      ...ParticipationsPageFragment
    }
    participationsFacts {
      ...FactFragment
    }
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...SubscriptionsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    subscribers {
      ...UserFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    comments {
      ...CommentFragment
    }
    progress
    goalProgress
    keyName
    priority
    isActive
    isDeleted
    hash
    isParticipant
    isSubscriber
    isAdmin
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
  }
}
Variables
{
  "params": UpdateCommunityGoalParams,
  "options": UpdateCommunityGoalOptions
}
Response
{
  "data": {
    "updateCommunityGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "adminUserId": "5e5677d71bdc2ae76344968c",
      "adminUser": User,
      "yearId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "goalType": "xyz789",
      "trackingStatus": "xyz789",
      "achievement": "xyz789",
      "isCompanyGoal": false,
      "goalDetail": GoalDetail,
      "participations": [Participation],
      "participationsPage": ParticipationsPage,
      "participationsFacts": [Fact],
      "subscriptions": [Participation],
      "subscriptionsPage": SubscriptionsPage,
      "subscriptionsFacts": [Fact],
      "subscribers": [User],
      "subscribersPage": UsersPage,
      "comments": [Comment],
      "progress": 123,
      "goalProgress": 123.45,
      "keyName": "xyz789",
      "priority": 987,
      "isActive": false,
      "isDeleted": false,
      "hash": "xyz789",
      "isParticipant": false,
      "isSubscriber": false,
      "isAdmin": false,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "comment": Comment
    }
  }
}

updateConversation

Description

To update Conversation. Access allowed to Authenticated User.

Response

Returns a Conversation

Arguments
Name Description
params - UpdateConversationParams!
options - UpdateConversationOptions

Example

Query
mutation updateConversation(
  $params: UpdateConversationParams!,
  $options: UpdateConversationOptions
) {
  updateConversation(
    params: $params,
    options: $options
  ) {
    _id
    name
    description
    icon {
      ...FileFragment
    }
    rootId
    rootType
    fldName
    subscriptions {
      ...ParticipationFragment
    }
    subscriptionsPage {
      ...ParticipationsPageFragment
    }
    subscriptionsFacts {
      ...FactFragment
    }
    metas {
      ...MetaFragment
    }
    metasPage {
      ...MetasPageFragment
    }
    metasFacts {
      ...FactFragment
    }
    comments {
      ...CommentFragment
    }
    messages {
      ...MessageFragment
    }
    priority
    isActive
    isDeleted
    lastMessageDate
    lastMessage {
      ...MessageFragment
    }
    createdDate
    updatedDate
    trashedDate
    deletedDate
    commentsPage {
      ...CommentsPageFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FilesPageFragment
    }
    comment {
      ...CommentFragment
    }
    subscribersPage {
      ...UsersPageFragment
    }
    unseenCount
  }
}
Variables
{
  "params": UpdateConversationParams,
  "options": UpdateConversationOptions
}
Response
{
  "data": {
    "updateConversation": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "description": "abc123",
      "icon": File,
      "rootId": "5e5677d71bdc2ae76344968c",
      "rootType": "xyz789",
      "fldName": "xyz789",
      "subscriptions": [Participation],
      "subscriptionsPage": ParticipationsPage,
      "subscriptionsFacts": [Fact],
      "metas": [Meta],
      "metasPage": MetasPage,
      "metasFacts": [Fact],
      "comments": [Comment],
      "messages": [Message],
      "priority": 987,
      "isActive": false,
      "isDeleted": true,
      "lastMessageDate": 1592577642,
      "lastMessage": Message,
      "createdDate": 1592577642,
      "updatedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "commentsPage": CommentsPage,
      "messagesPage": MessagesPage,
      "filesPage": FilesPage,
      "comment": Comment,
      "subscribersPage": UsersPage,
      "unseenCount": 987
    }
  }
}

updateGoal

Description

To update Goal. Access allowed to authenticated user as per business logic.

Response

Returns a Goal!

Arguments
Name Description
params - UpdateGoalParams!
options - UpdateGoalOptions

Example

Query
mutation updateGoal(
  $params: UpdateGoalParams!,
  $options: UpdateGoalOptions
) {
  updateGoal(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": UpdateGoalParams,
  "options": UpdateGoalOptions
}
Response
{
  "data": {
    "updateGoal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "xyz789",
      "goalType": "abc123",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "abc123",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 987,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "xyz789",
      "achievement": "abc123",
      "goalProgress": 123,
      "priority": 987,
      "isActive": true,
      "isShowInPlannedTask": true,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

updateGoalAppraisal

Description

DEPRECATED To update Goal Appraisal. Access allowed to WeSoar Super Admin.

Response

Returns a Goal

Arguments
Name Description
params - UpdateGoalAppraisalParams!
options - UpdateGoalAppraisalOptions

Example

Query
mutation updateGoalAppraisal(
  $params: UpdateGoalAppraisalParams!,
  $options: UpdateGoalAppraisalOptions
) {
  updateGoalAppraisal(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": UpdateGoalAppraisalParams,
  "options": UpdateGoalAppraisalOptions
}
Response
{
  "data": {
    "updateGoalAppraisal": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "abc123",
      "goalType": "xyz789",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "xyz789",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 987,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "xyz789",
      "achievement": "xyz789",
      "goalProgress": 123,
      "priority": 123,
      "isActive": true,
      "isShowInPlannedTask": false,
      "isShowInUnplannedTask": true,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

updateGoalAppraisals

Description

DEPRECATED To update Goal Appraisals. Access allowed to WeSoar Super Admin.

Response

Returns an UpdateGoalAppraisalsPayload

Arguments
Name Description
params - [UpdateGoalAppraisalParams!]
options - UpdateGoalAppraisalOptions

Example

Query
mutation updateGoalAppraisals(
  $params: [UpdateGoalAppraisalParams!],
  $options: UpdateGoalAppraisalOptions
) {
  updateGoalAppraisals(
    params: $params,
    options: $options
  ) {
    goalsUpdated
    goalsNotUpdated
  }
}
Variables
{
  "params": [UpdateGoalAppraisalParams],
  "options": UpdateGoalAppraisalOptions
}
Response
{
  "data": {
    "updateGoalAppraisals": {
      "goalsUpdated": [
        "5e5677d71bdc2ae76344968c"
      ],
      "goalsNotUpdated": [
        "5e5677d71bdc2ae76344968c"
      ]
    }
  }
}

updateGoalCheckIn

Description

DEPRECATED To update Goal CheckIn. Access allowed to WeSoar Super Admin.

Response

Returns a Goal

Arguments
Name Description
params - UpdateGoalCheckInParams!
options - UpdateGoalCheckInOptions

Example

Query
mutation updateGoalCheckIn(
  $params: UpdateGoalCheckInParams!,
  $options: UpdateGoalCheckInOptions
) {
  updateGoalCheckIn(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    assignedToUserId
    assignedByUserId
    approvedByUserId
    trashedByUserId
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    hash
    goalType
    parentGoalId
    conversationId
    goalDetail {
      ...GoalDetailFragment
    }
    comments {
      ...CommentFragment
    }
    obstacles {
      ...CommentFragment
    }
    checkInComments {
      ...CommentFragment
    }
    appraisalComments {
      ...CommentFragment
    }
    views
    communityGoalId
    trackingStatus
    achievement
    goalProgress
    priority
    isActive
    isShowInPlannedTask
    isShowInUnplannedTask
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    communityGoal {
      ...CommunityGoalFragment
    }
    parentGoal {
      ...GoalFragment
    }
    latestCompletedCheckIn {
      ...CheckInFragment
    }
    latestCompletedGoalCheckIn {
      ...GoalCheckInFragment
    }
    goalCheckIns {
      ...GoalCheckInFragment
    }
    goalAppraisals {
      ...GoalAppraisalFragment
    }
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    obstaclesPage {
      ...CommentsPageFragment
    }
    obstacle {
      ...CommentFragment
    }
    checkInCommentsPage {
      ...CommentsPageFragment
    }
    checkInComment {
      ...CommentFragment
    }
    appraisalCommentsPage {
      ...CommentsPageFragment
    }
    appraisalComment {
      ...CommentFragment
    }
    goalCheckInsPage {
      ...GoalCheckInsPageFragment
    }
    goalCheckIn {
      ...GoalCheckInFragment
    }
    goalAppraisalsPage {
      ...GoalAppraisalsPageFragment
    }
    goalAppraisal {
      ...GoalAppraisalFragment
    }
  }
}
Variables
{
  "params": UpdateGoalCheckInParams,
  "options": UpdateGoalCheckInOptions
}
Response
{
  "data": {
    "updateGoalCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "assignedToUserId": "5e5677d71bdc2ae76344968c",
      "assignedByUserId": "5e5677d71bdc2ae76344968c",
      "approvedByUserId": "5e5677d71bdc2ae76344968c",
      "trashedByUserId": "5e5677d71bdc2ae76344968c",
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "hash": "abc123",
      "goalType": "xyz789",
      "parentGoalId": "5e5677d71bdc2ae76344968c",
      "conversationId": "abc123",
      "goalDetail": GoalDetail,
      "comments": [Comment],
      "obstacles": [Comment],
      "checkInComments": [Comment],
      "appraisalComments": [Comment],
      "views": 123,
      "communityGoalId": "5e5677d71bdc2ae76344968c",
      "trackingStatus": "abc123",
      "achievement": "abc123",
      "goalProgress": 123,
      "priority": 123,
      "isActive": false,
      "isShowInPlannedTask": false,
      "isShowInUnplannedTask": false,
      "year": Year,
      "program": Program,
      "termProgram": TermProgram,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "communityGoal": CommunityGoal,
      "parentGoal": Goal,
      "latestCompletedCheckIn": CheckIn,
      "latestCompletedGoalCheckIn": GoalCheckIn,
      "goalCheckIns": [GoalCheckIn],
      "goalAppraisals": [GoalAppraisal],
      "commentsPage": CommentsPage,
      "comment": Comment,
      "obstaclesPage": CommentsPage,
      "obstacle": Comment,
      "checkInCommentsPage": CommentsPage,
      "checkInComment": Comment,
      "appraisalCommentsPage": CommentsPage,
      "appraisalComment": Comment,
      "goalCheckInsPage": GoalCheckInsPage,
      "goalCheckIn": GoalCheckIn,
      "goalAppraisalsPage": GoalAppraisalsPage,
      "goalAppraisal": GoalAppraisal
    }
  }
}

updateGoalCheckIns

Description

DEPRECATED To update Goal CheckIns. Access allowed to WeSoar Super Admin.

Response

Returns an UpdateGoalCheckInsPayload

Arguments
Name Description
params - [UpdateGoalCheckInParams!]
options - UpdateGoalCheckInOptions

Example

Query
mutation updateGoalCheckIns(
  $params: [UpdateGoalCheckInParams!],
  $options: UpdateGoalCheckInOptions
) {
  updateGoalCheckIns(
    params: $params,
    options: $options
  ) {
    goalsUpdated
    goalsNotUpdated
  }
}
Variables
{
  "params": [UpdateGoalCheckInParams],
  "options": UpdateGoalCheckInOptions
}
Response
{
  "data": {
    "updateGoalCheckIns": {
      "goalsUpdated": [
        "5e5677d71bdc2ae76344968c"
      ],
      "goalsNotUpdated": [
        "5e5677d71bdc2ae76344968c"
      ]
    }
  }
}

updateGoals

Description

To update Goals. Access allowed to authenticated user as per business logic.

Response

Returns an UpdateGoalsWeightagesPayload!

Arguments
Name Description
params - [UpdateGoalParams]!
options - UpdateGoalOptions

Example

Query
mutation updateGoals(
  $params: [UpdateGoalParams]!,
  $options: UpdateGoalOptions
) {
  updateGoals(
    params: $params,
    options: $options
  ) {
    goalsUpdated {
      ...GoalFragment
    }
    goalsNotUpdated
  }
}
Variables
{
  "params": [UpdateGoalParams],
  "options": UpdateGoalOptions
}
Response
{
  "data": {
    "updateGoals": {
      "goalsUpdated": [Goal],
      "goalsNotUpdated": ["abc123"]
    }
  }
}

updateGoalsWeightages

Description

To update Goals Weightages. Access allowed to authenticated user as per business logic.

Response

Returns an UpdateGoalsWeightagesPayload!

Arguments
Name Description
params - [UpdateGoalWeightageParams]!
options - UpdateGoalOptions

Example

Query
mutation updateGoalsWeightages(
  $params: [UpdateGoalWeightageParams]!,
  $options: UpdateGoalOptions
) {
  updateGoalsWeightages(
    params: $params,
    options: $options
  ) {
    goalsUpdated {
      ...GoalFragment
    }
    goalsNotUpdated
  }
}
Variables
{
  "params": [UpdateGoalWeightageParams],
  "options": UpdateGoalOptions
}
Response
{
  "data": {
    "updateGoalsWeightages": {
      "goalsUpdated": [Goal],
      "goalsNotUpdated": ["abc123"]
    }
  }
}

updateLanguage

Description

To update Language. Access allowed to WeSoar Super Admin.

Response

Returns a Language

Arguments
Name Description
params - UpdateLanguageParams!
options - UpdateLanguageOptions

Example

Query
mutation updateLanguage(
  $params: UpdateLanguageParams!,
  $options: UpdateLanguageOptions
) {
  updateLanguage(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
    isRTL
  }
}
Variables
{
  "params": UpdateLanguageParams,
  "options": UpdateLanguageOptions
}
Response
{
  "data": {
    "updateLanguage": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": true,
      "isRTL": true
    }
  }
}

updateMaster

Description

To update Master. Access allowed to WeSoar Super Admin.

Response

Returns a Master!

Arguments
Name Description
params - UpdateMasterParams!
options - UpdateMasterOptions
modelName - String

Example

Query
mutation updateMaster(
  $params: UpdateMasterParams!,
  $options: UpdateMasterOptions,
  $modelName: String
) {
  updateMaster(
    params: $params,
    options: $options,
    modelName: $modelName
  ) {
    _id
    name
    keyName
    priority
    isActive
    isDeleted
  }
}
Variables
{
  "params": UpdateMasterParams,
  "options": UpdateMasterOptions,
  "modelName": "xyz789"
}
Response
{
  "data": {
    "updateMaster": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": true,
      "isDeleted": false
    }
  }
}

updateMessage

Response

Returns a Message

Arguments
Name Description
params - UpdateMessageParams!

Example

Query
mutation updateMessage($params: UpdateMessageParams!) {
  updateMessage(params: $params) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"params": UpdateMessageParams}
Response
{
  "data": {
    "updateMessage": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "abc123",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": true,
      "isDeleted": true,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

updateMessageReaction

Response

Returns a Message

Arguments
Name Description
params - UpdateMessageReactionParams!

Example

Query
mutation updateMessageReaction($params: UpdateMessageReactionParams!) {
  updateMessageReaction(params: $params) {
    _id
    conversationId
    type
    parentId
    text
    files {
      ...FileFragment
    }
    reactions {
      ...ReactionFragment
    }
    shares {
      ...ShareFragment
    }
    mentions {
      ...MentionFragment
    }
    userId
    isEdited
    isDeleted
    postedDate
    messageStatus {
      ...MessageStatusFragment
    }
    updatedDate
    deletedDate
    conversation {
      ...ConversationFragment
    }
    parent {
      ...MessageFragment
    }
    user {
      ...UserFragment
    }
    myReaction {
      ...ReactionFragment
    }
    reactionsFacts {
      ...FactFragment
    }
    messagesFacts {
      ...FactFragment
    }
    filesFacts {
      ...FactFragment
    }
    messagesPage {
      ...MessagesPageFragment
    }
    filesPage {
      ...FileFragment
    }
    reactionsPage {
      ...ReactionsPageFragment
    }
    sharesPage {
      ...SharesPageFragment
    }
  }
}
Variables
{"params": UpdateMessageReactionParams}
Response
{
  "data": {
    "updateMessageReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "conversationId": "5e5677d71bdc2ae76344968c",
      "type": "abc123",
      "parentId": "5e5677d71bdc2ae76344968c",
      "text": "xyz789",
      "files": [File],
      "reactions": [Reaction],
      "shares": [Share],
      "mentions": [Mention],
      "userId": "5e5677d71bdc2ae76344968c",
      "isEdited": false,
      "isDeleted": false,
      "postedDate": 1592577642,
      "messageStatus": [MessageStatus],
      "updatedDate": 1592577642,
      "deletedDate": 1592577642,
      "conversation": Conversation,
      "parent": Message,
      "user": User,
      "myReaction": Reaction,
      "reactionsFacts": [Fact],
      "messagesFacts": [Fact],
      "filesFacts": [Fact],
      "messagesPage": MessagesPage,
      "filesPage": [File],
      "reactionsPage": ReactionsPage,
      "sharesPage": SharesPage
    }
  }
}

updateModule

Description

To update Module. Access allowed to WeSoar Super Admin.

Response

Returns a Module

Arguments
Name Description
params - UpdateModuleParams!
options - UpdateModuleOptions

Example

Query
mutation updateModule(
  $params: UpdateModuleParams!,
  $options: UpdateModuleOptions
) {
  updateModule(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": UpdateModuleParams,
  "options": UpdateModuleOptions
}
Response
{
  "data": {
    "updateModule": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": false
    }
  }
}

updateModuleCategory

Description

To update Module Category. Access allowed to WeSoar Super Admin.

Response

Returns a ModuleCategory

Arguments
Name Description
params - UpdateModuleCategoryParams!
options - UpdateModuleCategoryOptions

Example

Query
mutation updateModuleCategory(
  $params: UpdateModuleCategoryParams!,
  $options: UpdateModuleCategoryOptions
) {
  updateModuleCategory(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    modules {
      ...ModuleFragment
    }
    priority
    isActive
  }
}
Variables
{
  "params": UpdateModuleCategoryParams,
  "options": UpdateModuleCategoryOptions
}
Response
{
  "data": {
    "updateModuleCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "modules": [Module],
      "priority": 987,
      "isActive": true
    }
  }
}

updateNotification

Description

DEPRECATED To update Notification. Access allowed to WeSoar Super Admin.

Response

Returns a Notification!

Arguments
Name Description
params - UpdateNotificationParams!
options - UpdateNotificationOptions

Example

Query
mutation updateNotification(
  $params: UpdateNotificationParams!,
  $options: UpdateNotificationOptions
) {
  updateNotification(
    params: $params,
    options: $options
  ) {
    _id
    userId
    termProgramId
    notificationDate
    messageData
    payload
    isOpened
    messageText
    messageTitle
    messageUri
    isActive
    isDeleted
  }
}
Variables
{
  "params": UpdateNotificationParams,
  "options": UpdateNotificationOptions
}
Response
{
  "data": {
    "updateNotification": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "notificationDate": 1592577642,
      "messageData": {},
      "payload": {},
      "isOpened": true,
      "messageText": "abc123",
      "messageTitle": "abc123",
      "messageUri": "xyz789",
      "isActive": true,
      "isDeleted": false
    }
  }
}

updateOrgUnit

Description

To update Organisation Unit. Access allowed to WeSoar Super Admin.

Response

Returns an OrgUnit

Arguments
Name Description
params - UpdateOrgUnitParams!
options - UpdateOrgUnitOptions

Example

Query
mutation updateOrgUnit(
  $params: UpdateOrgUnitParams!,
  $options: UpdateOrgUnitOptions
) {
  updateOrgUnit(
    params: $params,
    options: $options
  ) {
    _id
    name
    pid
    keyName
    priority
    isActive
    myRootOrg {
      ...OrgUnitFragment
    }
    childUnitsPage {
      ...OrgUnitsPageFragment
    }
    surveyReportWithPrevSurveyReport {
      ...SurveyReportFragment
    }
  }
}
Variables
{
  "params": UpdateOrgUnitParams,
  "options": UpdateOrgUnitOptions
}
Response
{
  "data": {
    "updateOrgUnit": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "pid": "5e5677d71bdc2ae76344968c",
      "keyName": "abc123",
      "priority": 123,
      "isActive": true,
      "myRootOrg": OrgUnit,
      "childUnitsPage": OrgUnitsPage,
      "surveyReportWithPrevSurveyReport": SurveyReport
    }
  }
}

updatePlannedTask

Description

To update Planned Task. Access allowed to Authenticated User as per business logic.

Response

Returns a PlannedTask!

Arguments
Name Description
params - UpdatePlannedTaskParams!
options - UpdatePlannedTaskOptions

Example

Query
mutation updatePlannedTask(
  $params: UpdatePlannedTaskParams!,
  $options: UpdatePlannedTaskOptions
) {
  updatePlannedTask(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{
  "params": UpdatePlannedTaskParams,
  "options": UpdatePlannedTaskOptions
}
Response
{
  "data": {
    "updatePlannedTask": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "abc123",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "xyz789",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "abc123",
      "priority": 987,
      "isActive": false,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 123
    }
  }
}

updatePlannedTaskFollowUp

Description

To update Planned Task follow up. Access allowed to Authenticated User as per business logic.

Response

Returns a PlannedTask

Arguments
Name Description
params - UpdatePlannedTaskFollowUpParams!
options - UpdatePlannedTaskFollowUpOptions

Example

Query
mutation updatePlannedTaskFollowUp(
  $params: UpdatePlannedTaskFollowUpParams!,
  $options: UpdatePlannedTaskFollowUpOptions
) {
  updatePlannedTaskFollowUp(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    plannedTaskType
    plannedTaskDetail {
      ...PlannedTaskDetailFragment
    }
    followUps {
      ...FollowUpFragment
    }
    comments {
      ...CommentFragment
    }
    eisenhowerQuadrant
    managerFeedback {
      ...ManagerFeedbackFragment
    }
    kanbanStageId
    kanbanStage {
      ...KanbanStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    views
  }
}
Variables
{
  "params": UpdatePlannedTaskFollowUpParams,
  "options": UpdatePlannedTaskFollowUpOptions
}
Response
{
  "data": {
    "updatePlannedTaskFollowUp": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "plannedTaskType": "xyz789",
      "plannedTaskDetail": PlannedTaskDetail,
      "followUps": [FollowUp],
      "comments": [Comment],
      "eisenhowerQuadrant": "xyz789",
      "managerFeedback": ManagerFeedback,
      "kanbanStageId": "5e5677d71bdc2ae76344968c",
      "kanbanStage": KanbanStage,
      "trackingStatus": "abc123",
      "priority": 123,
      "isActive": false,
      "isDeleted": false,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "views": 987
    }
  }
}

updatePlannedTasksEisenhowerQuadrants

Description

To update Planned Task Eisenhower Quadrants. Access allowed to Authenticated User as per business logic.

Arguments
Name Description
params - [UpdatePlannedTaskEisenhowerQuadrantParams!]

Example

Query
mutation updatePlannedTasksEisenhowerQuadrants($params: [UpdatePlannedTaskEisenhowerQuadrantParams!]) {
  updatePlannedTasksEisenhowerQuadrants(params: $params) {
    plannedTasksUpdated {
      ...PlannedTaskFragment
    }
    plannedTasksNotUpdated
  }
}
Variables
{"params": [UpdatePlannedTaskEisenhowerQuadrantParams]}
Response
{
  "data": {
    "updatePlannedTasksEisenhowerQuadrants": {
      "plannedTasksUpdated": [PlannedTask],
      "plannedTasksNotUpdated": ["xyz789"]
    }
  }
}

updateProfile

Description

To update profile. Access allowed to Authenticated User.

Response

Returns an UpdateProfilePayload

Arguments
Name Description
params - UpdateProfileParams!
options - UpdateProfileOptions

Example

Query
mutation updateProfile(
  $params: UpdateProfileParams!,
  $options: UpdateProfileOptions
) {
  updateProfile(
    params: $params,
    options: $options
  ) {
    user {
      ...UserFragment
    }
    codeDeliveryDetailsList {
      ...CodeDeliveryDetailsFragment
    }
  }
}
Variables
{
  "params": UpdateProfileParams,
  "options": UpdateProfileOptions
}
Response
{
  "data": {
    "updateProfile": {
      "user": User,
      "codeDeliveryDetailsList": [CodeDeliveryDetails]
    }
  }
}

updateProgram

Description

To update Program. Access allowed to WeSoar Super Admin.

Response

Returns a Program

Arguments
Name Description
params - UpdateProgramParams!
options - UpdateProgramOptions

Example

Query
mutation updateProgram(
  $params: UpdateProgramParams!,
  $options: UpdateProgramOptions
) {
  updateProgram(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programCategoryId
    name
    keyName
    moduleKeyName
    moduleCategoryKeyName
    startDate
    endDate
    goalSetting {
      ...GoalSettingFragment
    }
    plannedTaskSetting {
      ...PlannedTaskSettingFragment
    }
    unplannedTaskSetting {
      ...UnplannedTaskSettingFragment
    }
    surveySetting {
      ...SurveySettingFragment
    }
    userFilterRules
    status
    programLabels
    priority
    isActive
    isDeleted
    year {
      ...YearFragment
    }
    programCategory {
      ...ProgramCategoryFragment
    }
    kanbanStage {
      ...KanbanStageFragment
    }
    impactStage {
      ...ImpactStageFragment
    }
    timelineStage {
      ...TimelineStageFragment
    }
    unplannedImpactStage {
      ...ImpactStageFragment
    }
    previousProgram {
      ...ProgramFragment
    }
    surveyReportsPage {
      ...SurveyReportsPageFragment
    }
    surveyReportsCount
    surveyReport {
      ...SurveyReportFragment
    }
    filterOptions {
      ...FilterOptionFragment
    }
  }
}
Variables
{
  "params": UpdateProgramParams,
  "options": UpdateProgramOptions
}
Response
{
  "data": {
    "updateProgram": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programCategoryId": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "moduleKeyName": "abc123",
      "moduleCategoryKeyName": "abc123",
      "startDate": 1592577642,
      "endDate": 1592577642,
      "goalSetting": GoalSetting,
      "plannedTaskSetting": PlannedTaskSetting,
      "unplannedTaskSetting": UnplannedTaskSetting,
      "surveySetting": SurveySetting,
      "userFilterRules": [{}],
      "status": "abc123",
      "programLabels": ["xyz789"],
      "priority": 987,
      "isActive": true,
      "isDeleted": false,
      "year": Year,
      "programCategory": ProgramCategory,
      "kanbanStage": KanbanStage,
      "impactStage": ImpactStage,
      "timelineStage": TimelineStage,
      "unplannedImpactStage": ImpactStage,
      "previousProgram": Program,
      "surveyReportsPage": SurveyReportsPage,
      "surveyReportsCount": 123,
      "surveyReport": SurveyReport,
      "filterOptions": [FilterOption]
    }
  }
}

updateProgramType

Description

To update Program Type. Access allowed to WeSoar Super Admin.

Response

Returns a ProgramType

Arguments
Name Description
params - UpdateProgramTypeParams!
options - UpdateProgramTypeOptions

Example

Query
mutation updateProgramType(
  $params: UpdateProgramTypeParams!,
  $options: UpdateProgramTypeOptions
) {
  updateProgramType(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
  }
}
Variables
{
  "params": UpdateProgramTypeParams,
  "options": UpdateProgramTypeOptions
}
Response
{
  "data": {
    "updateProgramType": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "xyz789",
      "priority": 123,
      "isActive": false
    }
  }
}

updateRatingResponseForCheckIn

Description

To update rating responses for CheckIn. Access allowed to WeSoar Super Admin.

Response

Returns a CheckIn

Arguments
Name Description
checkInId - ObjectID
ratingResponse - String
managerTypeId - ObjectID
userManagerId - ObjectID

Example

Query
mutation updateRatingResponseForCheckIn(
  $checkInId: ObjectID,
  $ratingResponse: String,
  $managerTypeId: ObjectID,
  $userManagerId: ObjectID
) {
  updateRatingResponseForCheckIn(
    checkInId: $checkInId,
    ratingResponse: $ratingResponse,
    managerTypeId: $managerTypeId,
    userManagerId: $userManagerId
  ) {
    _id
    name
    checkInType
    termProgramId
    userId
    programId
    checkInSetting {
      ...CheckInSettingFragment
    }
    checkInDate
    checkInRatings {
      ...CheckInRatingFragment
    }
    priority
    checkInStatus
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    termProgram {
      ...TermProgramFragment
    }
    competencies {
      ...SurveyQuestionFragment
    }
    competenciesFPage {
      ...SurveyQuestionFragment
    }
    competenciesPage {
      ...SurveyQuestionsPageFragment
    }
    isDeleted
    latestRating {
      ...CheckInRatingFragment
    }
    checkInRatingsPage {
      ...CheckInRatingsPageFragment
    }
    checkInRatingsFPage {
      ...CheckInRatingFragment
    }
    checkInRatingsFOne {
      ...CheckInRatingFragment
    }
    commentTrailId
    isActiveForEmp
    isActiveForManager
  }
}
Variables
{
  "checkInId": "5e5677d71bdc2ae76344968c",
  "ratingResponse": "abc123",
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c"
}
Response
{
  "data": {
    "updateRatingResponseForCheckIn": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "checkInType": "xyz789",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "checkInSetting": CheckInSetting,
      "checkInDate": 1592577642,
      "checkInRatings": [CheckInRating],
      "priority": 123,
      "checkInStatus": "xyz789",
      "user": User,
      "program": Program,
      "termProgram": TermProgram,
      "competencies": [SurveyQuestion],
      "competenciesFPage": [SurveyQuestion],
      "competenciesPage": SurveyQuestionsPage,
      "isDeleted": true,
      "latestRating": CheckInRating,
      "checkInRatingsPage": CheckInRatingsPage,
      "checkInRatingsFPage": [CheckInRating],
      "checkInRatingsFOne": CheckInRating,
      "commentTrailId": "5e5677d71bdc2ae76344968c",
      "isActiveForEmp": false,
      "isActiveForManager": false
    }
  }
}

updateReport

Description

To update Report Type. Access allowed to WeSoar Super Admin.

Response

Returns a Report

Arguments
Name Description
params - UpdateReportParams!
options - UpdateReportOptions

Example

Query
mutation updateReport(
  $params: UpdateReportParams!,
  $options: UpdateReportOptions
) {
  updateReport(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
    isRTL
  }
}
Variables
{
  "params": UpdateReportParams,
  "options": UpdateReportOptions
}
Response
{
  "data": {
    "updateReport": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "keyName": "abc123",
      "priority": 987,
      "isActive": true,
      "isRTL": false
    }
  }
}

updateSurveyAnswerCategory

Description

To update Survey Answer Category. Access allowed to WeSoar Super Admin.

Response

Returns a SurveyAnswerCategory

Arguments
Name Description
params - UpdateSurveyAnswerCategoryParams!
options - UpdateSurveyAnswerCategoryOptions

Example

Query
mutation updateSurveyAnswerCategory(
  $params: UpdateSurveyAnswerCategoryParams!,
  $options: UpdateSurveyAnswerCategoryOptions
) {
  updateSurveyAnswerCategory(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    color
    percentage
    priority
    isActive
  }
}
Variables
{
  "params": UpdateSurveyAnswerCategoryParams,
  "options": UpdateSurveyAnswerCategoryOptions
}
Response
{
  "data": {
    "updateSurveyAnswerCategory": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "color": "abc123",
      "percentage": 987.65,
      "priority": 987,
      "isActive": true
    }
  }
}

updateSurveyQuestion

Description

To update Survey Question. Access allowed to WeSoar Super Admin.

Response

Returns a SurveyQuestion

Arguments
Name Description
params - UpdateSurveyQuestionParams!
options - UpdateSurveyQuestionOptions

Example

Query
mutation updateSurveyQuestion(
  $params: UpdateSurveyQuestionParams!,
  $options: UpdateSurveyQuestionOptions
) {
  updateSurveyQuestion(
    params: $params,
    options: $options
  ) {
    _id
    surveyLibraryQuestionId
    question {
      ...QuestionFragment
    }
    responseBySpecimenKey {
      ...SurveyResponseFragment
    }
    responseBySpecimenId {
      ...SurveyResponseFragment
    }
    isLibraryQuestion
    conversion
    stdDev
    countResponses
    scaleResponseSummary {
      ...ScaleResponseSummaryFragment
    }
    responsesByCheckInId {
      ...ResponseByCheckInFragment
    }
    sentiments {
      ...SentimentFragment
    }
    summary
  }
}
Variables
{
  "params": UpdateSurveyQuestionParams,
  "options": UpdateSurveyQuestionOptions
}
Response
{
  "data": {
    "updateSurveyQuestion": {
      "_id": "5e5677d71bdc2ae76344968c",
      "surveyLibraryQuestionId": "5e5677d71bdc2ae76344968c",
      "question": Question,
      "responseBySpecimenKey": SurveyResponse,
      "responseBySpecimenId": SurveyResponse,
      "isLibraryQuestion": false,
      "conversion": 123.45,
      "stdDev": 123.45,
      "countResponses": 123,
      "scaleResponseSummary": [ScaleResponseSummary],
      "responsesByCheckInId": [ResponseByCheckIn],
      "sentiments": [Sentiment],
      "summary": ["xyz789"]
    }
  }
}

updateSurveyQuestionFactor

Description

To update Survey Question Factor. Access allowed to WeSoar Super Admin.

Response

Returns a SurveyQuestionFactor

Arguments
Name Description
params - UpdateSurveyQuestionFactorParams!
options - UpdateSurveyQuestionFactorOptions

Example

Query
mutation updateSurveyQuestionFactor(
  $params: UpdateSurveyQuestionFactorParams!,
  $options: UpdateSurveyQuestionFactorOptions
) {
  updateSurveyQuestionFactor(
    params: $params,
    options: $options
  ) {
    _id
    name
    keyName
    priority
    isActive
    conversion
    stdDev
    countQuestions
    surveyAnswerCategories {
      ...SurveyAnswerCategoryFragment
    }
    overallRankWithGap {
      ...RankWithGapFragment
    }
    overallRank
    overallGap
    wordCloudWords {
      ...WordCloudWordFragment
    }
    sentiments {
      ...SentimentFragment
    }
    surveyAnswerCompositions {
      ...SurveyAnswerCategoryFragment
    }
    summary
    responsesByCheckInId {
      ...ResponseByCheckInFragment
    }
    responsesTillCheckInId {
      ...ResponseByCheckInFragment
    }
  }
}
Variables
{
  "params": UpdateSurveyQuestionFactorParams,
  "options": UpdateSurveyQuestionFactorOptions
}
Response
{
  "data": {
    "updateSurveyQuestionFactor": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "abc123",
      "priority": 987,
      "isActive": false,
      "conversion": 123.45,
      "stdDev": 987.65,
      "countQuestions": 123,
      "surveyAnswerCategories": [SurveyAnswerCategory],
      "overallRankWithGap": RankWithGap,
      "overallRank": 987,
      "overallGap": 987.65,
      "wordCloudWords": [WordCloudWord],
      "sentiments": [Sentiment],
      "surveyAnswerCompositions": [SurveyAnswerCategory],
      "summary": ["abc123"],
      "responsesByCheckInId": [ResponseByCheckIn],
      "responsesTillCheckInId": [ResponseByCheckIn]
    }
  }
}

updateSurveyResponses

Description

To update Survey Response. Access allowed to Survey Respondent.

Response

Returns an UpdateSurveyResponsesPayload

Arguments
Name Description
params - UpdateSurveyResponsesParams
options - UpdateSurveyResponsesOptions

Example

Query
mutation updateSurveyResponses(
  $params: UpdateSurveyResponsesParams,
  $options: UpdateSurveyResponsesOptions
) {
  updateSurveyResponses(
    params: $params,
    options: $options
  ) {
    surveyResponses {
      ...SurveyResponseFragment
    }
  }
}
Variables
{
  "params": UpdateSurveyResponsesParams,
  "options": UpdateSurveyResponsesOptions
}
Response
{
  "data": {
    "updateSurveyResponses": {
      "surveyResponses": [SurveyResponse]
    }
  }
}

updateSurveySpecimen

Description

To update Survey Specimen. Access allowed to Survey Respondent.

Response

Returns a SurveySpecimen

Arguments
Name Description
params - UpdateSurveySpecimenParams!
options - UpdateSurveySpecimenOptions

Example

Query
mutation updateSurveySpecimen(
  $params: UpdateSurveySpecimenParams!,
  $options: UpdateSurveySpecimenOptions
) {
  updateSurveySpecimen(
    params: $params,
    options: $options
  ) {
    _id
    programId
    program {
      ...ProgramFragment
    }
    userId
    user {
      ...UserFragment
    }
    isOpen
    isActive
    responses {
      ...SurveyResponseFragment
    }
    surveyQuestions {
      ...SurveyQuestionFragment
    }
    surveySpecimenKey
    participants {
      ...UserFragment
    }
  }
}
Variables
{
  "params": UpdateSurveySpecimenParams,
  "options": UpdateSurveySpecimenOptions
}
Response
{
  "data": {
    "updateSurveySpecimen": {
      "_id": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "program": Program,
      "userId": "5e5677d71bdc2ae76344968c",
      "user": User,
      "isOpen": false,
      "isActive": true,
      "responses": [SurveyResponse],
      "surveyQuestions": [SurveyQuestion],
      "surveySpecimenKey": "abc123",
      "participants": [User]
    }
  }
}

updateTermProgram

Description

To update term program. Access allowed to WeSoar Super Admin.

Response

Returns a TermProgram

Arguments
Name Description
params - UpdateTermProgramParams!
options - UpdateTermProgramOptions

Example

Query
mutation updateTermProgram(
  $params: UpdateTermProgramParams!,
  $options: UpdateTermProgramOptions
) {
  updateTermProgram(
    params: $params,
    options: $options
  ) {
    _id
    name
    userId
    programId
    assignDate
    deAssignDate
    isOpen
    isActive
    isDeleted
    user {
      ...UserFragment
    }
    program {
      ...ProgramFragment
    }
    myCompanyGoalsPage {
      ...CommunityGoalsPageFragment
    }
    myCommunityGoalsPage {
      ...CommunityGoalsPageFragment
    }
    approvedGoalsPage {
      ...GoalsPageFragment
    }
    withObstacleGoalsPage {
      ...GoalsPageFragment
    }
    draftGoalsPage {
      ...GoalsPageFragment
    }
    trashedGoalsPage {
      ...GoalsPageFragment
    }
    taggedGoalsPage {
      ...GoalsPageFragment
    }
    checkInGoalsPage {
      ...GoalsPageFragment
    }
    approvedGoalsFacts {
      ...FactFragment
    }
    draftGoalsFacts {
      ...FactFragment
    }
    trashedGoalsFacts {
      ...FactFragment
    }
    taggedGoalsFacts {
      ...FactFragment
    }
    submittedGoalsFacts {
      ...FactFragment
    }
    goalsFacts {
      ...FactFragment
    }
    plannedTasksPage {
      ...PlannedTasksPageFragment
    }
    plannedTasksFacts {
      ...FactFragment
    }
    taggedPlannedTasksPage {
      ...PlannedTasksPageFragment
    }
    taggedPlannedTasksFacts {
      ...FactFragment
    }
    unplannedTasksPage {
      ...UnplannedTasksPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    attendancesPage {
      ...AttendancesPageFragment
    }
    attendancesFacts {
      ...FactFragment
    }
    checkInsPage {
      ...CheckInsPageFragment
    }
    checkInsFacts {
      ...FactFragment
    }
    appraisalsPage {
      ...AppraisalsPageFragment
    }
    appraisalsFacts {
      ...FactFragment
    }
  }
}
Variables
{
  "params": UpdateTermProgramParams,
  "options": UpdateTermProgramOptions
}
Response
{
  "data": {
    "updateTermProgram": {
      "_id": "5e5677d71bdc2ae76344968c",
      "name": "xyz789",
      "userId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "assignDate": 1592577642,
      "deAssignDate": 1592577642,
      "isOpen": true,
      "isActive": true,
      "isDeleted": false,
      "user": User,
      "program": Program,
      "myCompanyGoalsPage": CommunityGoalsPage,
      "myCommunityGoalsPage": CommunityGoalsPage,
      "approvedGoalsPage": GoalsPage,
      "withObstacleGoalsPage": GoalsPage,
      "draftGoalsPage": GoalsPage,
      "trashedGoalsPage": GoalsPage,
      "taggedGoalsPage": GoalsPage,
      "checkInGoalsPage": GoalsPage,
      "approvedGoalsFacts": [Fact],
      "draftGoalsFacts": [Fact],
      "trashedGoalsFacts": [Fact],
      "taggedGoalsFacts": [Fact],
      "submittedGoalsFacts": [Fact],
      "goalsFacts": [Fact],
      "plannedTasksPage": PlannedTasksPage,
      "plannedTasksFacts": [Fact],
      "taggedPlannedTasksPage": PlannedTasksPage,
      "taggedPlannedTasksFacts": [Fact],
      "unplannedTasksPage": UnplannedTasksPage,
      "unplannedTasksFacts": [Fact],
      "attendancesPage": AttendancesPage,
      "attendancesFacts": [Fact],
      "checkInsPage": CheckInsPage,
      "checkInsFacts": [Fact],
      "appraisalsPage": AppraisalsPage,
      "appraisalsFacts": [Fact]
    }
  }
}

updateUnplannedTask

Description

To update Unplanned Task. Access allowed to Authenticated User as per business logic.

Response

Returns an UnplannedTask!

Arguments
Name Description
params - UpdateUnplannedTaskParams!
options - UpdateUnplannedTaskOptions

Example

Query
mutation updateUnplannedTask(
  $params: UpdateUnplannedTaskParams!,
  $options: UpdateUnplannedTaskOptions
) {
  updateUnplannedTask(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    unplannedTaskType
    unplannedTaskDetail {
      ...UnplannedTaskDetailFragment
    }
    comments {
      ...CommentFragment
    }
    reactions {
      ...ReactionFragment
    }
    impactStageId
    impactStage {
      ...ImpactStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    unplannedTaskCommentsFacts {
      ...FactFragment
    }
    myUnplannedTaskReaction {
      ...ReactionFragment
    }
    unplannedTaskReactionsFacts {
      ...FactFragment
    }
    unplannedTaskReactionsPage {
      ...ReactionsPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    views
  }
}
Variables
{
  "params": UpdateUnplannedTaskParams,
  "options": UpdateUnplannedTaskOptions
}
Response
{
  "data": {
    "updateUnplannedTask": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "unplannedTaskType": "xyz789",
      "unplannedTaskDetail": UnplannedTaskDetail,
      "comments": [Comment],
      "reactions": [Reaction],
      "impactStageId": "5e5677d71bdc2ae76344968c",
      "impactStage": ImpactStage,
      "trackingStatus": "abc123",
      "priority": 987,
      "isActive": false,
      "isDeleted": false,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "unplannedTaskCommentsFacts": [Fact],
      "myUnplannedTaskReaction": Reaction,
      "unplannedTaskReactionsFacts": [Fact],
      "unplannedTaskReactionsPage": ReactionsPage,
      "unplannedTasksFacts": [Fact],
      "views": 987
    }
  }
}

updateUnplannedTaskReaction

Description

To update Unplanned Task Reaction. Access allowed to Authenticated User as per business logic.

Response

Returns an UnplannedTask

Arguments
Name Description
params - UpdateUnplannedTaskReactionParams!
options - UpdateUnplannedTaskReactionOptions

Example

Query
mutation updateUnplannedTaskReaction(
  $params: UpdateUnplannedTaskReactionParams!,
  $options: UpdateUnplannedTaskReactionOptions
) {
  updateUnplannedTaskReaction(
    params: $params,
    options: $options
  ) {
    _id
    yearId
    programId
    termProgramId
    year {
      ...YearFragment
    }
    program {
      ...ProgramFragment
    }
    assignedToUser {
      ...UserFragment
    }
    assignedByUser {
      ...UserFragment
    }
    approvedByUser {
      ...UserFragment
    }
    trashedByUser {
      ...UserFragment
    }
    assignedDate
    updatedDate
    submittedDate
    approvedDate
    trashedDate
    deletedDate
    unplannedTaskType
    unplannedTaskDetail {
      ...UnplannedTaskDetailFragment
    }
    comments {
      ...CommentFragment
    }
    reactions {
      ...ReactionFragment
    }
    impactStageId
    impactStage {
      ...ImpactStageFragment
    }
    trackingStatus
    priority
    isActive
    isDeleted
    commentsPage {
      ...CommentsPageFragment
    }
    comment {
      ...CommentFragment
    }
    unplannedTaskCommentsFacts {
      ...FactFragment
    }
    myUnplannedTaskReaction {
      ...ReactionFragment
    }
    unplannedTaskReactionsFacts {
      ...FactFragment
    }
    unplannedTaskReactionsPage {
      ...ReactionsPageFragment
    }
    unplannedTasksFacts {
      ...FactFragment
    }
    views
  }
}
Variables
{
  "params": UpdateUnplannedTaskReactionParams,
  "options": UpdateUnplannedTaskReactionOptions
}
Response
{
  "data": {
    "updateUnplannedTaskReaction": {
      "_id": "5e5677d71bdc2ae76344968c",
      "yearId": "5e5677d71bdc2ae76344968c",
      "programId": "5e5677d71bdc2ae76344968c",
      "termProgramId": "5e5677d71bdc2ae76344968c",
      "year": Year,
      "program": Program,
      "assignedToUser": User,
      "assignedByUser": User,
      "approvedByUser": User,
      "trashedByUser": User,
      "assignedDate": 1592577642,
      "updatedDate": 1592577642,
      "submittedDate": 1592577642,
      "approvedDate": 1592577642,
      "trashedDate": 1592577642,
      "deletedDate": 1592577642,
      "unplannedTaskType": "abc123",
      "unplannedTaskDetail": UnplannedTaskDetail,
      "comments": [Comment],
      "reactions": [Reaction],
      "impactStageId": "5e5677d71bdc2ae76344968c",
      "impactStage": ImpactStage,
      "trackingStatus": "xyz789",
      "priority": 987,
      "isActive": false,
      "isDeleted": true,
      "commentsPage": CommentsPage,
      "comment": Comment,
      "unplannedTaskCommentsFacts": [Fact],
      "myUnplannedTaskReaction": Reaction,
      "unplannedTaskReactionsFacts": [Fact],
      "unplannedTaskReactionsPage": ReactionsPage,
      "unplannedTasksFacts": [Fact],
      "views": 987
    }
  }
}

updateYear

Description

To update Year. Access allowed to WeSoar Super Admin.

Response

Returns a Year

Arguments
Name Description
params - UpdateYearParams!
options - UpdateYearOptions

Example

Query
mutation updateYear(
  $params: UpdateYearParams!,
  $options: UpdateYearOptions
) {
  updateYear(
    params: $params,
    options: $options
  ) {
    _id
    userId
    name
    keyName
    priority
    isActive
    userModuleCategories {
      ...UserModuelCategoryFragment
    }
  }
}
Variables
{
  "params": UpdateYearParams,
  "options": UpdateYearOptions
}
Response
{
  "data": {
    "updateYear": {
      "_id": "5e5677d71bdc2ae76344968c",
      "userId": "5e5677d71bdc2ae76344968c",
      "name": "abc123",
      "keyName": "xyz789",
      "priority": 987,
      "isActive": false,
      "userModuleCategories": [UserModuelCategory]
    }
  }
}

verifyEmailCode

Description

DEPRECATED To verify email OTP. Access allowed to WeSoar Super Admin.

Response

Returns a VerifyEmailCodePayload

Arguments
Name Description
params - VerifyEmailCodeParams!
options - VerifyEmailCodeOptions

Example

Query
mutation verifyEmailCode(
  $params: VerifyEmailCodeParams!,
  $options: VerifyEmailCodeOptions
) {
  verifyEmailCode(
    params: $params,
    options: $options
  ) {
    status
  }
}
Variables
{
  "params": VerifyEmailCodeParams,
  "options": VerifyEmailCodeOptions
}
Response
{"data": {"verifyEmailCode": {"status": false}}}

verifyMfaCode

Description

DEPRECATED To Verify MFA Code. Access allowed to WeSoar Super Admin.

Response

Returns a VerifyMfaCodePayload

Arguments
Name Description
params - VerifyMfaCodeParams!
options - VerifyMfaCodeOptions

Example

Query
mutation verifyMfaCode(
  $params: VerifyMfaCodeParams!,
  $options: VerifyMfaCodeOptions
) {
  verifyMfaCode(
    params: $params,
    options: $options
  ) {
    tokens {
      ...TokensFragment
    }
    challenge {
      ...ChallengeFragment
    }
  }
}
Variables
{
  "params": VerifyMfaCodeParams,
  "options": VerifyMfaCodeOptions
}
Response
{
  "data": {
    "verifyMfaCode": {
      "tokens": Tokens,
      "challenge": Challenge
    }
  }
}

verifyMobileNumberCode

Description

DEPRECATED To verify mobile number OTP password. Access allowed to WeSoar Super Admin.

Response

Returns a VerifyMobileNumberCodePayload

Arguments
Name Description
params - VerifyMobileNumberCodeParams!
options - VerifyMobileNumberCodeOptions

Example

Query
mutation verifyMobileNumberCode(
  $params: VerifyMobileNumberCodeParams!,
  $options: VerifyMobileNumberCodeOptions
) {
  verifyMobileNumberCode(
    params: $params,
    options: $options
  ) {
    status
  }
}
Variables
{
  "params": VerifyMobileNumberCodeParams,
  "options": VerifyMobileNumberCodeOptions
}
Response
{"data": {"verifyMobileNumberCode": {"status": false}}}

Types

Ability

Fields
Field Name Description
action - String
subject - String
fields - [String]
conditions - JSONObject
Example
{
  "action": "xyz789",
  "subject": "xyz789",
  "fields": ["xyz789"],
  "conditions": {}
}

AddAttendanceLogOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

AddAttendanceLogParams

Fields
Input Field Description
attendanceLog - Attendance_Log_Input
termProgramId - ObjectID
userId - ObjectID
Example
{
  "attendanceLog": Attendance_Log_Input,
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c"
}

AddCommentParams

Fields
Input Field Description
comment - Comment_Input
Example
{"comment": Comment_Input}

AddCommentReactionParams

Fields
Input Field Description
commentId - ObjectID
reactionType - String
Example
{
  "commentId": "5e5677d71bdc2ae76344968c",
  "reactionType": "xyz789"
}

AddConversationMetasOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AddConversationMetasParams

Fields
Input Field Description
conversationId - ObjectID
metas - [Meta_Input]
Example
{
  "conversationId": "5e5677d71bdc2ae76344968c",
  "metas": [Meta_Input]
}

AddConversationSubscribersOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

AddConversationSubscribersParams

Fields
Input Field Description
conversationId - ObjectID
userIds - [ObjectID]
Example
{
  "conversationId": "5e5677d71bdc2ae76344968c",
  "userIds": ["5e5677d71bdc2ae76344968c"]
}

AddGoalAppraisalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AddGoalAppraisalParams

Fields
Input Field Description
goalId - ObjectID
goalCheckIn - GoalAppraisal_Input
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalCheckIn": GoalAppraisal_Input
}

AddGoalCheckInOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AddGoalCheckInParams

Fields
Input Field Description
goalId - ObjectID
goalCheckIn - GoalCheckIn_Input
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalCheckIn": GoalCheckIn_Input
}

AddMessageParams

Fields
Input Field Description
message - Message_Input
Example
{"message": Message_Input}

AddMessageReactionParams

Fields
Input Field Description
messageId - ObjectID
reactionType - String
Example
{
  "messageId": "5e5677d71bdc2ae76344968c",
  "reactionType": "xyz789"
}

AddPlannedTaskFollowUpOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

AddPlannedTaskFollowUpParams

Fields
Input Field Description
_id - ObjectID
Example
{"_id": "5e5677d71bdc2ae76344968c"}

AddPlannedTaskFollowUpsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AddPlannedTaskFollowUpsParams

Fields
Input Field Description
userIds - [ObjectID]
Example
{"userIds": ["5e5677d71bdc2ae76344968c"]}

AddUnplannedTaskReactionOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

AddUnplannedTaskReactionParams

Fields
Input Field Description
reactionType - String
_id - ObjectID
Example
{
  "reactionType": "abc123",
  "_id": "5e5677d71bdc2ae76344968c"
}

AdminDisableMfaPayload

Fields
Field Name Description
status - Boolean
Example
{"status": true}

AdminEnableMfaPayload

Fields
Field Name Description
status - Boolean
Example
{"status": true}

Alarm

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 987,
  "isActive": false
}

Alarm_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 123,
  "isActive": false
}

AlarmsPage

Fields
Field Name Description
docs - [Alarm]
pageInfo - PageInfo
Example
{
  "docs": [Alarm],
  "pageInfo": PageInfo
}

Alias

Fields
Field Name Description
userFilterRule - [JSONObject]
text - String
isActive - Boolean
Example
{
  "userFilterRule": [{}],
  "text": "xyz789",
  "isActive": true
}

Alias_Input

Fields
Input Field Description
userFilterRule - [JSONObject]
text - String
isActive - Boolean
Example
{
  "userFilterRule": [{}],
  "text": "xyz789",
  "isActive": true
}

Appraisal

Fields
Field Name Description
_id - ObjectID!
termProgramId - ObjectID
appraisalRating - AppraisalRating
appraisalDate - Timestamp
name - String
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
rootOptions - RootOptions
comment - Comment
Arguments
_id - ObjectID
rootOptions - RootOptions
appraisalGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
priority - Int
appraisalStatus - String
appraisalCalculation - String
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "appraisalRating": AppraisalRating,
  "appraisalDate": 1592577642,
  "name": "abc123",
  "commentsPage": CommentsPage,
  "comment": Comment,
  "appraisalGoalsPage": GoalsPage,
  "priority": 123,
  "appraisalStatus": "abc123",
  "appraisalCalculation": "xyz789",
  "isDeleted": true
}

AppraisalRating

Fields
Field Name Description
byEmp - [AppraisalRatingDS]
byManager - [AppraisalRatingDS]
Example
{
  "byEmp": [AppraisalRatingDS],
  "byManager": [AppraisalRatingDS]
}

AppraisalRatingDS

Fields
Field Name Description
value - Int
updatedDate - Timestamp
Example
{"value": 987, "updatedDate": 1592577642}

AppraisalRatingDS_Input

Fields
Input Field Description
value - Int
updatedDate - Timestamp
Example
{"value": 123, "updatedDate": 1592577642}

AppraisalRating_Input

Fields
Input Field Description
byEmp - [AppraisalRatingDS_Input]
byManager - [AppraisalRatingDS_Input]
Example
{
  "byEmp": [AppraisalRatingDS_Input],
  "byManager": [AppraisalRatingDS_Input]
}

Appraisal_Input

Fields
Input Field Description
termProgramId - ObjectID
appraisalRating - AppraisalRating_Input
appraisalDate - Timestamp
name - String
priority - Int
appraisalStatus - String
isDeleted - Boolean
Example
{
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "appraisalRating": AppraisalRating_Input,
  "appraisalDate": 1592577642,
  "name": "xyz789",
  "priority": 123,
  "appraisalStatus": "xyz789",
  "isDeleted": false
}

AppraisalsPage

Description

type CheckInsPage { docs: [CheckIn!]! pageInfo: PageInfo! }

Fields
Field Name Description
docs - [Appraisal!]!
pageInfo - PageInfo!
Example
{
  "docs": [Appraisal],
  "pageInfo": PageInfo
}

AssignFeaturesToUserOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AssignFeaturesToUserParams

Fields
Input Field Description
userName - String
features - [String]
Example
{
  "userName": "xyz789",
  "features": ["abc123"]
}

AssignFeaturesToUserPayload

Fields
Field Name Description
success - Boolean
Example
{"success": false}

AssignFeaturesToUsersOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

AssignFeaturesToUsersParams

Fields
Input Field Description
userNames - [String]
features - [String]
Example
{
  "userNames": ["abc123"],
  "features": ["xyz789"]
}

AssignFeaturesToUsersPayload

Fields
Field Name Description
success - Boolean
Example
{"success": false}

AssignManagerToUserOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AssignManagerToUserParams

Fields
Input Field Description
userId - ObjectID
manager - User_Manager_Input
Example
{
  "userId": "5e5677d71bdc2ae76344968c",
  "manager": User_Manager_Input
}

AssignManagerToUserPayload

Fields
Field Name Description
success - Boolean
Example
{"success": true}

AssignRolesToUserOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

AssignRolesToUserParams

Fields
Input Field Description
roles - [String]
userName - String
Example
{
  "roles": ["xyz789"],
  "userName": "abc123"
}

AssignRolesToUserPayload

Fields
Field Name Description
success - Boolean
Example
{"success": true}

AssignRolesToUsersOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

AssignRolesToUsersParams

Fields
Input Field Description
roles - [String]
userNames - [String]
Example
{
  "roles": ["abc123"],
  "userNames": ["abc123"]
}

AssignRolesToUsersPayload

Fields
Field Name Description
success - Boolean
Example
{"success": true}

Attendance

Fields
Field Name Description
_id - ObjectID!
yearId - ObjectID
programId - ObjectID
termProgramId - ObjectID
year - Year
program - Program
userId - ObjectID
attendanceLogs - [AttendanceLog]
isActive - Boolean
isDeleted - Boolean
attendanceLogsPage - AttendanceLogsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
attendanceLogForDate - AttendanceLog
Arguments
attendanceDate - Timestamp
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "year": Year,
  "program": Program,
  "userId": "5e5677d71bdc2ae76344968c",
  "attendanceLogs": [AttendanceLog],
  "isActive": false,
  "isDeleted": false,
  "attendanceLogsPage": AttendanceLogsPage,
  "attendanceLogForDate": AttendanceLog
}

AttendanceLog

Fields
Field Name Description
_id - ObjectID
startTimeByEmp - Timestamp
startTimeByEmpTZOffset - UtcOffset
endTimeByEmp - Timestamp
endTimeByEmpTZOffset - UtcOffset
startTimeByManager - Timestamp
startTimeByManagerTZOffset - UtcOffset
endTimeByManager - Timestamp
endTimeByManagerTZOffset - UtcOffset
approvedByUserId - ObjectID
isApproved - Boolean
approvedByUser - User
approvedDate - Timestamp
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "startTimeByEmp": 1592577642,
  "startTimeByEmpTZOffset": "+03:00",
  "endTimeByEmp": 1592577642,
  "endTimeByEmpTZOffset": "+03:00",
  "startTimeByManager": 1592577642,
  "startTimeByManagerTZOffset": "+03:00",
  "endTimeByManager": 1592577642,
  "endTimeByManagerTZOffset": "+03:00",
  "approvedByUserId": "5e5677d71bdc2ae76344968c",
  "isApproved": true,
  "approvedByUser": User,
  "approvedDate": 1592577642
}

AttendanceLogsPage

Fields
Field Name Description
docs - [AttendanceLog]
pageInfo - PageInfo
Example
{
  "docs": [AttendanceLog],
  "pageInfo": PageInfo
}

Attendance_Input

Fields
Input Field Description
yearId - ObjectID
termProgramId - ObjectID
programId - ObjectID
userId - ObjectID
attendanceLogs - [Attendance_Log_Input]
Example
{
  "yearId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "attendanceLogs": [Attendance_Log_Input]
}

Attendance_Log_Input

Fields
Input Field Description
startTimeByEmp - Timestamp
startTimeByEmpTZOffset - UtcOffset
endTimeByEmp - Timestamp
endTimeByEmpTZOffset - UtcOffset
startTimeByManager - Timestamp
startTimeByManagerTZOffset - UtcOffset
endTimeByManager - Timestamp
endTimeByManagerTZOffset - UtcOffset
isApproved - Boolean
approvedByUserId - ObjectID
approvedDate - Timestamp
Example
{
  "startTimeByEmp": 1592577642,
  "startTimeByEmpTZOffset": "+03:00",
  "endTimeByEmp": 1592577642,
  "endTimeByEmpTZOffset": "+03:00",
  "startTimeByManager": 1592577642,
  "startTimeByManagerTZOffset": "+03:00",
  "endTimeByManager": 1592577642,
  "endTimeByManagerTZOffset": "+03:00",
  "isApproved": true,
  "approvedByUserId": "5e5677d71bdc2ae76344968c",
  "approvedDate": 1592577642
}

AttendancesPage

Fields
Field Name Description
docs - [Attendance]
pageInfo - PageInfo!
Example
{
  "docs": [Attendance],
  "pageInfo": PageInfo
}

Boolean

Description

The Boolean scalar type represents true or false.

CascadedGoal

Fields
Field Name Description
_id - ObjectID
userId - ObjectID
goalId - ObjectID
user - User
goal - Goal
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "goalId": "5e5677d71bdc2ae76344968c",
  "user": User,
  "goal": Goal
}

CascadedGoal_Input

Fields
Input Field Description
_id - ObjectID
userId - ObjectID
goalId - ObjectID
goalDetail - GoalDetail_Input
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalDetail": GoalDetail_Input
}

Challenge

Fields
Field Name Description
challengeName - String
challengeParameters - Challenge_ChallengeParameters
session - String
Example
{
  "challengeName": "abc123",
  "challengeParameters": Challenge_ChallengeParameters,
  "session": "xyz789"
}

Challenge_ChallengeParameters

Fields
Field Name Description
userIdForSRP - String
codeDeliveryDeliveryMedium - String
codeDeliveryDestination - String
Example
{
  "userIdForSRP": "xyz789",
  "codeDeliveryDeliveryMedium": "abc123",
  "codeDeliveryDestination": "xyz789"
}

ChangePasswordOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

ChangePasswordParams

Fields
Input Field Description
previousPassword - String
proposedPassword - String
Example
{
  "previousPassword": "xyz789",
  "proposedPassword": "xyz789"
}

ChangePasswordPayload

Fields
Field Name Description
status - Boolean
Example
{"status": true}

CheckIn

Fields
Field Name Description
_id - ObjectID
name - String
checkInType - String
termProgramId - ObjectID
userId - ObjectID
programId - ObjectID
checkInSetting - CheckInSetting
checkInDate - Timestamp
checkInRatings - [CheckInRating]
priority - Int
checkInStatus - String
user - User
program - Program
termProgram - TermProgram
competencies - [SurveyQuestion]
  _id: ObjectID!

name: String checkInType: String termProgramId: ObjectID userId: ObjectID programId: ObjectID checkInDate: Timestamp checkInRatings: [CheckInRating] priority: Int checkInStatus: String

competenciesFPage - [SurveyQuestion]
Arguments
search - JSONString
competenciesPage - SurveyQuestionsPage
Arguments
searchOptions - SearchOptions
options - ListOptions
isDeleted - Boolean checkInSetting: CheckInSetting
latestRating - CheckInRating
checkInRatingsPage - CheckInRatingsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
checkInRatingsFPage - [CheckInRating]
Arguments
search - JSONString
checkInRatingsFOne - CheckInRating
Arguments
search - JSONString
commentTrailId - ObjectID
Arguments
checkInId - ObjectID
isActiveForEmp - Boolean
isActiveForManager - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "checkInType": "xyz789",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "checkInSetting": CheckInSetting,
  "checkInDate": 1592577642,
  "checkInRatings": [CheckInRating],
  "priority": 123,
  "checkInStatus": "xyz789",
  "user": User,
  "program": Program,
  "termProgram": TermProgram,
  "competencies": [SurveyQuestion],
  "competenciesFPage": [SurveyQuestion],
  "competenciesPage": SurveyQuestionsPage,
  "isDeleted": true,
  "latestRating": CheckInRating,
  "checkInRatingsPage": CheckInRatingsPage,
  "checkInRatingsFPage": [CheckInRating],
  "checkInRatingsFOne": CheckInRating,
  "commentTrailId": "5e5677d71bdc2ae76344968c",
  "isActiveForEmp": false,
  "isActiveForManager": true
}

CheckInGoal

Fields
Field Name Description
_id - ObjectID
goalId - ObjectID
goalType - String
goalDetail - CheckInGoalDetail
trackingStatus - String
achievement - String
goalProgress - Int
relevance - String
ratingValue - Int
goal - Goal
commentTrailId - ObjectID
Arguments
checkInId - ObjectID
responsesByCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
value - String
asKey - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalType": "xyz789",
  "goalDetail": CheckInGoalDetail,
  "trackingStatus": "xyz789",
  "achievement": "xyz789",
  "goalProgress": 987,
  "relevance": "abc123",
  "ratingValue": 987,
  "goal": Goal,
  "commentTrailId": "5e5677d71bdc2ae76344968c",
  "responsesByCheckInId": [ResponseByCheckIn]
}

CheckInGoalDetail

Fields
Field Name Description
isQuantitative - Boolean
goalCategoryId - ObjectID
description - String
weightage - Float
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
dueBy - Timestamp
taggedUserIds - [ObjectID]
milestones - [CheckInMilestone]
goalCategory - GoalCategory
taggedUsers - [User]
goalId - ObjectID
Example
{
  "isQuantitative": false,
  "goalCategoryId": "5e5677d71bdc2ae76344968c",
  "description": "abc123",
  "weightage": 987.65,
  "targetFrequency": "xyz789",
  "targetUnit": "abc123",
  "target": "abc123",
  "quantitativeTarget": 123.45,
  "dueBy": 1592577642,
  "taggedUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "milestones": [CheckInMilestone],
  "goalCategory": GoalCategory,
  "taggedUsers": [User],
  "goalId": "5e5677d71bdc2ae76344968c"
}

CheckInGoalDetail_Input

Fields
Input Field Description
isQuantitative - Boolean
goalCategoryId - ObjectID
description - String
weightage - Float
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
dueBy - Timestamp
taggedUserIds - [ObjectID]
milestones - [CheckInMilestone_Input]
Example
{
  "isQuantitative": false,
  "goalCategoryId": "5e5677d71bdc2ae76344968c",
  "description": "xyz789",
  "weightage": 987.65,
  "targetFrequency": "xyz789",
  "targetUnit": "xyz789",
  "target": "abc123",
  "quantitativeTarget": 987.65,
  "dueBy": 1592577642,
  "taggedUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "milestones": [CheckInMilestone_Input]
}

CheckInGoal_Input

Fields
Input Field Description
goalId - ObjectID
goalType - String
goalDetail - CheckInGoalDetail_Input
trackingStatus - String
achievement - String
goalProgress - Int
relevance - String
ratingValue - Int
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalType": "xyz789",
  "goalDetail": CheckInGoalDetail_Input,
  "trackingStatus": "xyz789",
  "achievement": "abc123",
  "goalProgress": 123,
  "relevance": "abc123",
  "ratingValue": 987
}

CheckInMilestone

Fields
Field Name Description
_id - ObjectID
milestoneId - ObjectID
what - String
when - Timestamp
whoseUserIds - [ObjectID]
milestoneProgress - Int
isQuantitative - Boolean
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
goalId - ObjectID
whoseUsers - [User]
milestone - MileStone
responsesByCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
value - String
asKey - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "milestoneId": "5e5677d71bdc2ae76344968c",
  "what": "xyz789",
  "when": 1592577642,
  "whoseUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "milestoneProgress": 987,
  "isQuantitative": false,
  "targetFrequency": "xyz789",
  "targetUnit": "abc123",
  "target": "xyz789",
  "quantitativeTarget": 123.45,
  "goalId": "5e5677d71bdc2ae76344968c",
  "whoseUsers": [User],
  "milestone": MileStone,
  "responsesByCheckInId": [ResponseByCheckIn]
}

CheckInMilestone_Input

Fields
Input Field Description
milestoneId - ObjectID
what - String
when - Timestamp
whoseUserIds - [ObjectID]
milestoneProgress - Int
isQuantitative - Boolean
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
Example
{
  "milestoneId": "5e5677d71bdc2ae76344968c",
  "what": "abc123",
  "when": 1592577642,
  "whoseUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "milestoneProgress": 987,
  "isQuantitative": true,
  "targetFrequency": "abc123",
  "targetUnit": "abc123",
  "target": "xyz789",
  "quantitativeTarget": 987.65
}

CheckInProgress

Fields
Field Name Description
byEmp - Progress
byManager - Progress
Example
{
  "byEmp": Progress,
  "byManager": Progress
}

CheckInProgress_Input

Fields
Input Field Description
byEmp - CheckInProgress_Progress_Input
byManager - CheckInProgress_Progress_Input
Example
{
  "byEmp": CheckInProgress_Progress_Input,
  "byManager": CheckInProgress_Progress_Input
}

CheckInProgress_Progress_Input

Fields
Input Field Description
actualAchievement - String
trackingStatus - String
overallProgress - Int
milestoneProgress - [CheckInProgress_Progress_MilestoneProgress_Input]
updatedDate - Timestamp
Example
{
  "actualAchievement": "abc123",
  "trackingStatus": "xyz789",
  "overallProgress": 123,
  "milestoneProgress": [
    CheckInProgress_Progress_MilestoneProgress_Input
  ],
  "updatedDate": 1592577642
}

CheckInProgress_Progress_MilestoneProgress_Input

Fields
Input Field Description
milestoneId - ID
value - Int
Example
{"milestoneId": "4", "value": 987}

CheckInRating

Fields
Field Name Description
managerTypeId - ObjectID
userManagerId - ObjectID
priority - Int
checkInGoals - [CheckInGoal]
competenceTypeResponses - [CompetenceTypeResponse]
competenceResponses - [CompetenceResponse]
ratingStatus - String
ratingResponse - String
overallRating - Int
kpiRating - Int
managerType - ManagerType
userManager - User
responsesByCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
value - String
asKey - String
responsesTillCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
value - String
asKey - String
avgRatingOfResponsesTillCheckInId - Int
Arguments
checkInId - ObjectID
value - String
asKey - String
calcKpiRatingByCheckInId - ResponseByCheckIn
Arguments
checkInId - ObjectID
managerTypeId - ObjectID
userManagerId - ObjectID
calcOverallRatingByCheckInId - ResponseByCheckIn
Arguments
checkInId - ObjectID
managerTypeId - ObjectID
userManagerId - ObjectID
kpiRatingsByCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
kpiWeightageByCheckInId - Float
Arguments
checkInId - ObjectID
Example
{
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c",
  "priority": 987,
  "checkInGoals": [CheckInGoal],
  "competenceTypeResponses": [CompetenceTypeResponse],
  "competenceResponses": [CompetenceResponse],
  "ratingStatus": "xyz789",
  "ratingResponse": "abc123",
  "overallRating": 987,
  "kpiRating": 123,
  "managerType": ManagerType,
  "userManager": User,
  "responsesByCheckInId": [ResponseByCheckIn],
  "responsesTillCheckInId": [ResponseByCheckIn],
  "avgRatingOfResponsesTillCheckInId": 987,
  "calcKpiRatingByCheckInId": ResponseByCheckIn,
  "calcOverallRatingByCheckInId": ResponseByCheckIn,
  "kpiRatingsByCheckInId": [ResponseByCheckIn],
  "kpiWeightageByCheckInId": 987.65
}

CheckInRating_Input

Fields
Input Field Description
managerTypeId - ObjectID
userManagerId - ObjectID
priority - Int
checkInGoals - [CheckInGoal_Input]
competenceTypeResponses - [CompetenceTypeResponse_Input]
competenceResponses - [CompetenceResponse_Input]
ratingStatus - String
ratingResponse - String
overallRating - Int
kpiRating - Int
Example
{
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c",
  "priority": 987,
  "checkInGoals": [CheckInGoal_Input],
  "competenceTypeResponses": [
    CompetenceTypeResponse_Input
  ],
  "competenceResponses": [CompetenceResponse_Input],
  "ratingStatus": "xyz789",
  "ratingResponse": "abc123",
  "overallRating": 987,
  "kpiRating": 123
}

CheckInRatingsPage

Fields
Field Name Description
docs - [CheckInRating!]!
pageInfo - PageInfo!
Example
{
  "docs": [CheckInRating],
  "pageInfo": PageInfo
}

CheckInRelevance

Fields
Field Name Description
byEmp - Relevance
byManager - Relevance
Example
{
  "byEmp": Relevance,
  "byManager": Relevance
}

CheckInRelevance_Input

Fields
Input Field Description
byEmp - CheckInRelevance_Relevance_Input
byManager - CheckInRelevance_Relevance_Input
Example
{
  "byEmp": CheckInRelevance_Relevance_Input,
  "byManager": CheckInRelevance_Relevance_Input
}

CheckInRelevance_Relevance_Input

Fields
Input Field Description
value - String
updatedDate - Timestamp
Example
{
  "value": "abc123",
  "updatedDate": 1592577642
}

CheckInSetting

Fields
Field Name Description
competenceTypes - [CompetenceType]
competencies - [Competence]
workflows - [Workflow]
goalRatingScales - [SurveyAnswerOption]
overallRatingScales - [SurveyAnswerOption]
calculationMethod - String
frequency - String
startDate - Timestamp
endDate - Timestamp
competenceTypesPage - CompetenceTypesPage
Arguments
searchOptions - SearchOptions
options - ListOptions
competenceTypesFPage - [CompetenceType]
Arguments
search - JSONString
competenceTypesFOne - CompetenceType
Arguments
search - JSONString
workflowsPage - WorkflowsPage
Arguments
searchOptions - SearchOptions
options - ListOptions
workflowsFPage - [Workflow]
Arguments
search - JSONString
workflowsFOne - Workflow
Arguments
search - JSONString
competenceTypesByCheckInId - [CompetenceType]
Arguments
checkInId - ObjectID
kpiWeightageByCheckInId - Float
Arguments
checkInId - ObjectID
Example
{
  "competenceTypes": [CompetenceType],
  "competencies": [Competence],
  "workflows": [Workflow],
  "goalRatingScales": [SurveyAnswerOption],
  "overallRatingScales": [SurveyAnswerOption],
  "calculationMethod": "abc123",
  "frequency": "abc123",
  "startDate": 1592577642,
  "endDate": 1592577642,
  "competenceTypesPage": CompetenceTypesPage,
  "competenceTypesFPage": [CompetenceType],
  "competenceTypesFOne": CompetenceType,
  "workflowsPage": WorkflowsPage,
  "workflowsFPage": [Workflow],
  "workflowsFOne": Workflow,
  "competenceTypesByCheckInId": [CompetenceType],
  "kpiWeightageByCheckInId": 987.65
}

CheckInSetting_Input

Fields
Input Field Description
competenceTypes - [CompetenceType_Input]
competencies - [Competence_Input]
workflows - [Workflow_Input]
goalRatingScales - [SurveyAnswerOption_Input]
overallRatingScales - [SurveyAnswerOption_Input]
calculationMethod - String
frequency - String
startDate - Timestamp
endDate - Timestamp
Example
{
  "competenceTypes": [CompetenceType_Input],
  "competencies": [Competence_Input],
  "workflows": [Workflow_Input],
  "goalRatingScales": [SurveyAnswerOption_Input],
  "overallRatingScales": [SurveyAnswerOption_Input],
  "calculationMethod": "abc123",
  "frequency": "abc123",
  "startDate": 1592577642,
  "endDate": 1592577642
}

CheckIn_Input

Fields
Input Field Description
checkInRatings - [CheckInRating_Input]
Example
{"checkInRatings": [CheckInRating_Input]}

CheckInsPage

Fields
Field Name Description
docs - [CheckIn!]!
pageInfo - PageInfo!
Example
{
  "docs": [CheckIn],
  "pageInfo": PageInfo
}

CodeDeliveryDetails

Fields
Field Name Description
attributeName - String
deliveryMedium - String
destination - String
Example
{
  "attributeName": "xyz789",
  "deliveryMedium": "abc123",
  "destination": "abc123"
}

Comment

Fields
Field Name Description
_id - ObjectID
parentCommentId - ObjectID
fbMessageId - String
text - String
files - [File]
reactions - [Reaction]
shares - [Share]
userId - ObjectID
mentions - [Mention]
isEdited - Boolean
isDeleted - Boolean
commentDate - Timestamp
type - String
updatedDate - Timestamp
deletedDate - Timestamp
user - User
  _id: ObjectID
  parentCommentId: ObjectID
  text: String
  files: [File]
  reactions: [Reaction]
  shares: [Share]

mentions: [Mention] userId: ObjectID isEdited: Boolean isDeleted: Boolean commentDate: Timestamp

myReaction - Reaction
parentComment - Comment
reactionsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
commentsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
filesFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
filesPage - [File]
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
reactionsPage - ReactionsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
sharesPage - SharesPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "parentCommentId": "5e5677d71bdc2ae76344968c",
  "fbMessageId": "abc123",
  "text": "abc123",
  "files": [File],
  "reactions": [Reaction],
  "shares": [Share],
  "userId": "5e5677d71bdc2ae76344968c",
  "mentions": [Mention],
  "isEdited": true,
  "isDeleted": false,
  "commentDate": 1592577642,
  "type": "abc123",
  "updatedDate": 1592577642,
  "deletedDate": 1592577642,
  "user": User,
  "myReaction": Reaction,
  "parentComment": Comment,
  "reactionsFacts": [Fact],
  "commentsFacts": [Fact],
  "filesFacts": [Fact],
  "commentsPage": CommentsPage,
  "filesPage": [File],
  "reactionsPage": ReactionsPage,
  "sharesPage": SharesPage
}

Comment_Input

Fields
Input Field Description
parentCommentId - ObjectID
fbMessageId - String
text - String
files - [File_Input]
reactions - [Reaction_Input]
shares - [Share_Input]
userId - ObjectID
mentions - [Mention_Input]
isEdited - Boolean
isDeleted - Boolean
commentDate - Timestamp
type - String
updatedDate - Timestamp
deletedDate - Timestamp
Example
{
  "parentCommentId": "5e5677d71bdc2ae76344968c",
  "fbMessageId": "abc123",
  "text": "abc123",
  "files": [File_Input],
  "reactions": [Reaction_Input],
  "shares": [Share_Input],
  "userId": "5e5677d71bdc2ae76344968c",
  "mentions": [Mention_Input],
  "isEdited": false,
  "isDeleted": true,
  "commentDate": 1592577642,
  "type": "xyz789",
  "updatedDate": 1592577642,
  "deletedDate": 1592577642
}

CommentsPage

Fields
Field Name Description
docs - [Comment!]!
pageInfo - PageInfo!
Example
{
  "docs": [Comment],
  "pageInfo": PageInfo
}

CommunicationEvent

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 987,
  "isActive": true
}

CommunicationEvent_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "abc123",
  "keyName": "xyz789",
  "priority": 987,
  "isActive": true
}

CommunicationEventsPage

Fields
Field Name Description
docs - [CommunicationEvent]
pageInfo - PageInfo
Example
{
  "docs": [CommunicationEvent],
  "pageInfo": PageInfo
}

CommunityGoal

Fields
Field Name Description
_id - ObjectID!
adminUserId - ObjectID
adminUser - User
yearId - ObjectID
year - Year
programId - ObjectID
program - Program
goalType - String
trackingStatus - String
achievement - String
isCompanyGoal - Boolean
goalDetail - GoalDetail
participations - [Participation]
participationsPage - ParticipationsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
participationsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
subscriptions - [Participation]
subscriptionsPage - SubscriptionsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
subscriptionsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
subscribers - [User]
subscribersPage - UsersPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
comments - [Comment]
progress - Int
goalProgress - Float
keyName - String
priority - Int
isActive - Boolean
isDeleted - Boolean
hash - String
isParticipant - Boolean
Arguments
userId - ObjectID
isSubscriber - Boolean
Arguments
userId - ObjectID
isAdmin - Boolean
Arguments
userId - ObjectID
createdDate - Timestamp
updatedDate - Timestamp
trashedDate - Timestamp
deletedDate - Timestamp
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
options - ListOptions
comment - Comment
Arguments
_id - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "adminUserId": "5e5677d71bdc2ae76344968c",
  "adminUser": User,
  "yearId": "5e5677d71bdc2ae76344968c",
  "year": Year,
  "programId": "5e5677d71bdc2ae76344968c",
  "program": Program,
  "goalType": "xyz789",
  "trackingStatus": "xyz789",
  "achievement": "abc123",
  "isCompanyGoal": false,
  "goalDetail": GoalDetail,
  "participations": [Participation],
  "participationsPage": ParticipationsPage,
  "participationsFacts": [Fact],
  "subscriptions": [Participation],
  "subscriptionsPage": SubscriptionsPage,
  "subscriptionsFacts": [Fact],
  "subscribers": [User],
  "subscribersPage": UsersPage,
  "comments": [Comment],
  "progress": 987,
  "goalProgress": 987.65,
  "keyName": "abc123",
  "priority": 987,
  "isActive": true,
  "isDeleted": true,
  "hash": "abc123",
  "isParticipant": false,
  "isSubscriber": true,
  "isAdmin": true,
  "createdDate": 1592577642,
  "updatedDate": 1592577642,
  "trashedDate": 1592577642,
  "deletedDate": 1592577642,
  "commentsPage": CommentsPage,
  "comment": Comment
}

CommunityGoal_Input

Fields
Input Field Description
keyName - String
yearId - ObjectID
termProgramId - ObjectID
programId - ObjectID
communityGoalId - ObjectID
goalDetail - GoalDetail_Input
hash - String
Example
{
  "keyName": "xyz789",
  "yearId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "communityGoalId": "5e5677d71bdc2ae76344968c",
  "goalDetail": GoalDetail_Input,
  "hash": "xyz789"
}

CommunityGoalsPage

Fields
Field Name Description
docs - [CommunityGoal]
pageInfo - PageInfo!
Example
{
  "docs": [CommunityGoal],
  "pageInfo": PageInfo
}

Competence

Fields
Field Name Description
_id - ObjectID
surveyLibraryQuestionId - ObjectID
question - Question
isActive - Boolean
surveyLibraryQuestion - Question
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "surveyLibraryQuestionId": "5e5677d71bdc2ae76344968c",
  "question": Question,
  "isActive": false,
  "surveyLibraryQuestion": Question
}

CompetenceResponse

Fields
Field Name Description
_id - ObjectID
competenceId - ObjectID
surveyQuestionId - ObjectID
choiceAnswers - [String]
scaleAnswer - Int
textAnswer - String
isNotApplicable - Boolean
remark - String
isActive - Boolean
isDeleted - Boolean
surveyQuestion - SurveyQuestion
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "competenceId": "5e5677d71bdc2ae76344968c",
  "surveyQuestionId": "5e5677d71bdc2ae76344968c",
  "choiceAnswers": ["abc123"],
  "scaleAnswer": 123,
  "textAnswer": "xyz789",
  "isNotApplicable": true,
  "remark": "abc123",
  "isActive": true,
  "isDeleted": false,
  "surveyQuestion": SurveyQuestion
}

CompetenceResponse_Input

Fields
Input Field Description
surveyQuestionId - ObjectID
choiceAnswers - [String]
scaleAnswer - Int
textAnswer - String
isNotApplicable - Boolean
remark - String
isActive - Boolean
Example
{
  "surveyQuestionId": "5e5677d71bdc2ae76344968c",
  "choiceAnswers": ["xyz789"],
  "scaleAnswer": 123,
  "textAnswer": "xyz789",
  "isNotApplicable": true,
  "remark": "xyz789",
  "isActive": true
}

CompetenceType

Fields
Field Name Description
_id - ObjectID
surveyQuestionFactorId - ObjectID
regularUserFilterRules - [JSONObject]
appraisalUserFilterRules - [ObjectID]
userSegmentWeightages - [UserSegmentWeightage]
ratingScales - [SurveyAnswerOption]
tooltipText - String
weightage - Int
isActive - Boolean
surveyQuestionFactor - SurveyQuestionFactor
weightageByCheckInId - Float
Arguments
checkInId - ObjectID
calcScaleAnswerByCheckInId - ResponseByCheckIn
Arguments
checkInId - ObjectID
managerTypeId - ObjectID
userManagerId - ObjectID
commentTrailId - ObjectID
Arguments
checkInId - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "surveyQuestionFactorId": "5e5677d71bdc2ae76344968c",
  "regularUserFilterRules": [{}],
  "appraisalUserFilterRules": [
    "5e5677d71bdc2ae76344968c"
  ],
  "userSegmentWeightages": [UserSegmentWeightage],
  "ratingScales": [SurveyAnswerOption],
  "tooltipText": "abc123",
  "weightage": 987,
  "isActive": false,
  "surveyQuestionFactor": SurveyQuestionFactor,
  "weightageByCheckInId": 123.45,
  "calcScaleAnswerByCheckInId": ResponseByCheckIn,
  "commentTrailId": "5e5677d71bdc2ae76344968c"
}

CompetenceTypeResponse

Fields
Field Name Description
_id - ObjectID
surveyQuestionFactorId - ObjectID
choiceAnswers - [String]
scaleAnswer - Int
textAnswer - String
isNotApplicable - Boolean
remark - String
isActive - Boolean
surveyQuestionFactor - SurveyQuestionFactor
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "surveyQuestionFactorId": "5e5677d71bdc2ae76344968c",
  "choiceAnswers": ["xyz789"],
  "scaleAnswer": 987,
  "textAnswer": "abc123",
  "isNotApplicable": true,
  "remark": "xyz789",
  "isActive": true,
  "surveyQuestionFactor": SurveyQuestionFactor
}

CompetenceTypeResponse_Input

Fields
Input Field Description
surveyQuestionFactorId - ObjectID
choiceAnswers - [String]
scaleAnswer - Int
textAnswer - String
isNotApplicable - Boolean
remark - String
isActive - Boolean
Example
{
  "surveyQuestionFactorId": "5e5677d71bdc2ae76344968c",
  "choiceAnswers": ["abc123"],
  "scaleAnswer": 123,
  "textAnswer": "abc123",
  "isNotApplicable": true,
  "remark": "abc123",
  "isActive": true
}

CompetenceType_Input

Fields
Input Field Description
surveyQuestionFactorId - ObjectID
regularUserFilterRules - [JSONObject]
appraisalUserFilterRules - [ObjectID]
userSegmentWeightages - [UserSegmentWeightage_Input]
ratingScales - [SurveyAnswerOption_Input]
tooltipText - String
weightage - Int
isActive - Boolean
Example
{
  "surveyQuestionFactorId": "5e5677d71bdc2ae76344968c",
  "regularUserFilterRules": [{}],
  "appraisalUserFilterRules": [
    "5e5677d71bdc2ae76344968c"
  ],
  "userSegmentWeightages": [UserSegmentWeightage_Input],
  "ratingScales": [SurveyAnswerOption_Input],
  "tooltipText": "abc123",
  "weightage": 123,
  "isActive": false
}

CompetenceTypesPage

Fields
Field Name Description
docs - [CompetenceType!]!
pageInfo - PageInfo!
Example
{
  "docs": [CompetenceType],
  "pageInfo": PageInfo
}

Competence_Input

Fields
Input Field Description
surveyLibraryQuestionId - ObjectID
question - Question_Input
isActive - Boolean
Example
{
  "surveyLibraryQuestionId": "5e5677d71bdc2ae76344968c",
  "question": Question_Input,
  "isActive": false
}

ConfirmForgotPasswordOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

ConfirmForgotPasswordParams

Fields
Input Field Description
userName - String
password - String
confirmationCode - String
Example
{
  "userName": "abc123",
  "password": "abc123",
  "confirmationCode": "xyz789"
}

ConfirmForgotPasswordPayload

Fields
Field Name Description
tokens - Tokens
challenge - Challenge
Example
{
  "tokens": Tokens,
  "challenge": Challenge
}

Conversation

Fields
Field Name Description
_id - ObjectID!
name - String
description - String
icon - File
rootId - ObjectID
rootType - String
fldName - String
subscriptions - [Participation]
subscriptionsPage - ParticipationsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
subscriptionsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
metas - [Meta]
metasPage - MetasPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
metasFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
comments - [Comment]
messages - [Message]
priority - Int
isActive - Boolean
isDeleted - Boolean
lastMessageDate - Timestamp
lastMessage - Message
createdDate - Timestamp
updatedDate - Timestamp
trashedDate - Timestamp
deletedDate - Timestamp
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
options - ListOptions
messagesPage - MessagesPage
Arguments
searchOptions - SearchOptions
options - ListOptions
filesPage - FilesPage
Arguments
searchOptions - SearchOptions
options - ListOptions
comment - Comment
Arguments
_id - ObjectID
subscribersPage - UsersPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
unseenCount - Int
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "description": "abc123",
  "icon": File,
  "rootId": "5e5677d71bdc2ae76344968c",
  "rootType": "abc123",
  "fldName": "xyz789",
  "subscriptions": [Participation],
  "subscriptionsPage": ParticipationsPage,
  "subscriptionsFacts": [Fact],
  "metas": [Meta],
  "metasPage": MetasPage,
  "metasFacts": [Fact],
  "comments": [Comment],
  "messages": [Message],
  "priority": 987,
  "isActive": false,
  "isDeleted": false,
  "lastMessageDate": 1592577642,
  "lastMessage": Message,
  "createdDate": 1592577642,
  "updatedDate": 1592577642,
  "trashedDate": 1592577642,
  "deletedDate": 1592577642,
  "commentsPage": CommentsPage,
  "messagesPage": MessagesPage,
  "filesPage": FilesPage,
  "comment": Comment,
  "subscribersPage": UsersPage,
  "unseenCount": 987
}

Conversation_Input

Fields
Input Field Description
name - String
description - String
icon - File_Input
subscriptions - [Participation_Input]
Example
{
  "name": "abc123",
  "description": "xyz789",
  "icon": File_Input,
  "subscriptions": [Participation_Input]
}

ConversationsPage

Fields
Field Name Description
docs - [Conversation]
pageInfo - PageInfo
Example
{
  "docs": [Conversation],
  "pageInfo": PageInfo
}

CopyCommunityGoalsOptions

Fields
Input Field Description
termProgramId - ObjectID
Example
{
  "termProgramId": "5e5677d71bdc2ae76344968c"
}

CopyCommunityGoalsParams

Fields
Input Field Description
communityGoalIds - [ObjectID]
assignedToUserIds - [ObjectID]
Example
{
  "communityGoalIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "assignedToUserIds": [
    "5e5677d71bdc2ae76344968c"
  ]
}

CreateAlarmOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateAlarmParams

Fields
Input Field Description
alarm - Alarm_Input
Example
{"alarm": Alarm_Input}

CreateAppraisalForUsersOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateAppraisalForUsersParams

Fields
Input Field Description
userIds - [String]
Example
{"userIds": ["abc123"]}

CreateAppraisalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateAppraisalParams

Fields
Input Field Description
appraisal - Appraisal_Input
Example
{"appraisal": Appraisal_Input}

CreateAttendanceOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateAttendanceParams

Fields
Input Field Description
attendance - Attendance_Input
Example
{"attendance": Attendance_Input}

CreateCheckInForUsersOptions

Fields
Input Field Description
checkInType - String
checkInName - String
checkInRevisionId - ObjectID
termProgramId - ObjectID
programId - ObjectID
yearId - ObjectID
Example
{
  "checkInType": "xyz789",
  "checkInName": "abc123",
  "checkInRevisionId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c"
}

CreateCheckInForUsersParams

Fields
Input Field Description
search - JSONString
Example
{"search": JSONString}

CreateCheckInOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateCheckInParams

Fields
Input Field Description
checkIn - CheckIn_Input
Example
{"checkIn": CheckIn_Input}

CreateCommunicationEventOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateCommunicationEventParams

Fields
Input Field Description
communicationEvent - CommunicationEvent_Input
Example
{"communicationEvent": CommunicationEvent_Input}

CreateCommunityGoalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateCommunityGoalParams

Fields
Input Field Description
communityGoal - CommunityGoal_Input
Example
{"communityGoal": CommunityGoal_Input}

CreateConversationOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateConversationParams

Fields
Input Field Description
conversation - Conversation_Input
Example
{"conversation": Conversation_Input}

CreateGoalOptions

Fields
Input Field Description
isCreateAndSubmit - Boolean
isCreateAndApprove - Boolean
Example
{"isCreateAndSubmit": false, "isCreateAndApprove": true}

CreateGoalParams

Fields
Input Field Description
goal - Goal_Input
assignedToUserId - ObjectID
Example
{
  "goal": Goal_Input,
  "assignedToUserId": "5e5677d71bdc2ae76344968c"
}

CreateLanguageOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateLanguageParams

Fields
Input Field Description
language - Language_Input
Example
{"language": Language_Input}

CreateMasterParams

Fields
Input Field Description
name - String!
keyName - String!
priority - Int
isActive - Boolean
Example
{
  "name": "abc123",
  "keyName": "xyz789",
  "priority": 987,
  "isActive": true
}

CreateModuleCategoryOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateModuleCategoryParams

Fields
Input Field Description
moduleCategory - ModuleCategory_Input
Example
{"moduleCategory": ModuleCategory_Input}

CreateModuleOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateModuleParams

Fields
Input Field Description
module - Module_Input
Example
{"module": Module_Input}

CreateNotificationOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateNotificationParams

Fields
Input Field Description
notification - Notification_Input
Example
{"notification": Notification_Input}

CreateOrgAdminOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateOrgAdminParams

Fields
Input Field Description
organisationId - String!
userName - String!
firstName - String
lastName - String
empCode - String
email - String
mobileNumber - String
isEmailVerified - Boolean
isMobileNumberVerified - Boolean
Example
{
  "organisationId": "xyz789",
  "userName": "xyz789",
  "firstName": "abc123",
  "lastName": "xyz789",
  "empCode": "xyz789",
  "email": "abc123",
  "mobileNumber": "xyz789",
  "isEmailVerified": true,
  "isMobileNumberVerified": true
}

CreateOrgAdminPayload

Fields
Field Name Description
id - ObjectID!
userName - String!
firstName - String
lastName - String
empCode - String
email - String
mobileNumber - String
isEmailVerified - Boolean
isMobileNumberVerified - Boolean
Example
{
  "id": "5e5677d71bdc2ae76344968c",
  "userName": "abc123",
  "firstName": "xyz789",
  "lastName": "abc123",
  "empCode": "abc123",
  "email": "xyz789",
  "mobileNumber": "abc123",
  "isEmailVerified": false,
  "isMobileNumberVerified": false
}

CreateOrgUnitOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateOrgUnitParams

Fields
Input Field Description
orgUnit - OrgUnit_Input
Example
{"orgUnit": OrgUnit_Input}

CreateOrganisationOptions

Fields
Input Field Description
isCreateDefaultRoles - Boolean
Example
{"isCreateDefaultRoles": true}

CreateOrganisationParams

Fields
Input Field Description
name - String!
keyName - String!
wesoarDomain - String!
organisationGroup - String
contactPerson - CreateOrganisation_Person_Input
registeredAddress - CreateOrganisation_Address_Input
website - String
profilePicUrl - String
organisationSize - String
organisationIndustry - String
organisationType - String
organisationStatus - String
yearOfEstablishment - Int
totalRevenue - Int
objectives - String
activationCode - String
contractDetails - [CreateOrganisation_ContractDetails_Input]
subscriptions - [CreateOrganisation_Subscription_Input]
defaultFieldMapping - String
technicalData - CreateOrganisation_TechnicalData_Input
adminUser - CreateOrganisation_adminUsesr_Input
Example
{
  "name": "xyz789",
  "keyName": "abc123",
  "wesoarDomain": "xyz789",
  "organisationGroup": "abc123",
  "contactPerson": CreateOrganisation_Person_Input,
  "registeredAddress": CreateOrganisation_Address_Input,
  "website": "xyz789",
  "profilePicUrl": "abc123",
  "organisationSize": "abc123",
  "organisationIndustry": "abc123",
  "organisationType": "xyz789",
  "organisationStatus": "abc123",
  "yearOfEstablishment": 987,
  "totalRevenue": 123,
  "objectives": "abc123",
  "activationCode": "abc123",
  "contractDetails": [
    CreateOrganisation_ContractDetails_Input
  ],
  "subscriptions": [
    CreateOrganisation_Subscription_Input
  ],
  "defaultFieldMapping": "abc123",
  "technicalData": CreateOrganisation_TechnicalData_Input,
  "adminUser": CreateOrganisation_adminUsesr_Input
}

CreateOrganisationPayload

Fields
Field Name Description
organisation - CreateOrganisation_Organisation_Payload
Example
{"organisation": CreateOrganisation_Organisation_Payload}

CreateOrganisation_Address_Input

Fields
Input Field Description
addressLine1 - String
addressLine2 - String
addressLine3 - String
city - String
county - String
country - String
postcode - String
Example
{
  "addressLine1": "abc123",
  "addressLine2": "xyz789",
  "addressLine3": "xyz789",
  "city": "abc123",
  "county": "abc123",
  "country": "xyz789",
  "postcode": "xyz789"
}

CreateOrganisation_Address_Payload

Fields
Field Name Description
addressLine1 - String
addressLine2 - String
addressLine3 - String
city - String
county - String
country - String
postcode - String
Example
{
  "addressLine1": "abc123",
  "addressLine2": "xyz789",
  "addressLine3": "xyz789",
  "city": "xyz789",
  "county": "abc123",
  "country": "abc123",
  "postcode": "abc123"
}

CreateOrganisation_ContractDetails_Input

Fields
Input Field Description
startDate - Timestamp
endDate - Timestamp
commissionDate - Timestamp
billingFrequency - Int
commissionPercentage - Int
plan - String
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "commissionDate": 1592577642,
  "billingFrequency": 987,
  "commissionPercentage": 123,
  "plan": "xyz789"
}

CreateOrganisation_ContractDetails_Payload

Fields
Field Name Description
startDate - Timestamp
endDate - Timestamp
commissionDate - Timestamp
billingFrequency - Int
commissionPercentage - Int
plan - String
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "commissionDate": 1592577642,
  "billingFrequency": 123,
  "commissionPercentage": 123,
  "plan": "xyz789"
}

CreateOrganisation_Organisation_Payload

Fields
Field Name Description
id - ObjectID!
name - String!
keyName - String!
wesoarDomain - String!
organisationGroup - String
contactPerson - CreateOrganisation_Person_Payload
registeredAddress - CreateOrganisation_Address_Payload
website - String
profilePicUrl - String
organisationSize - String
organisationIndustry - String
organisationType - String
organisationStatus - String
yearOfEstablishment - Int
totalRevenue - Int
objectives - String
activationCode - String
contractDetails - [CreateOrganisation_ContractDetails_Payload]
subscriptions - [CreateOrganisation_Subscription_Payload]
defaultFieldMapping - String
technicalData - CreateOrganisation_TechnicalData_Payload
Example
{
  "id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "wesoarDomain": "abc123",
  "organisationGroup": "xyz789",
  "contactPerson": CreateOrganisation_Person_Payload,
  "registeredAddress": CreateOrganisation_Address_Payload,
  "website": "xyz789",
  "profilePicUrl": "xyz789",
  "organisationSize": "abc123",
  "organisationIndustry": "abc123",
  "organisationType": "xyz789",
  "organisationStatus": "abc123",
  "yearOfEstablishment": 123,
  "totalRevenue": 123,
  "objectives": "abc123",
  "activationCode": "abc123",
  "contractDetails": [
    CreateOrganisation_ContractDetails_Payload
  ],
  "subscriptions": [
    CreateOrganisation_Subscription_Payload
  ],
  "defaultFieldMapping": "abc123",
  "technicalData": CreateOrganisation_TechnicalData_Payload
}

CreateOrganisation_Person_Input

Fields
Input Field Description
title - String
firstName - String
middleName - String
lastName - String
designation - String
contactNumber - String
mobileNumber - String
email - String
Example
{
  "title": "abc123",
  "firstName": "abc123",
  "middleName": "abc123",
  "lastName": "abc123",
  "designation": "abc123",
  "contactNumber": "abc123",
  "mobileNumber": "abc123",
  "email": "xyz789"
}

CreateOrganisation_Person_Payload

Fields
Field Name Description
title - String
firstName - String
middleName - String
lastName - String
designation - String
contactNumber - String
mobileNumber - String
email - String
Example
{
  "title": "xyz789",
  "firstName": "xyz789",
  "middleName": "abc123",
  "lastName": "abc123",
  "designation": "abc123",
  "contactNumber": "xyz789",
  "mobileNumber": "xyz789",
  "email": "abc123"
}

CreateOrganisation_Subscription_Input

Fields
Input Field Description
startDate - Timestamp
endDate - Timestamp
maxSubscribers - Int
amount - Int
isPaid - Boolean
isCommissionPaid - Boolean
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "maxSubscribers": 123,
  "amount": 123,
  "isPaid": false,
  "isCommissionPaid": true
}

CreateOrganisation_Subscription_Payload

Fields
Field Name Description
startDate - Timestamp
endDate - Timestamp
maxSubscribers - Int
amount - Int
isPaid - Boolean
isCommissionPaid - Boolean
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "maxSubscribers": 987,
  "amount": 987,
  "isPaid": true,
  "isCommissionPaid": false
}

CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Input

Fields
Input Field Description
clientName - String
clientId - String
clientSecret - String
Example
{
  "clientName": "xyz789",
  "clientId": "xyz789",
  "clientSecret": "abc123"
}

CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Payload

Fields
Field Name Description
clientName - String
clientId - String
clientSecret - String
Example
{
  "clientName": "abc123",
  "clientId": "abc123",
  "clientSecret": "xyz789"
}

CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_Input

Fields
Input Field Description
apiVersion - String
region - String
userPoolId - String
cognitoClient - [CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Input]
Example
{
  "apiVersion": "xyz789",
  "region": "xyz789",
  "userPoolId": "abc123",
  "cognitoClient": [
    CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Input
  ]
}

CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_Payload

Fields
Field Name Description
apiVersion - String
region - String
userPoolId - String
cognitoClient - [CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Payload]
Example
{
  "apiVersion": "xyz789",
  "region": "abc123",
  "userPoolId": "xyz789",
  "cognitoClient": [
    CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Payload
  ]
}

CreateOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Input

Fields
Input Field Description
accessKeyId - String
secretAccessKey - String
region - String
Example
{
  "accessKeyId": "abc123",
  "secretAccessKey": "xyz789",
  "region": "abc123"
}

CreateOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Payload

Fields
Field Name Description
accessKeyId - String
secretAccessKey - String
region - String
Example
{
  "accessKeyId": "xyz789",
  "secretAccessKey": "xyz789",
  "region": "abc123"
}

CreateOrganisation_TechnicalData_AWSConfig_Input

Example
{
  "developerConfig": CreateOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Input,
  "cognitoConfig": CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_Input
}

CreateOrganisation_TechnicalData_AWSConfig_Payload

Example
{
  "developerConfig": CreateOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Payload,
  "cognitoConfig": CreateOrganisation_TechnicalData_AWSConfig_CognitoConfig_Payload
}

CreateOrganisation_TechnicalData_DBConfig_Input

Fields
Input Field Description
userName - String
password - String
dbName - String
hostUrl - String
replicas - String
cnnString - String
Example
{
  "userName": "abc123",
  "password": "abc123",
  "dbName": "abc123",
  "hostUrl": "xyz789",
  "replicas": "abc123",
  "cnnString": "xyz789"
}

CreateOrganisation_TechnicalData_DBConfig_Payload

Fields
Field Name Description
userName - String
password - String
dbName - String
hostUrl - String
replicas - String
cnnString - String
Example
{
  "userName": "abc123",
  "password": "xyz789",
  "dbName": "xyz789",
  "hostUrl": "xyz789",
  "replicas": "xyz789",
  "cnnString": "xyz789"
}

CreateOrganisation_TechnicalData_Input

Example
{
  "dbConfig": CreateOrganisation_TechnicalData_DBConfig_Input,
  "sendGridConfig": CreateOrganisation_TechnicalData_SendGridConfig_Input,
  "awsConfig": CreateOrganisation_TechnicalData_AWSConfig_Input
}

CreateOrganisation_TechnicalData_Payload

Example
{
  "dbConfiguration": CreateOrganisation_TechnicalData_DBConfig_Payload,
  "sendGridConfiguration": CreateOrganisation_TechnicalData_SendGridConfig_Payload,
  "awsConfiguration": CreateOrganisation_TechnicalData_AWSConfig_Payload
}

CreateOrganisation_TechnicalData_SendGridConfig_Input

Fields
Input Field Description
apiKey - String
Example
{"apiKey": "xyz789"}

CreateOrganisation_TechnicalData_SendGridConfig_Payload

Fields
Field Name Description
apiKey - String
Example
{"apiKey": "xyz789"}

CreateOrganisation_adminUsesr_Input

Fields
Input Field Description
userName - String!
firstName - String
lastName - String
empCode - String
email - String
mobileNumber - String
isEmailVerified - Boolean
isMobileNumberVerified - Boolean
Example
{
  "userName": "abc123",
  "firstName": "xyz789",
  "lastName": "abc123",
  "empCode": "abc123",
  "email": "xyz789",
  "mobileNumber": "xyz789",
  "isEmailVerified": false,
  "isMobileNumberVerified": true
}

CreatePlannedTaskOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreatePlannedTaskParams

Fields
Input Field Description
plannedTask - PlannedTask_Input
assignedToUserId - ObjectID
Example
{
  "plannedTask": PlannedTask_Input,
  "assignedToUserId": "5e5677d71bdc2ae76344968c"
}

CreateProgramOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateProgramParams

Fields
Input Field Description
program - Program_Input
Example
{"program": Program_Input}

CreateProgramTypeOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateProgramTypeParams

Fields
Input Field Description
programType - ProgramType_Input
Example
{"programType": ProgramType_Input}

CreateReportOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateReportParams

Fields
Input Field Description
report - Report_Input
Example
{"report": Report_Input}

CreateSuperOrganisationOptions

Fields
Input Field Description
isCreateDefaultRoles - Boolean
Example
{"isCreateDefaultRoles": false}

CreateSuperOrganisationParams

Fields
Input Field Description
name - String!
keyName - String!
wesoarDomain - String!
organisationGroup - String
contactPerson - CreateSuperOrganisation_Person_Input
registeredAddress - CreateSuperOrganisation_Address_Input
website - String
profilePicUrl - String
organisationSize - String
organisationIndustry - String
organisationType - String
organisationStatus - String
yearOfEstablishment - Int
totalRevenue - Int
objectives - String
activationCode - String
contractDetails - [CreateSuperOrganisation_ContractDetails_Input]
subscriptions - [CreateSuperOrganisation_Subscription_Input]
defaultFieldMapping - String
technicalData - CreateSuperOrganisation_TechnicalData_Input
Example
{
  "name": "abc123",
  "keyName": "abc123",
  "wesoarDomain": "xyz789",
  "organisationGroup": "xyz789",
  "contactPerson": CreateSuperOrganisation_Person_Input,
  "registeredAddress": CreateSuperOrganisation_Address_Input,
  "website": "abc123",
  "profilePicUrl": "xyz789",
  "organisationSize": "xyz789",
  "organisationIndustry": "xyz789",
  "organisationType": "abc123",
  "organisationStatus": "abc123",
  "yearOfEstablishment": 123,
  "totalRevenue": 987,
  "objectives": "xyz789",
  "activationCode": "abc123",
  "contractDetails": [
    CreateSuperOrganisation_ContractDetails_Input
  ],
  "subscriptions": [
    CreateSuperOrganisation_Subscription_Input
  ],
  "defaultFieldMapping": "abc123",
  "technicalData": CreateSuperOrganisation_TechnicalData_Input
}

CreateSuperOrganisationPayload

Fields
Field Name Description
id - ID!
name - String!
keyName - String!
wesoarDomain - String!
organisationGroup - String
contactPerson - CreateSuperOrganisation_Person_Payload
registeredAddress - CreateSuperOrganisation_Address_Payload
website - String
profilePicUrl - String
organisationSize - String
organisationIndustry - String
organisationType - String
organisationStatus - String
yearOfEstablishment - Int
totalRevenue - Int
objectives - String
activationCode - String
contractDetails - [CreateSuperOrganisation_ContractDetails_Payload]
subscriptions - [CreateSuperOrganisation_Subscription_Payload]
defaultFieldMapping - String
technicalData - CreateSuperOrganisation_TechnicalData_Payload
Example
{
  "id": "4",
  "name": "xyz789",
  "keyName": "abc123",
  "wesoarDomain": "abc123",
  "organisationGroup": "xyz789",
  "contactPerson": CreateSuperOrganisation_Person_Payload,
  "registeredAddress": CreateSuperOrganisation_Address_Payload,
  "website": "abc123",
  "profilePicUrl": "xyz789",
  "organisationSize": "abc123",
  "organisationIndustry": "abc123",
  "organisationType": "xyz789",
  "organisationStatus": "abc123",
  "yearOfEstablishment": 987,
  "totalRevenue": 123,
  "objectives": "abc123",
  "activationCode": "xyz789",
  "contractDetails": [
    CreateSuperOrganisation_ContractDetails_Payload
  ],
  "subscriptions": [
    CreateSuperOrganisation_Subscription_Payload
  ],
  "defaultFieldMapping": "xyz789",
  "technicalData": CreateSuperOrganisation_TechnicalData_Payload
}

CreateSuperOrganisation_Address_Input

Fields
Input Field Description
addressLine1 - String
addressLine2 - String
addressLine3 - String
city - String
county - String
country - String
postcode - String
Example
{
  "addressLine1": "xyz789",
  "addressLine2": "abc123",
  "addressLine3": "abc123",
  "city": "abc123",
  "county": "abc123",
  "country": "abc123",
  "postcode": "xyz789"
}

CreateSuperOrganisation_Address_Payload

Fields
Field Name Description
addressLine1 - String
addressLine2 - String
addressLine3 - String
city - String
county - String
country - String
postcode - String
Example
{
  "addressLine1": "xyz789",
  "addressLine2": "abc123",
  "addressLine3": "xyz789",
  "city": "abc123",
  "county": "abc123",
  "country": "abc123",
  "postcode": "xyz789"
}

CreateSuperOrganisation_ContractDetails_Input

Fields
Input Field Description
startDate - Timestamp
endDate - Timestamp
commissionDate - Timestamp
billingFrequency - Int
commissionPercentage - Int
plan - String
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "commissionDate": 1592577642,
  "billingFrequency": 123,
  "commissionPercentage": 987,
  "plan": "abc123"
}

CreateSuperOrganisation_ContractDetails_Payload

Fields
Field Name Description
startDate - Timestamp
endDate - Timestamp
commissionDate - Timestamp
billingFrequency - Int
commissionPercentage - Int
plan - String
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "commissionDate": 1592577642,
  "billingFrequency": 987,
  "commissionPercentage": 123,
  "plan": "xyz789"
}

CreateSuperOrganisation_Person_Input

Fields
Input Field Description
title - String
firstName - String
middleName - String
lastName - String
designation - String
contactNumber - String
mobileNumber - String
email - String
Example
{
  "title": "xyz789",
  "firstName": "abc123",
  "middleName": "abc123",
  "lastName": "abc123",
  "designation": "abc123",
  "contactNumber": "xyz789",
  "mobileNumber": "abc123",
  "email": "abc123"
}

CreateSuperOrganisation_Person_Payload

Fields
Field Name Description
title - String
firstName - String
middleName - String
lastName - String
designation - String
contactNumber - String
mobileNumber - String
email - String
Example
{
  "title": "xyz789",
  "firstName": "abc123",
  "middleName": "xyz789",
  "lastName": "abc123",
  "designation": "abc123",
  "contactNumber": "xyz789",
  "mobileNumber": "abc123",
  "email": "xyz789"
}

CreateSuperOrganisation_Subscription_Input

Fields
Input Field Description
startDate - Timestamp
endDate - Timestamp
maxSubscribers - Int
amount - Int
isPaid - Boolean
isCommissionPaid - Boolean
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "maxSubscribers": 987,
  "amount": 987,
  "isPaid": false,
  "isCommissionPaid": true
}

CreateSuperOrganisation_Subscription_Payload

Fields
Field Name Description
startDate - Timestamp
endDate - Timestamp
maxSubscribers - Int
amount - Int
isPaid - Boolean
isCommissionPaid - Boolean
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "maxSubscribers": 987,
  "amount": 123,
  "isPaid": false,
  "isCommissionPaid": false
}

CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Input

Fields
Input Field Description
clientName - String
clientId - String
clientSecret - String
Example
{
  "clientName": "abc123",
  "clientId": "abc123",
  "clientSecret": "xyz789"
}

CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Payload

Fields
Field Name Description
clientName - String
clientId - String
clientSecret - String
Example
{
  "clientName": "abc123",
  "clientId": "xyz789",
  "clientSecret": "abc123"
}

CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_Input

Fields
Input Field Description
apiVersion - String
region - String
userPoolId - String
cognitoClient - [CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Input]
Example
{
  "apiVersion": "xyz789",
  "region": "xyz789",
  "userPoolId": "xyz789",
  "cognitoClient": [
    CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Input
  ]
}

CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_Payload

Fields
Field Name Description
apiVersion - String
region - String
userPoolId - String
cognitoClient - [CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Payload]
Example
{
  "apiVersion": "abc123",
  "region": "abc123",
  "userPoolId": "abc123",
  "cognitoClient": [
    CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient_Payload
  ]
}

CreateSuperOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Input

Fields
Input Field Description
accessKeyId - String
secretAccessKey - String
region - String
Example
{
  "accessKeyId": "abc123",
  "secretAccessKey": "abc123",
  "region": "xyz789"
}

CreateSuperOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Payload

Fields
Field Name Description
accessKeyId - String
secretAccessKey - String
region - String
Example
{
  "accessKeyId": "xyz789",
  "secretAccessKey": "abc123",
  "region": "abc123"
}

CreateSuperOrganisation_TechnicalData_AWSConfig_Input

Example
{
  "developerConfig": CreateSuperOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Input,
  "cognitoConfig": CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_Input
}

CreateSuperOrganisation_TechnicalData_AWSConfig_Payload

Example
{
  "developerConfig": CreateSuperOrganisation_TechnicalData_AWSConfig_DeveloperConfig_Payload,
  "cognitoConfig": CreateSuperOrganisation_TechnicalData_AWSConfig_CognitoConfig_Payload
}

CreateSuperOrganisation_TechnicalData_DBConfig_Input

Fields
Input Field Description
userName - String
password - String
dbName - String
hostUrl - String
replicas - String
cnnString - String
Example
{
  "userName": "abc123",
  "password": "abc123",
  "dbName": "abc123",
  "hostUrl": "xyz789",
  "replicas": "abc123",
  "cnnString": "xyz789"
}

CreateSuperOrganisation_TechnicalData_DBConfig_Payload

Fields
Field Name Description
userName - String
password - String
dbName - String
hostUrl - String
replicas - String
cnnString - String
Example
{
  "userName": "abc123",
  "password": "abc123",
  "dbName": "xyz789",
  "hostUrl": "abc123",
  "replicas": "abc123",
  "cnnString": "xyz789"
}

CreateSuperOrganisation_TechnicalData_Input

Example
{
  "dbConfiguration": CreateSuperOrganisation_TechnicalData_DBConfig_Input,
  "sendGridConfiguration": CreateSuperOrganisation_TechnicalData_SendGridConfig_Input,
  "awsConfiguration": CreateSuperOrganisation_TechnicalData_AWSConfig_Input
}

CreateSuperOrganisation_TechnicalData_Payload

Example
{
  "dbConfiguration": CreateSuperOrganisation_TechnicalData_DBConfig_Payload,
  "sendGridConfiguration": CreateSuperOrganisation_TechnicalData_SendGridConfig_Payload,
  "awsConfiguration": CreateSuperOrganisation_TechnicalData_AWSConfig_Payload
}

CreateSuperOrganisation_TechnicalData_SendGridConfig_Input

Fields
Input Field Description
userName - String
password - String
Example
{
  "userName": "abc123",
  "password": "xyz789"
}

CreateSuperOrganisation_TechnicalData_SendGridConfig_Payload

Fields
Field Name Description
userName - String
password - String
Example
{
  "userName": "xyz789",
  "password": "abc123"
}

CreateSurveyAnswerCategoryOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateSurveyAnswerCategoryParams

Fields
Input Field Description
surveyAnswerCategory - SurveyAnswerCategory_Input
Example
{"surveyAnswerCategory": SurveyAnswerCategory_Input}

CreateSurveyQuestionFactorOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateSurveyQuestionFactorParams

Fields
Input Field Description
surveyQuestionFactor - SurveyQuestionFactor_Input
Example
{"surveyQuestionFactor": SurveyQuestionFactor_Input}

CreateSurveyQuestionOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateSurveyQuestionParams

Fields
Input Field Description
surveyQuestion - SurveyQuestion_Input
Example
{"surveyQuestion": SurveyQuestion_Input}

CreateSurveyResponseOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateSurveyResponseParams

Fields
Input Field Description
surveyResponse - SurveyResponse_Input
Example
{"surveyResponse": SurveyResponse_Input}

CreateSurveySpecimenOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateSurveySpecimenParams

Fields
Input Field Description
surveySpecimen - SurveySpecimen_Input
Example
{"surveySpecimen": SurveySpecimen_Input}

CreateTermProgramOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateTermProgramParams

Fields
Input Field Description
termProgram - TermProgram_Input
Example
{"termProgram": TermProgram_Input}

CreateUnplannedTaskOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateUnplannedTaskParams

Fields
Input Field Description
unplannedTask - UnplannedTask_Input
assignedToUserId - ObjectID
Example
{
  "unplannedTask": UnplannedTask_Input,
  "assignedToUserId": "5e5677d71bdc2ae76344968c"
}

CreateUserOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

CreateUserParams

Fields
Input Field Description
userName - String!
firstName - String
lastName - String
empCode - String
email - String
mobileNumber - String
isEmailVerified - Boolean
isMobileNumberVerified - Boolean
roles - [String]
Example
{
  "userName": "xyz789",
  "firstName": "xyz789",
  "lastName": "abc123",
  "empCode": "abc123",
  "email": "abc123",
  "mobileNumber": "xyz789",
  "isEmailVerified": true,
  "isMobileNumberVerified": false,
  "roles": ["abc123"]
}

CreateYearOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

CreateYearParams

Fields
Input Field Description
year - Year_Input
Example
{"year": Year_Input}

DeleteAlarmsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteAlarmsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteAlarmsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteAppraisalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteAppraisalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteAppraisalsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteAttendancesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteAttendancesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteAttendancesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteCheckInsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteCheckInsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteCheckInsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteCommentParams

Fields
Input Field Description
commentId - ObjectID
Example
{"commentId": "5e5677d71bdc2ae76344968c"}

DeleteCommunicationEventsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteCommunicationEventsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteCommunicationEventsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteCommunityGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteCommunityGoalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteCommunityGoalsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteConversationMetasOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteConversationMetasParams

Fields
Input Field Description
conversationId - ObjectID
metas - [ObjectID]
Example
{
  "conversationId": "5e5677d71bdc2ae76344968c",
  "metas": ["5e5677d71bdc2ae76344968c"]
}

DeleteConversationSubscribersOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteConversationSubscribersParams

Fields
Input Field Description
conversationId - ObjectID
userIds - [ObjectID]
Example
{
  "conversationId": "5e5677d71bdc2ae76344968c",
  "userIds": ["5e5677d71bdc2ae76344968c"]
}

DeleteConversationsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteConversationsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteConversationsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteGoalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteGoalsPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 987}

DeleteLanguagesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteLanguagesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteLanguagesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteMasterOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteMasterParams

Fields
Input Field Description
_id - [ObjectID!]!
Example
{"_id": ["5e5677d71bdc2ae76344968c"]}

DeleteMasterPayload

Fields
Field Name Description
status - Boolean
Example
{"status": true}

DeleteMessageParams

Fields
Input Field Description
messageId - ObjectID
Example
{"messageId": "5e5677d71bdc2ae76344968c"}

DeleteModuleCategoriesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteModuleCategoriesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteModuleCategoriesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteModulesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteModulesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteModulesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteNotificationsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteNotificationsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteNotificationsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteOrgUnitsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteOrgUnitsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteOrgUnitsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeletePlannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeletePlannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeletePlannedTasksPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteProgramTypesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteProgramTypesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteProgramTypesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteProgramsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteProgramsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteProgramsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteReportsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteReportsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteReportsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteSurveyAnswerCategoriesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteSurveyAnswerCategoriesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteSurveyAnswerCategoriesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteSurveyQuestionFactorsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteSurveyQuestionFactorsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteSurveyQuestionFactorsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteSurveyQuestionsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteSurveyQuestionsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteSurveyQuestionsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteSurveyResponsesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteSurveyResponsesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteSurveyResponsesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteSurveySpecimensOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

DeleteSurveySpecimensParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteSurveySpecimensPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteTermProgramsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteTermProgramsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteTermProgramsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DeleteUnplannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteUnplannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteUnplannedTasksPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

DeleteYearsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

DeleteYearsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

DeleteYearsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

DisableMfaPayload

Fields
Field Name Description
status - Boolean
Example
{"status": false}

Duration

Example
"P3Y6M4DT12H30M5S"

EnableMfaPayload

Fields
Field Name Description
status - Boolean
Example
{"status": true}

EngReport

Fields
Field Name Description
programId - ObjectID
userManagerId - ObjectID
reportType - String
grpFld - String
medal - Medal
scoreOverall - Float
countQuestions - Int
countRespondents - Int
surveyQuestionFactors - [SurveyQuestionFactor]
surveyQuestionFactorsPage - SurveyQuestionFactorsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
surveyQuestionsPage - SurveyQuestionsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
averageTimeTaken - Float
surveyAnswerCategories - [SurveyAnswerCategory]
surveyAnswerCompositions - [SurveyAnswerCategory]
countInvitationsSent - Int
percentageParticipation - Float
teamHighestSurveyQuestionFactor - SurveyQuestionFactor
overallHighestFactor - SurveyQuestionFactor
wordCloudWords - [WordCloudWord]
sentiments - [Sentiment]
Example
{
  "programId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c",
  "reportType": "abc123",
  "grpFld": "xyz789",
  "medal": Medal,
  "scoreOverall": 987.65,
  "countQuestions": 123,
  "countRespondents": 987,
  "surveyQuestionFactors": [SurveyQuestionFactor],
  "surveyQuestionFactorsPage": SurveyQuestionFactorsPage,
  "surveyQuestionsPage": SurveyQuestionsPage,
  "averageTimeTaken": 987.65,
  "surveyAnswerCategories": [SurveyAnswerCategory],
  "surveyAnswerCompositions": [SurveyAnswerCategory],
  "countInvitationsSent": 123,
  "percentageParticipation": 123.45,
  "teamHighestSurveyQuestionFactor": SurveyQuestionFactor,
  "overallHighestFactor": SurveyQuestionFactor,
  "wordCloudWords": [WordCloudWord],
  "sentiments": [Sentiment]
}

Fact

Fields
Field Name Description
key - String
values - [JSONObject]
Example
{"key": "xyz789", "values": [{}]}

FactOptions

Fields
Input Field Description
facts - [String]
Example
{"facts": ["xyz789"]}

File

Fields
Field Name Description
_id - ObjectID
fileName - String
fileKeyName - String
contentType - String
fileDate - Timestamp
fileUrl - String
fileSize - Float
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "fileName": "abc123",
  "fileKeyName": "xyz789",
  "contentType": "xyz789",
  "fileDate": 1592577642,
  "fileUrl": "abc123",
  "fileSize": 987.65
}

FileUploadUrlPayload

Fields
Field Name Description
uploadUrl - String
fileKeyName - String
uploadFields - [uploadField]
Example
{
  "uploadUrl": "abc123",
  "fileKeyName": "abc123",
  "uploadFields": [uploadField]
}

File_Input

Fields
Input Field Description
fileName - String
fileKeyName - String
contentType - String
Example
{
  "fileName": "xyz789",
  "fileKeyName": "xyz789",
  "contentType": "xyz789"
}

FilesPage

Fields
Field Name Description
docs - [File!]!
pageInfo - PageInfo!
Example
{
  "docs": [File],
  "pageInfo": PageInfo
}

FilterOption

Fields
Field Name Description
filterOptionName - FilterOptionName
filterOptionValues - [String]
Arguments
programId - ObjectID
Example
{
  "filterOptionName": FilterOptionName,
  "filterOptionValues": ["abc123"]
}

FilterOptionName

Fields
Field Name Description
key - String
text - String
Example
{
  "key": "xyz789",
  "text": "xyz789"
}

Float

Description

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
987.65

FollowUp

Fields
Field Name Description
_id - ObjectID
userId - ObjectID
followUpDate - Timestamp
user - User
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "followUpDate": 1592577642,
  "user": User
}

ForgotPasswordOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

ForgotPasswordParams

Fields
Input Field Description
userName - String
Example
{"userName": "xyz789"}

ForgotPasswordPayload

Fields
Field Name Description
codeDeliveryDetails - CodeDeliveryDetails
Example
{"codeDeliveryDetails": CodeDeliveryDetails}

GetFileUploadUrlOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

GetFileUploadUrlParams

Fields
Input Field Description
contentType - String
fileName - String
Example
{
  "contentType": "abc123",
  "fileName": "xyz789"
}

GetLoginFromRefreshTokenParams

Fields
Input Field Description
refreshToken - String
userName - String
Example
{
  "refreshToken": "xyz789",
  "userName": "abc123"
}

GetLoginFromRefreshTokenPayload

Fields
Field Name Description
tokens - Tokens
Example
{"tokens": Tokens}

Goal

Fields
Field Name Description
_id - ObjectID!
yearId - ObjectID
programId - ObjectID
termProgramId - ObjectID
assignedToUserId - ObjectID
assignedByUserId - ObjectID
approvedByUserId - ObjectID
trashedByUserId - ObjectID
assignedDate - Timestamp
updatedDate - Timestamp
submittedDate - Timestamp
approvedDate - Timestamp
trashedDate - Timestamp
deletedDate - Timestamp
hash - String
goalType - String
parentGoalId - ObjectID
conversationId - String
goalDetail - GoalDetail
comments - [Comment]
obstacles - [Comment]
checkInComments - [Comment]
appraisalComments - [Comment]
views - Int
communityGoalId - ObjectID
trackingStatus - String
achievement - String
goalProgress - Int
priority - Int
isActive - Boolean
isShowInPlannedTask - Boolean
isShowInUnplannedTask - Boolean
year - Year
program - Program
termProgram - TermProgram
assignedToUser - User
assignedByUser - User
approvedByUser - User
trashedByUser - User
communityGoal - CommunityGoal
parentGoal - Goal
latestCompletedCheckIn - CheckIn

_id: ObjectID! yearId: ObjectID programId: ObjectID termProgramId: ObjectID

hash: String

assignedDate: Timestamp updatedDate: Timestamp submittedDate: Timestamp approvedDate: Timestamp trashedDate: Timestamp deletedDate: Timestamp

goalType: String comments: [Comment] obstacles: [Comment] checkInComments: [Comment] appraisalComments: [Comment]

goalDetail: GoalDetail

views: Int

communityGoalId: ObjectID trackingStatus: String

goalProgress: Float achievement: String

priority: Int isActive: Boolean isDeleted: Boolean

latestCompletedGoalCheckIn - GoalCheckIn
goalCheckIns - [GoalCheckIn]
goalAppraisals - [GoalAppraisal]
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
rootOptions - RootOptions
comment - Comment
Arguments
_id - ObjectID
rootOptions - RootOptions
obstaclesPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
obstacle - Comment
Arguments
_id - ObjectID
checkInCommentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
checkInComment - Comment
Arguments
_id - ObjectID
appraisalCommentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
appraisalComment - Comment
Arguments
_id - ObjectID
goalCheckInsPage - GoalCheckInsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
goalCheckIn - GoalCheckIn
Arguments
checkInId - ObjectID
goalAppraisalsPage - GoalAppraisalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
goalAppraisal - GoalAppraisal
Arguments
appraisalId - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "assignedToUserId": "5e5677d71bdc2ae76344968c",
  "assignedByUserId": "5e5677d71bdc2ae76344968c",
  "approvedByUserId": "5e5677d71bdc2ae76344968c",
  "trashedByUserId": "5e5677d71bdc2ae76344968c",
  "assignedDate": 1592577642,
  "updatedDate": 1592577642,
  "submittedDate": 1592577642,
  "approvedDate": 1592577642,
  "trashedDate": 1592577642,
  "deletedDate": 1592577642,
  "hash": "xyz789",
  "goalType": "abc123",
  "parentGoalId": "5e5677d71bdc2ae76344968c",
  "conversationId": "abc123",
  "goalDetail": GoalDetail,
  "comments": [Comment],
  "obstacles": [Comment],
  "checkInComments": [Comment],
  "appraisalComments": [Comment],
  "views": 123,
  "communityGoalId": "5e5677d71bdc2ae76344968c",
  "trackingStatus": "xyz789",
  "achievement": "abc123",
  "goalProgress": 987,
  "priority": 987,
  "isActive": true,
  "isShowInPlannedTask": false,
  "isShowInUnplannedTask": false,
  "year": Year,
  "program": Program,
  "termProgram": TermProgram,
  "assignedToUser": User,
  "assignedByUser": User,
  "approvedByUser": User,
  "trashedByUser": User,
  "communityGoal": CommunityGoal,
  "parentGoal": Goal,
  "latestCompletedCheckIn": CheckIn,
  "latestCompletedGoalCheckIn": GoalCheckIn,
  "goalCheckIns": [GoalCheckIn],
  "goalAppraisals": [GoalAppraisal],
  "commentsPage": CommentsPage,
  "comment": Comment,
  "obstaclesPage": CommentsPage,
  "obstacle": Comment,
  "checkInCommentsPage": CommentsPage,
  "checkInComment": Comment,
  "appraisalCommentsPage": CommentsPage,
  "appraisalComment": Comment,
  "goalCheckInsPage": GoalCheckInsPage,
  "goalCheckIn": GoalCheckIn,
  "goalAppraisalsPage": GoalAppraisalsPage,
  "goalAppraisal": GoalAppraisal
}

GoalAppraisal

Fields
Field Name Description
_id - ID
appraisalId - ID
relevance - CheckInRelevance
progress - CheckInProgress
appraisalRatingOnGoal - AppraisalRating
Example
{
  "_id": 4,
  "appraisalId": 4,
  "relevance": CheckInRelevance,
  "progress": CheckInProgress,
  "appraisalRatingOnGoal": AppraisalRating
}

GoalAppraisal_Input

Description

input MileStone_Input { what: String when: Timestamp whoseUserIds: [ObjectID] }

input GoalDetail_Input { goalCategoryId: ObjectID description: String weightage: Int target: String dueBy: Timestamp milestones: [MileStone_Input] taggedUserIds: [ObjectID] }

input Goal_Input { yearId: ObjectID termProgramId: ObjectID programId: ObjectID communityGoalId: ObjectID goalDetail: GoalDetail_Input hash: String comments:[Comment_Input] }

Fields
Input Field Description
appraisalId - ObjectID
relevance - CheckInRelevance_Input
progress - CheckInProgress_Input
appraisalRatingOnGoal - AppraisalRating_Input
Example
{
  "appraisalId": "5e5677d71bdc2ae76344968c",
  "relevance": CheckInRelevance_Input,
  "progress": CheckInProgress_Input,
  "appraisalRatingOnGoal": AppraisalRating_Input
}

GoalAppraisalsPage

Fields
Field Name Description
docs - [GoalAppraisal]
pageInfo - PageInfo
Example
{
  "docs": [GoalAppraisal],
  "pageInfo": PageInfo
}

GoalCategoriesPage

Fields
Field Name Description
docs - [GoalCategory!]!
pageInfo - PageInfo!
Example
{
  "docs": [GoalCategory],
  "pageInfo": PageInfo
}

GoalCategory

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
iconUrl - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "iconUrl": "xyz789",
  "priority": 987,
  "isActive": true
}

GoalCheckIn

Fields
Field Name Description
_id - ID
checkInId - ID
relevance - CheckInRelevance
progress - CheckInProgress
Example
{
  "_id": 4,
  "checkInId": "4",
  "relevance": CheckInRelevance,
  "progress": CheckInProgress
}

GoalCheckIn_Input

Fields
Input Field Description
checkInId - ObjectID
relevance - CheckInRelevance_Input
progress - CheckInProgress_Input
Example
{
  "checkInId": "5e5677d71bdc2ae76344968c",
  "relevance": CheckInRelevance_Input,
  "progress": CheckInProgress_Input
}

GoalCheckInsPage

Fields
Field Name Description
docs - [GoalCheckIn]
pageInfo - PageInfo
Example
{
  "docs": [GoalCheckIn],
  "pageInfo": PageInfo
}

GoalDetail

Fields
Field Name Description
isQuantitative - Boolean
goalCategoryId - ObjectID
description - String
hash - String
weightage - Float
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
dueBy - Timestamp
taggedUserIds - [ObjectID]
milestones - [MileStone]
keyNotes - [KeyNote]
tags - [String]
cascadedGoals - [CascadedGoal]
goalCategory - GoalCategory
taggedUsers - [User]
Example
{
  "isQuantitative": true,
  "goalCategoryId": "5e5677d71bdc2ae76344968c",
  "description": "xyz789",
  "hash": "xyz789",
  "weightage": 123.45,
  "targetFrequency": "abc123",
  "targetUnit": "abc123",
  "target": "xyz789",
  "quantitativeTarget": 123.45,
  "dueBy": 1592577642,
  "taggedUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "milestones": [MileStone],
  "keyNotes": [KeyNote],
  "tags": ["xyz789"],
  "cascadedGoals": [CascadedGoal],
  "goalCategory": GoalCategory,
  "taggedUsers": [User]
}

GoalDetail_Input

Fields
Input Field Description
isQuantitative - Boolean
goalCategoryId - ObjectID
description - String
hash - String
weightage - Float
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
dueBy - Timestamp
taggedUserIds - [ObjectID]
milestones - [MileStone_Input]
keyNotes - [KeyNote_Input]
tags - [String]
cascadedGoals - [CascadedGoal_Input]
Example
{
  "isQuantitative": false,
  "goalCategoryId": "5e5677d71bdc2ae76344968c",
  "description": "abc123",
  "hash": "abc123",
  "weightage": 987.65,
  "targetFrequency": "abc123",
  "targetUnit": "abc123",
  "target": "abc123",
  "quantitativeTarget": 987.65,
  "dueBy": 1592577642,
  "taggedUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "milestones": [MileStone_Input],
  "keyNotes": [KeyNote_Input],
  "tags": ["xyz789"],
  "cascadedGoals": [CascadedGoal_Input]
}

GoalSetting

Fields
Field Name Description
isEnableGoal - Boolean
goalParam - String
isEnableCheckIn - Boolean
checkInParam - String
isEnableAppraisal - Boolean
appraisalParam - String
isShowGoalCategory - Boolean
isShowWeightage - Boolean
isShowQuantitativeTarget - Boolean
isShowQualitativeTarget - Boolean
isShowCascade - Boolean
isShowTagging - Boolean
isShowKeyNotes - Boolean
isMandatoryGoalTarget - Boolean
targetUnits - [String]
isShowSelfProgress - Boolean
isShowPeerProgress - Boolean
isShowIndirectProgress - Boolean
isShowDirectProgress - Boolean
isShowTaggedProgress - Boolean
isShowGoalTitle - Boolean
isShowGoalObstacles - Boolean
isShowGoalDependencies - Boolean
isEnableVision - Boolean
isEnableValues - Boolean
isEnableObstacles - Boolean
isEnableRecognition - Boolean
isEnableFeedback - Boolean
isEnableReports - Boolean
isShowMilestones - Boolean
isCanEscalate - Boolean
communityGoalIds - [ObjectID]
checkInSetting - CheckInSetting
params - JSONObject
communityGoals - [CommunityGoal]
Example
{
  "isEnableGoal": false,
  "goalParam": "abc123",
  "isEnableCheckIn": false,
  "checkInParam": "abc123",
  "isEnableAppraisal": false,
  "appraisalParam": "abc123",
  "isShowGoalCategory": true,
  "isShowWeightage": false,
  "isShowQuantitativeTarget": true,
  "isShowQualitativeTarget": true,
  "isShowCascade": false,
  "isShowTagging": true,
  "isShowKeyNotes": false,
  "isMandatoryGoalTarget": false,
  "targetUnits": ["xyz789"],
  "isShowSelfProgress": true,
  "isShowPeerProgress": false,
  "isShowIndirectProgress": true,
  "isShowDirectProgress": false,
  "isShowTaggedProgress": false,
  "isShowGoalTitle": true,
  "isShowGoalObstacles": false,
  "isShowGoalDependencies": true,
  "isEnableVision": true,
  "isEnableValues": false,
  "isEnableObstacles": true,
  "isEnableRecognition": false,
  "isEnableFeedback": true,
  "isEnableReports": true,
  "isShowMilestones": true,
  "isCanEscalate": false,
  "communityGoalIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "checkInSetting": CheckInSetting,
  "params": {},
  "communityGoals": [CommunityGoal]
}

GoalSetting_Input

Fields
Input Field Description
isEnableGoal - Boolean
goalParam - String
isEnableCheckIn - Boolean
checkInParam - String
isEnableAppraisal - Boolean
appraisalParam - String
isShowGoalCategory - Boolean
isShowWeightage - Boolean
isShowQuantitativeTarget - Boolean
isShowQualitativeTarget - Boolean
isShowCascade - Boolean
isShowTagging - Boolean
isShowKeyNotes - Boolean
isMandatoryGoalTarget - Boolean
targetUnits - [String]
isShowSelfProgress - Boolean
isShowPeerProgress - Boolean
isShowIndirectProgress - Boolean
isShowDirectProgress - Boolean
isShowTaggedProgress - Boolean
isShowGoalTitle - Boolean
isShowGoalObstacles - Boolean
isShowGoalDependencies - Boolean
isEnableVision - Boolean
isEnableValues - Boolean
isCanEscalate - Boolean
communityGoalIds - [ObjectID]
checkInSetting - CheckInSetting_Input
params - JSONObject
Example
{
  "isEnableGoal": true,
  "goalParam": "abc123",
  "isEnableCheckIn": true,
  "checkInParam": "xyz789",
  "isEnableAppraisal": false,
  "appraisalParam": "abc123",
  "isShowGoalCategory": true,
  "isShowWeightage": false,
  "isShowQuantitativeTarget": false,
  "isShowQualitativeTarget": false,
  "isShowCascade": false,
  "isShowTagging": false,
  "isShowKeyNotes": false,
  "isMandatoryGoalTarget": true,
  "targetUnits": ["xyz789"],
  "isShowSelfProgress": true,
  "isShowPeerProgress": true,
  "isShowIndirectProgress": true,
  "isShowDirectProgress": false,
  "isShowTaggedProgress": false,
  "isShowGoalTitle": true,
  "isShowGoalObstacles": false,
  "isShowGoalDependencies": true,
  "isEnableVision": true,
  "isEnableValues": false,
  "isCanEscalate": false,
  "communityGoalIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "checkInSetting": CheckInSetting_Input,
  "params": {}
}

Goal_Input

Fields
Input Field Description
yearId - ObjectID
programId - ObjectID
termProgramId - ObjectID
assignedToUserId - ObjectID
hash - String
goalDetail - GoalDetail_Input
Example
{
  "yearId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "assignedToUserId": "5e5677d71bdc2ae76344968c",
  "hash": "abc123",
  "goalDetail": GoalDetail_Input
}

GoalsPage

Fields
Field Name Description
docs - [Goal!]!
pageInfo - PageInfo!
Example
{
  "docs": [Goal],
  "pageInfo": PageInfo
}

ID

Description

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
"4"

ImpactStage

Fields
Field Name Description
_id - ObjectID
name - String
keyName - String
color - String
eisenhowerQuadrants - String
isHigh - Boolean
isMedium - Boolean
isLow - Boolean
priority - Int
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "color": "xyz789",
  "eisenhowerQuadrants": "xyz789",
  "isHigh": true,
  "isMedium": true,
  "isLow": false,
  "priority": 987,
  "isActive": true,
  "isDeleted": true
}

ImpactStage_Input

Fields
Input Field Description
_id - ObjectID
name - String
keyName - String
color - String
eisenhowerQuadrants - String
isHigh - Boolean
isMedium - Boolean
isLow - Boolean
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "color": "xyz789",
  "eisenhowerQuadrants": "abc123",
  "isHigh": false,
  "isMedium": false,
  "isLow": false,
  "priority": 987,
  "isActive": false
}

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
123

JSONObject

Example
{}

JSONString

Example
JSONString

KanbanStage

Fields
Field Name Description
_id - ObjectID
name - String
keyName - String
isBacklog - Boolean
isToDo - Boolean
isInProgress - Boolean
isDone - Boolean
color - String
priority - Int
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "isBacklog": false,
  "isToDo": false,
  "isInProgress": false,
  "isDone": false,
  "color": "xyz789",
  "priority": 123,
  "isActive": false,
  "isDeleted": true
}

KanbanStage_Input

Fields
Input Field Description
_id - ObjectID
name - String
keyName - String
isBacklog - Boolean
isToDo - Boolean
isInProgress - Boolean
isDone - Boolean
color - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "isBacklog": false,
  "isToDo": true,
  "isInProgress": false,
  "isDone": true,
  "color": "xyz789",
  "priority": 987,
  "isActive": false
}

KeyNote

Fields
Field Name Description
_id - ObjectID
title - String
valueType - String
textValue - String
numberValue - Float
unit - String
dateValue - Timestamp
userValueIds - [ObjectID]
userValues - [User]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "title": "abc123",
  "valueType": "xyz789",
  "textValue": "abc123",
  "numberValue": 123.45,
  "unit": "abc123",
  "dateValue": 1592577642,
  "userValueIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "userValues": [User]
}

KeyNote_Input

Fields
Input Field Description
_id - ObjectID
title - String
valueType - String
textValue - String
numberValue - Float
unit - String
dateValue - Timestamp
userValueIds - [ObjectID]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "title": "abc123",
  "valueType": "xyz789",
  "textValue": "abc123",
  "numberValue": 987.65,
  "unit": "xyz789",
  "dateValue": 1592577642,
  "userValueIds": [
    "5e5677d71bdc2ae76344968c"
  ]
}

Label

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
isShowInPlannedTask - Boolean
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "isShowInPlannedTask": true,
  "priority": 123,
  "isActive": false
}

LabelsPage

Fields
Field Name Description
docs - [Label!]!
pageInfo - PageInfo!
Example
{
  "docs": [Label],
  "pageInfo": PageInfo
}

Language

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
isRTL - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 987,
  "isActive": false,
  "isRTL": true
}

LanguageString

Fields
Field Name Description
code - String
string - String
Example
{
  "code": "xyz789",
  "string": "abc123"
}

LanguageString_Input

Fields
Input Field Description
code - String
string - String
Example
{
  "code": "xyz789",
  "string": "xyz789"
}

Language_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 123,
  "isActive": true
}

LanguagesPage

Fields
Field Name Description
docs - [Language]
pageInfo - PageInfo
Example
{
  "docs": [Language],
  "pageInfo": PageInfo
}

ListOptions

Fields
Input Field Description
sort - String
offset - Int
page - Int
limit - Int
pagination - Boolean
isIncludeDeleted - Boolean
Example
{
  "sort": "abc123",
  "offset": 123,
  "page": 987,
  "limit": 123,
  "pagination": false,
  "isIncludeDeleted": true
}

Manager

Fields
Field Name Description
_id - ObjectID
userId - ObjectID
managerTypeId - String
managerId - String
user - User
manager - User
managerType - ManagerType
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "managerTypeId": "xyz789",
  "managerId": "xyz789",
  "user": User,
  "manager": User,
  "managerType": ManagerType
}

ManagerFeedback

Fields
Field Name Description
_id - ObjectID
rating - Int
observations - [ObjectID]
otherObservation - String
feedbackByUserId - ObjectID
feedbackDate - Timestamp
feedbackByUser - User
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "rating": 987,
  "observations": [
    "5e5677d71bdc2ae76344968c"
  ],
  "otherObservation": "abc123",
  "feedbackByUserId": "5e5677d71bdc2ae76344968c",
  "feedbackDate": 1592577642,
  "feedbackByUser": User
}

ManagerFeedback_Input

Fields
Input Field Description
rating - Int
observations - [ObjectID]
otherObservation - String
feedbackByUserId - ObjectID
feedbackDate - Timestamp
Example
{
  "rating": 123,
  "observations": [
    "5e5677d71bdc2ae76344968c"
  ],
  "otherObservation": "abc123",
  "feedbackByUserId": "5e5677d71bdc2ae76344968c",
  "feedbackDate": 1592577642
}

ManagerType

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 987,
  "isActive": true
}

ManagerTypesPage

Fields
Field Name Description
docs - [ManagerType!]!
pageInfo - PageInfo!
Example
{
  "docs": [ManagerType],
  "pageInfo": PageInfo
}

Master

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 987,
  "isActive": true,
  "isDeleted": false
}

Masters

Fields
Field Name Description
_id - ObjectID
yearsPage - YearsPage
Arguments
params - SearchOptions
options - ListOptions
goalCategoriesPage - GoalCategoriesPage
Arguments
params - SearchOptions
options - ListOptions
trackingStatusesPage - TrackingStatusesPage
Arguments
params - SearchOptions
options - ListOptions
alarmsPage - AlarmsPage
Arguments
params - SearchOptions
options - ListOptions
observationsPage - ObservationsPage
Arguments
params - SearchOptions
options - ListOptions
labelsPage - LabelsPage
Arguments
params - SearchOptions
options - ListOptions
tagsPage - TagsPage
Arguments
params - SearchOptions
options - ListOptions
moduleCategoriesPage - ModuleCategoriesPage
Arguments
params - SearchOptions
options - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearsPage": YearsPage,
  "goalCategoriesPage": GoalCategoriesPage,
  "trackingStatusesPage": TrackingStatusesPage,
  "alarmsPage": AlarmsPage,
  "observationsPage": ObservationsPage,
  "labelsPage": LabelsPage,
  "tagsPage": TagsPage,
  "moduleCategoriesPage": ModuleCategoriesPage
}

Me

Fields
Field Name Description
name - String
firstName - String
lastName - String
email - String
tenants - [Tenant]
Example
{
  "name": "xyz789",
  "firstName": "abc123",
  "lastName": "xyz789",
  "email": "xyz789",
  "tenants": [Tenant]
}

Medal

Fields
Field Name Description
type - String
title - String
text - String
Example
{
  "type": "xyz789",
  "title": "abc123",
  "text": "xyz789"
}

Mention

Fields
Field Name Description
_id - ObjectID
objId - ObjectID
objType - String
objText - String
index - Int
length - Int
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "objId": "5e5677d71bdc2ae76344968c",
  "objType": "abc123",
  "objText": "xyz789",
  "index": 123,
  "length": 123
}

Mention_Input

Fields
Input Field Description
_id - ObjectID
objId - ObjectID
objType - String
objText - String
index - Int
length - Int
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "objId": "5e5677d71bdc2ae76344968c",
  "objType": "xyz789",
  "objText": "abc123",
  "index": 123,
  "length": 123
}

Message

Description

type Reaction { _id: ObjectID reactionType: String userId: ObjectID reactionDate: Timestamp user: User }

type ReactionsPage { docs: [Reaction] pageInfo: PageInfo }

type Share { _id: ObjectID shareByUserId: ObjectID shareToUserId: ObjectID shareDate: Timestamp }

type SharesPage { docs: [Share] pageInfo: PageInfo }

input Mention_Input { _id: ObjectID, objId: ObjectID, objType: String, objText: String, index: Int, length: Int }

type Mention { _id: ObjectID, objId: ObjectID, objType: String, objText: String, index: Int, length: Int }

type MentionsPage { docs: [Mention] pageInfo: PageInfo }

Fields
Field Name Description
_id - ObjectID
conversationId - ObjectID
type - String
parentId - ObjectID
text - String
files - [File]
reactions - [Reaction]
shares - [Share]
mentions - [Mention]
userId - ObjectID
isEdited - Boolean
isDeleted - Boolean
postedDate - Timestamp
messageStatus - [MessageStatus]
updatedDate - Timestamp
deletedDate - Timestamp
conversation - Conversation
parent - Message
user - User
myReaction - Reaction
reactionsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
messagesFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
filesFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
messagesPage - MessagesPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
filesPage - [File]
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
reactionsPage - ReactionsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
sharesPage - SharesPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "conversationId": "5e5677d71bdc2ae76344968c",
  "type": "xyz789",
  "parentId": "5e5677d71bdc2ae76344968c",
  "text": "abc123",
  "files": [File],
  "reactions": [Reaction],
  "shares": [Share],
  "mentions": [Mention],
  "userId": "5e5677d71bdc2ae76344968c",
  "isEdited": false,
  "isDeleted": true,
  "postedDate": 1592577642,
  "messageStatus": [MessageStatus],
  "updatedDate": 1592577642,
  "deletedDate": 1592577642,
  "conversation": Conversation,
  "parent": Message,
  "user": User,
  "myReaction": Reaction,
  "reactionsFacts": [Fact],
  "messagesFacts": [Fact],
  "filesFacts": [Fact],
  "messagesPage": MessagesPage,
  "filesPage": [File],
  "reactionsPage": ReactionsPage,
  "sharesPage": SharesPage
}

MessageStatus

Fields
Field Name Description
userId - ObjectID
status - String
statusDate - Timestamp
Example
{
  "userId": "5e5677d71bdc2ae76344968c",
  "status": "abc123",
  "statusDate": 1592577642
}

Message_Input

Description

input Reaction_Input { reactionType: String userId: ObjectID }

Fields
Input Field Description
conversationId - ObjectID
parentId - ObjectID
text - String
files - [File_Input]
mentions - [Mention_Input]
Example
{
  "conversationId": "5e5677d71bdc2ae76344968c",
  "parentId": "5e5677d71bdc2ae76344968c",
  "text": "xyz789",
  "files": [File_Input],
  "mentions": [Mention_Input]
}

MessagesPage

Fields
Field Name Description
docs - [Message]
pageInfo - PageInfo
Example
{
  "docs": [Message],
  "pageInfo": PageInfo
}

Meta

Fields
Field Name Description
_id - ObjectID
key - String
value - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "key": "abc123",
  "value": "abc123"
}

Meta_Input

Fields
Input Field Description
key - String
value - String
Example
{
  "key": "abc123",
  "value": "abc123"
}

MetasPage

Fields
Field Name Description
docs - [Meta]
pageInfo - PageInfo
Example
{
  "docs": [Meta],
  "pageInfo": PageInfo
}

MileStone

Fields
Field Name Description
_id - ObjectID
what - String
when - Timestamp
whoseUserIds - [ObjectID]
isQuantitative - Boolean
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
whoseUsers - [User]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "what": "xyz789",
  "when": 1592577642,
  "whoseUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "isQuantitative": false,
  "targetFrequency": "abc123",
  "targetUnit": "xyz789",
  "target": "xyz789",
  "quantitativeTarget": 987.65,
  "whoseUsers": [User]
}

MileStone_Input

Fields
Input Field Description
_id - ObjectID
what - String
when - Timestamp
whoseUserIds - [ObjectID]
isQuantitative - Boolean
targetFrequency - String
targetUnit - String
target - String
quantitativeTarget - Float
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "what": "xyz789",
  "when": 1592577642,
  "whoseUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "isQuantitative": true,
  "targetFrequency": "abc123",
  "targetUnit": "xyz789",
  "target": "xyz789",
  "quantitativeTarget": 987.65
}

MilestoneProgress

Fields
Field Name Description
milestoneId - ID
milestone - MileStone
value - Int
Example
{
  "milestoneId": "4",
  "milestone": MileStone,
  "value": 123
}

Module

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 123,
  "isActive": true
}

ModuleCategoriesPage

Fields
Field Name Description
docs - [ModuleCategory]
pageInfo - PageInfo
Example
{
  "docs": [ModuleCategory],
  "pageInfo": PageInfo
}

ModuleCategory

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
modules - [Module]
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "modules": [Module],
  "priority": 987,
  "isActive": false
}

ModuleCategory_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 123,
  "isActive": false
}

Module_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "abc123",
  "keyName": "abc123",
  "priority": 987,
  "isActive": true
}

ModulesPage

Fields
Field Name Description
docs - [Module]
pageInfo - PageInfo
Example
{
  "docs": [Module],
  "pageInfo": PageInfo
}

Notification

Fields
Field Name Description
_id - ObjectID!
userId - ObjectID
termProgramId - ObjectID
notificationDate - Timestamp
messageData - JSONObject
payload - JSONObject
isOpened - Boolean
messageText - String
messageTitle - String
messageUri - String
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "notificationDate": 1592577642,
  "messageData": {},
  "payload": {},
  "isOpened": false,
  "messageText": "abc123",
  "messageTitle": "xyz789",
  "messageUri": "abc123",
  "isActive": true,
  "isDeleted": false
}

Notification_Input

Fields
Input Field Description
userId - ObjectID
termProgramId - ObjectID
payload - JSONObject
isOpened - Boolean
notificationDate - Timestamp
messageData - JSONObject
messageText - String
messageTitle - String
messageUri - String
isActive - Boolean
Example
{
  "userId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "payload": {},
  "isOpened": false,
  "notificationDate": 1592577642,
  "messageData": {},
  "messageText": "xyz789",
  "messageTitle": "xyz789",
  "messageUri": "xyz789",
  "isActive": true
}

NotificationsPage

Fields
Field Name Description
docs - [Notification]
pageInfo - PageInfo!
Example
{
  "docs": [Notification],
  "pageInfo": PageInfo
}

ObjectID

Example
"5e5677d71bdc2ae76344968c"

Observation

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
isShowInPlannedTask - Boolean
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "isShowInPlannedTask": true,
  "priority": 987,
  "isActive": false
}

ObservationsPage

Fields
Field Name Description
docs - [Observation!]!
pageInfo - PageInfo!
Example
{
  "docs": [Observation],
  "pageInfo": PageInfo
}

OrgUnit

Fields
Field Name Description
_id - ObjectID!
name - String
pid - ObjectID
keyName - String
priority - Int
isActive - Boolean
myRootOrg - OrgUnit
childUnitsPage - OrgUnitsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
surveyReportWithPrevSurveyReport - SurveyReport
Arguments
programId - ObjectID
surveyReportFilters - SurveyReportFilters_Input
grpFld - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "pid": "5e5677d71bdc2ae76344968c",
  "keyName": "abc123",
  "priority": 987,
  "isActive": true,
  "myRootOrg": OrgUnit,
  "childUnitsPage": OrgUnitsPage,
  "surveyReportWithPrevSurveyReport": SurveyReport
}

OrgUnit_Input

Fields
Input Field Description
pid - ObjectID
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "pid": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "priority": 123,
  "isActive": true
}

OrgUnitsPage

Fields
Field Name Description
docs - [OrgUnit!]!
pageInfo - PageInfo!
Example
{
  "docs": [OrgUnit],
  "pageInfo": PageInfo
}

Organisation

Fields
Field Name Description
_id - ObjectID!
name - String!
keyName - String!
wesoarDomain - String!
organisationGroup - String
contactPerson - Organisation_Person
registeredAddress - Organisation_Address
website - String
profilePicUrl - String
organisationSize - String
organisationIndustry - String
organisationType - String
organisationStatus - String
yearOfEstablishment - Int
totalRevenue - Int
objectives - String
activationCode - String
contractDetails - [Organisation_ContractDetails]
subscriptions - [Organisation_Subscription]
defaultFieldMapping - String
technicalData - Organisation_TechnicalData
designSetting - Organisation_DesignSetting
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "wesoarDomain": "abc123",
  "organisationGroup": "abc123",
  "contactPerson": Organisation_Person,
  "registeredAddress": Organisation_Address,
  "website": "xyz789",
  "profilePicUrl": "xyz789",
  "organisationSize": "xyz789",
  "organisationIndustry": "xyz789",
  "organisationType": "xyz789",
  "organisationStatus": "abc123",
  "yearOfEstablishment": 123,
  "totalRevenue": 123,
  "objectives": "xyz789",
  "activationCode": "abc123",
  "contractDetails": [Organisation_ContractDetails],
  "subscriptions": [Organisation_Subscription],
  "defaultFieldMapping": "abc123",
  "technicalData": Organisation_TechnicalData,
  "designSetting": Organisation_DesignSetting
}

OrganisationOverviewByDomain

Fields
Field Name Description
id - ObjectID!
name - String!
keyName - String!
wesoarDomain - String!
organisationGroup - String
contactPerson - Organisation_Person
registeredAddress - Organisation_Address
website - String
profilePicUrl - String
organisationSize - String
organisationIndustry - String
organisationType - String
organisationStatus - String
yearOfEstablishment - Int
objectives - String
clientId - String
designSetting - Organisation_DesignSetting
technicalData - Organisation_TechnicalData
Example
{
  "id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "wesoarDomain": "xyz789",
  "organisationGroup": "xyz789",
  "contactPerson": Organisation_Person,
  "registeredAddress": Organisation_Address,
  "website": "xyz789",
  "profilePicUrl": "xyz789",
  "organisationSize": "xyz789",
  "organisationIndustry": "xyz789",
  "organisationType": "xyz789",
  "organisationStatus": "xyz789",
  "yearOfEstablishment": 123,
  "objectives": "xyz789",
  "clientId": "xyz789",
  "designSetting": Organisation_DesignSetting,
  "technicalData": Organisation_TechnicalData
}

OrganisationOverviewByDomainParams

Fields
Input Field Description
wesoarDomain - String
client - String
Example
{
  "wesoarDomain": "xyz789",
  "client": "abc123"
}

Organisation_Address

Fields
Field Name Description
addressLine1 - String
addressLine2 - String
addressLine3 - String
city - String
county - String
country - String
postcode - String
Example
{
  "addressLine1": "xyz789",
  "addressLine2": "xyz789",
  "addressLine3": "abc123",
  "city": "abc123",
  "county": "abc123",
  "country": "abc123",
  "postcode": "xyz789"
}

Organisation_ContractDetails

Fields
Field Name Description
startDate - Timestamp
endDate - Timestamp
commissionDate - Timestamp
billingFrequency - Int
commissionPercentage - Int
plan - String
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "commissionDate": 1592577642,
  "billingFrequency": 123,
  "commissionPercentage": 987,
  "plan": "xyz789"
}

Organisation_DesignSetting

Fields
Field Name Description
splashIcon - String
headerIcon - String
logoIcon - String
primaryColor - String
secondaryColor - String
selectionColor - String
primaryTextColor - String
secondaryTextColor - String
selectionTextColor - String
appTitle - String
appTitleTextColor - String
Example
{
  "splashIcon": "xyz789",
  "headerIcon": "xyz789",
  "logoIcon": "abc123",
  "primaryColor": "xyz789",
  "secondaryColor": "abc123",
  "selectionColor": "abc123",
  "primaryTextColor": "abc123",
  "secondaryTextColor": "abc123",
  "selectionTextColor": "abc123",
  "appTitle": "xyz789",
  "appTitleTextColor": "xyz789"
}

Organisation_Person

Fields
Field Name Description
title - String
firstName - String
middleName - String
lastName - String
designation - String
contactNumber - String
mobileNumber - String
email - String
Example
{
  "title": "abc123",
  "firstName": "xyz789",
  "middleName": "xyz789",
  "lastName": "xyz789",
  "designation": "abc123",
  "contactNumber": "abc123",
  "mobileNumber": "abc123",
  "email": "abc123"
}

Organisation_Subscription

Fields
Field Name Description
startDate - Timestamp
endDate - Timestamp
maxSubscribers - Int
amount - Int
isPaid - Boolean
isCommissionPaid - Boolean
Example
{
  "startDate": 1592577642,
  "endDate": 1592577642,
  "maxSubscribers": 987,
  "amount": 123,
  "isPaid": false,
  "isCommissionPaid": false
}

Organisation_TechnicalData

Fields
Field Name Description
dbConfiguration - Organisation_TechnicalData_DBConfig
sendGridConfiguration - Organisation_TechnicalData_SendGridConfig
awsConfig - Organisation_TechnicalData_AWSConfig
azureConfig - Organisation_TechnicalData_AzureConfig
authType - String
Example
{
  "dbConfiguration": Organisation_TechnicalData_DBConfig,
  "sendGridConfiguration": Organisation_TechnicalData_SendGridConfig,
  "awsConfig": Organisation_TechnicalData_AWSConfig,
  "azureConfig": Organisation_TechnicalData_AzureConfig,
  "authType": "xyz789"
}

Organisation_TechnicalData_AWSConfig

Example
{
  "developerConfig": Organisation_TechnicalData_AWSConfig_DeveloperConfig,
  "cognitoConfig": Organisation_TechnicalData_AWSConfig_CognitoConfig
}

Organisation_TechnicalData_AWSConfig_CognitoConfig

Fields
Field Name Description
apiVersion - String
region - String
userPoolId - String
cognitoClient - [Organisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient]
mfaConfiguration - String
Example
{
  "apiVersion": "xyz789",
  "region": "abc123",
  "userPoolId": "xyz789",
  "cognitoClient": [
    Organisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient
  ],
  "mfaConfiguration": "abc123"
}

Organisation_TechnicalData_AWSConfig_CognitoConfig_CognitoClient

Fields
Field Name Description
clientName - String
clientId - String
clientSecret - String
Example
{
  "clientName": "xyz789",
  "clientId": "abc123",
  "clientSecret": "abc123"
}

Organisation_TechnicalData_AWSConfig_DeveloperConfig

Fields
Field Name Description
accessKeyId - String
secretAccessKey - String
region - String
Example
{
  "accessKeyId": "abc123",
  "secretAccessKey": "abc123",
  "region": "xyz789"
}

Organisation_TechnicalData_AzureConfig

Fields
Field Name Description
authConfig - Organisation_TechnicalData_AzureConfig_AuthConfig
Example
{
  "authConfig": Organisation_TechnicalData_AzureConfig_AuthConfig
}

Organisation_TechnicalData_AzureConfig_AuthConfig

Fields
Field Name Description
iosAuthConfig - String
androidAuthConfig - String
Example
{
  "iosAuthConfig": "abc123",
  "androidAuthConfig": "abc123"
}

Organisation_TechnicalData_DBConfig

Fields
Field Name Description
userName - String
password - String
dbName - String
hostUrl - String
replicas - String
cnnString - String
Example
{
  "userName": "xyz789",
  "password": "abc123",
  "dbName": "abc123",
  "hostUrl": "abc123",
  "replicas": "xyz789",
  "cnnString": "xyz789"
}

Organisation_TechnicalData_SendGridConfig

Fields
Field Name Description
userName - String
password - String
Example
{
  "userName": "xyz789",
  "password": "abc123"
}

Organisations

Fields
Field Name Description
edges - [Organisation!]!
pageInfo - PageInfo!
Example
{
  "edges": [Organisation],
  "pageInfo": PageInfo
}

PageInfo

Fields
Field Name Description
totalDocs - Int
limit - Int
hasPrevPage - Boolean
hasNextPage - Boolean
page - Int
totalPages - Int
offset - Int
prevPage - Int
nextPage - Int
pagingCounter - Int
Example
{
  "totalDocs": 123,
  "limit": 987,
  "hasPrevPage": true,
  "hasNextPage": true,
  "page": 123,
  "totalPages": 987,
  "offset": 987,
  "prevPage": 987,
  "nextPage": 123,
  "pagingCounter": 987
}

Participation

Fields
Field Name Description
user - User
isAdmin - Boolean
participationDate - Timestamp
participationType - String
Example
{
  "user": User,
  "isAdmin": true,
  "participationDate": 1592577642,
  "participationType": "abc123"
}

Participation_Input

Description

type CommentsPage { docs: [Comment] pageInfo: PageInfo }

Fields
Input Field Description
userId - ObjectID
isAdmin - Boolean
Example
{
  "userId": "5e5677d71bdc2ae76344968c",
  "isAdmin": false
}

ParticipationsPage

Fields
Field Name Description
docs - [Participation]
pageInfo - PageInfo
Example
{
  "docs": [Participation],
  "pageInfo": PageInfo
}

PlannedTask

Fields
Field Name Description
_id - ObjectID!
yearId - ObjectID
programId - ObjectID
termProgramId - ObjectID
year - Year
program - Program
assignedToUser - User
assignedByUser - User
approvedByUser - User
trashedByUser - User
assignedDate - Timestamp
updatedDate - Timestamp
submittedDate - Timestamp
approvedDate - Timestamp
trashedDate - Timestamp
deletedDate - Timestamp
plannedTaskType - String
plannedTaskDetail - PlannedTaskDetail
followUps - [FollowUp]
comments - [Comment]
eisenhowerQuadrant - String
managerFeedback - ManagerFeedback
kanbanStageId - ObjectID
kanbanStage - KanbanStage
trackingStatus - String
priority - Int
isActive - Boolean
isDeleted - Boolean
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
comment - Comment
Arguments
_id - ObjectID
views - Int
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "year": Year,
  "program": Program,
  "assignedToUser": User,
  "assignedByUser": User,
  "approvedByUser": User,
  "trashedByUser": User,
  "assignedDate": 1592577642,
  "updatedDate": 1592577642,
  "submittedDate": 1592577642,
  "approvedDate": 1592577642,
  "trashedDate": 1592577642,
  "deletedDate": 1592577642,
  "plannedTaskType": "abc123",
  "plannedTaskDetail": PlannedTaskDetail,
  "followUps": [FollowUp],
  "comments": [Comment],
  "eisenhowerQuadrant": "xyz789",
  "managerFeedback": ManagerFeedback,
  "kanbanStageId": "5e5677d71bdc2ae76344968c",
  "kanbanStage": KanbanStage,
  "trackingStatus": "xyz789",
  "priority": 987,
  "isActive": false,
  "isDeleted": false,
  "commentsPage": CommentsPage,
  "comment": Comment,
  "views": 123
}

PlannedTaskDetail

Fields
Field Name Description
description - String
dueBy - Timestamp
startTime - Timestamp
endTime - Timestamp
alarm - Duration
labels - [String]
taggedUserIds - [ObjectID]
taggedUsers - [User]
Example
{
  "description": "xyz789",
  "dueBy": 1592577642,
  "startTime": 1592577642,
  "endTime": 1592577642,
  "alarm": "P3Y6M4DT12H30M5S",
  "labels": ["xyz789"],
  "taggedUserIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "taggedUsers": [User]
}

PlannedTaskDetail_Input

Fields
Input Field Description
description - String
dueBy - Timestamp
startTime - Timestamp
endTime - Timestamp
alarm - Duration
labels - [String]
taggedUserIds - [ObjectID]
Example
{
  "description": "xyz789",
  "dueBy": 1592577642,
  "startTime": 1592577642,
  "endTime": 1592577642,
  "alarm": "P3Y6M4DT12H30M5S",
  "labels": ["xyz789"],
  "taggedUserIds": [
    "5e5677d71bdc2ae76344968c"
  ]
}

PlannedTaskSetting

Fields
Field Name Description
impactStages - [ImpactStage]
timelineStages - [TimelineStage]
kanbanStages - [KanbanStage]
Example
{
  "impactStages": [ImpactStage],
  "timelineStages": [TimelineStage],
  "kanbanStages": [KanbanStage]
}

PlannedTaskSetting_Input

Fields
Input Field Description
impactStages - [ImpactStage_Input]
timelineStages - [TimelineStage_Input]
kanbanStages - [KanbanStage_Input]
Example
{
  "impactStages": [ImpactStage_Input],
  "timelineStages": [TimelineStage_Input],
  "kanbanStages": [KanbanStage_Input]
}

PlannedTask_Input

Fields
Input Field Description
yearId - ObjectID
termProgramId - ObjectID
programId - ObjectID
trackingStatus - String
kanbanStageId - ObjectID
plannedTaskDetail - PlannedTaskDetail_Input
managerFeedback - ManagerFeedback_Input
approvedDate - Timestamp
comments - [Comment_Input]
Example
{
  "yearId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "trackingStatus": "xyz789",
  "kanbanStageId": "5e5677d71bdc2ae76344968c",
  "plannedTaskDetail": PlannedTaskDetail_Input,
  "managerFeedback": ManagerFeedback_Input,
  "approvedDate": 1592577642,
  "comments": [Comment_Input]
}

PlannedTasksPage

Description

type GoalsPage { docs: [Goal!]! pageInfo: PageInfo! }

Fields
Field Name Description
docs - [PlannedTask]
pageInfo - PageInfo!
Example
{
  "docs": [PlannedTask],
  "pageInfo": PageInfo
}

Program

Fields
Field Name Description
_id - ObjectID!
yearId - ObjectID
programCategoryId - ObjectID
name - String
keyName - String
moduleKeyName - String
moduleCategoryKeyName - String
startDate - Timestamp
endDate - Timestamp
goalSetting - GoalSetting
plannedTaskSetting - PlannedTaskSetting
unplannedTaskSetting - UnplannedTaskSetting
surveySetting - SurveySetting
userFilterRules - [JSONObject]
status - String
programLabels - [String]
priority - Int
isActive - Boolean
isDeleted - Boolean
year - Year
programCategory - ProgramCategory
kanbanStage - KanbanStage
  _id: ObjectID!
  yearId: ObjectID
  year: Year
  moduleKeyName: String

  startDate: Timestamp

endDate: Timestamp

  name: String
  keyName: String
  
  goalSetting: GoalSetting
  plannedTaskSetting: PlannedTaskSetting

unplannedTaskSetting: UnplannedTaskSetting surveySetting: SurveySetting

  priority: Int
  isActive: Boolean
  isDeleted: Boolean
Arguments
keyName - String
impactStage - ImpactStage
Arguments
keyName - String
timelineStage - TimelineStage
Arguments
keyName - String
unplannedImpactStage - ImpactStage
Arguments
keyName - String
previousProgram - Program
surveyReportsPage - SurveyReportsPage!
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
surveyReportsCount - Int
surveyReport - SurveyReport
Arguments
userManagerId - ObjectID
surveyReportFilters - SurveyReportFilters_Input
filterOptions - [FilterOption]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c",
  "programCategoryId": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "moduleKeyName": "xyz789",
  "moduleCategoryKeyName": "abc123",
  "startDate": 1592577642,
  "endDate": 1592577642,
  "goalSetting": GoalSetting,
  "plannedTaskSetting": PlannedTaskSetting,
  "unplannedTaskSetting": UnplannedTaskSetting,
  "surveySetting": SurveySetting,
  "userFilterRules": [{}],
  "status": "xyz789",
  "programLabels": ["xyz789"],
  "priority": 987,
  "isActive": true,
  "isDeleted": false,
  "year": Year,
  "programCategory": ProgramCategory,
  "kanbanStage": KanbanStage,
  "impactStage": ImpactStage,
  "timelineStage": TimelineStage,
  "unplannedImpactStage": ImpactStage,
  "previousProgram": Program,
  "surveyReportsPage": SurveyReportsPage,
  "surveyReportsCount": 123,
  "surveyReport": SurveyReport,
  "filterOptions": [FilterOption]
}

ProgramCategoriesPage

Fields
Field Name Description
docs - [ProgramCategory!]!
pageInfo - PageInfo!
Example
{
  "docs": [ProgramCategory],
  "pageInfo": PageInfo
}

ProgramCategory

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 123,
  "isActive": true
}

ProgramType

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 123,
  "isActive": false
}

ProgramType_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 987,
  "isActive": true
}

ProgramTypesPage

Fields
Field Name Description
docs - [ProgramType]
pageInfo - PageInfo
Example
{
  "docs": [ProgramType],
  "pageInfo": PageInfo
}

Program_Input

Fields
Input Field Description
yearId - ObjectID
programCategoryId - ObjectID
name - String
keyName - String
moduleKeyName - String
moduleCategoryKeyName - String
startDate - Timestamp
endDate - Timestamp
goalSetting - GoalSetting_Input
plannedTaskSetting - PlannedTaskSetting_Input
unplannedTaskSetting - UnplannedTaskSetting_Input
surveySetting - SurveySetting_Input
userFilterRules - [JSONObject]
status - String
programLabels - [String]
priority - Int
isActive - Boolean
Example
{
  "yearId": "5e5677d71bdc2ae76344968c",
  "programCategoryId": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "moduleKeyName": "xyz789",
  "moduleCategoryKeyName": "xyz789",
  "startDate": 1592577642,
  "endDate": 1592577642,
  "goalSetting": GoalSetting_Input,
  "plannedTaskSetting": PlannedTaskSetting_Input,
  "unplannedTaskSetting": UnplannedTaskSetting_Input,
  "surveySetting": SurveySetting_Input,
  "userFilterRules": [{}],
  "status": "abc123",
  "programLabels": ["xyz789"],
  "priority": 123,
  "isActive": true
}

ProgramsPage

Fields
Field Name Description
docs - [Program!]!
pageInfo - PageInfo!
Example
{
  "docs": [Program],
  "pageInfo": PageInfo
}

Progress

Fields
Field Name Description
actualAchievement - String
trackingStatus - String
overallProgress - Int
milestoneProgress - [MilestoneProgress]
updatedDate - Timestamp
Example
{
  "actualAchievement": "abc123",
  "trackingStatus": "abc123",
  "overallProgress": 987,
  "milestoneProgress": [MilestoneProgress],
  "updatedDate": 1592577642
}

Question

Fields
Field Name Description
_id - ObjectID
name - String
keyName - String
title - String
questionText - String
questionType - String
surveyQuestionFactorId - ObjectID
surveyTypeId - ObjectID
surveyFactor - String
answerOptions - [SurveyAnswerOption]
surveyLibraryIds - [ObjectID]
languageStrings - [LanguageString]
isIndex - Boolean
weightage - Int
aliases - [Alias]
isMandatory - Boolean
isValidated - Boolean
priority - Int
isActive - Boolean
isDeleted - Boolean
surveyQuestionFactor - SurveyQuestionFactor
surveyType - SurveyType
surveyLibraries - [SurveyLibrary]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "title": "xyz789",
  "questionText": "abc123",
  "questionType": "xyz789",
  "surveyQuestionFactorId": "5e5677d71bdc2ae76344968c",
  "surveyTypeId": "5e5677d71bdc2ae76344968c",
  "surveyFactor": "xyz789",
  "answerOptions": [SurveyAnswerOption],
  "surveyLibraryIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "languageStrings": [LanguageString],
  "isIndex": false,
  "weightage": 123,
  "aliases": [Alias],
  "isMandatory": true,
  "isValidated": false,
  "priority": 123,
  "isActive": false,
  "isDeleted": false,
  "surveyQuestionFactor": SurveyQuestionFactor,
  "surveyType": SurveyType,
  "surveyLibraries": [SurveyLibrary]
}

Question_Input

Fields
Input Field Description
name - String
keyName - String
title - String
questionText - String
questionType - String
surveyQuestionFactorId - ObjectID
surveyTypeId - ObjectID
surveyFactor - String
answerOptions - [SurveyAnswerOption_Input]
surveyLibraryIds - [ObjectID]
languageStrings - [LanguageString_Input]
isIndex - Boolean
weightage - Int
aliases - [Alias_Input]
isMandatory - Boolean
isValidated - Boolean
priority - Int
isActive - Boolean
isDeleted - Boolean
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "title": "xyz789",
  "questionText": "xyz789",
  "questionType": "abc123",
  "surveyQuestionFactorId": "5e5677d71bdc2ae76344968c",
  "surveyTypeId": "5e5677d71bdc2ae76344968c",
  "surveyFactor": "abc123",
  "answerOptions": [SurveyAnswerOption_Input],
  "surveyLibraryIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "languageStrings": [LanguageString_Input],
  "isIndex": false,
  "weightage": 987,
  "aliases": [Alias_Input],
  "isMandatory": false,
  "isValidated": false,
  "priority": 123,
  "isActive": false,
  "isDeleted": true
}

RankWithGap

Fields
Field Name Description
managersCount - Int
rank - Int
gap - Float
Example
{"managersCount": 123, "rank": 123, "gap": 123.45}

Reaction

Fields
Field Name Description
_id - ObjectID
reactionType - String
userId - ObjectID
reactionDate - Timestamp
user - User
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "reactionType": "abc123",
  "userId": "5e5677d71bdc2ae76344968c",
  "reactionDate": 1592577642,
  "user": User
}

Reaction_Input

Fields
Input Field Description
reactionType - String
userId - ObjectID
Example
{
  "reactionType": "xyz789",
  "userId": "5e5677d71bdc2ae76344968c"
}

ReactionsPage

Fields
Field Name Description
docs - [Reaction!]!
pageInfo - PageInfo!
Example
{
  "docs": [Reaction],
  "pageInfo": PageInfo
}

Relevance

Description

type MileStone { _id: ObjectID what: String when: Timestamp whoseUsers: [User] progressByEmp(checkInId: ObjectID): MilestoneProgress progressByManager(checkInId: ObjectID): MilestoneProgress }

type GoalDetail { goalCategory: GoalCategory description: String weightage: Int target: String dueBy: Timestamp taggedUsers: [User] milestones: [MileStone] }

Fields
Field Name Description
value - String
updatedDate - Timestamp
Example
{
  "value": "xyz789",
  "updatedDate": 1592577642
}

RemoveAttendanceLogOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

RemoveAttendanceLogParams

Fields
Input Field Description
termProgramId - ObjectID
userId - ObjectID
attendanceLogId - ObjectID
Example
{
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "attendanceLogId": "5e5677d71bdc2ae76344968c"
}

RemoveAttendancesOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemoveAttendancesParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RemoveAttendancesPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

RemoveCommentReactionParams

Fields
Input Field Description
commentId - ObjectID
reactionId - ObjectID
Example
{
  "commentId": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c"
}

RemoveGoalAppraisalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemoveGoalAppraisalParams

Fields
Input Field Description
goalId - ObjectID
goalAppraisalId - ObjectID
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalAppraisalId": "5e5677d71bdc2ae76344968c"
}

RemoveGoalCheckInOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

RemoveGoalCheckInParams

Fields
Input Field Description
goalId - ObjectID
goalCheckInId - ObjectID
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalCheckInId": "5e5677d71bdc2ae76344968c"
}

RemoveGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemoveGoalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RemoveGoalsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

RemoveMessageReactionParams

Fields
Input Field Description
messageId - ObjectID
reactionId - ObjectID
Example
{
  "messageId": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c"
}

RemoveNotificationsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemoveNotificationsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RemoveNotificationsPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

RemovePlannedTaskFollowUpOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemovePlannedTaskFollowUpParams

Fields
Input Field Description
_id - ObjectID
reactionId - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c"
}

RemovePlannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

RemovePlannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RemovePlannedTasksPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 123}

RemoveUnplannedTaskReactionOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemoveUnplannedTaskReactionParams

Fields
Input Field Description
_id - ObjectID
reactionId - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c"
}

RemoveUnplannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RemoveUnplannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RemoveUnplannedTasksPayload

Fields
Field Name Description
recordsDeleted - Int
Example
{"recordsDeleted": 987}

Report

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
isRTL - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "priority": 123,
  "isActive": true,
  "isRTL": true
}

Report_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 987,
  "isActive": true
}

ReportsPage

Fields
Field Name Description
docs - [Report]
pageInfo - PageInfo
Example
{
  "docs": [Report],
  "pageInfo": PageInfo
}

ResendEmailCodePayload

Fields
Field Name Description
codeDeliveryDetails - CodeDeliveryDetails
Example
{"codeDeliveryDetails": CodeDeliveryDetails}

ResendMobileNumberCodePayload

Fields
Field Name Description
codeDeliveryDetails - CodeDeliveryDetails
Example
{"codeDeliveryDetails": CodeDeliveryDetails}

ResetPasswordOnFirstLoginOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

ResetPasswordOnFirstLoginParams

Fields
Input Field Description
userName - String
newPassword - String
session - String
Example
{
  "userName": "xyz789",
  "newPassword": "xyz789",
  "session": "abc123"
}

ResponseByCheckIn

Fields
Field Name Description
checkInId - ObjectID
managerTypeId - ObjectID
userManagerId - ObjectID
ratingStatus - String
scaleAnswer - Int
textAnswer - String
intAnswer - Int
floatAnswer - Float
booleanAnswer - Boolean
managerType - ManagerType
userManager - User
checkIn - CheckIn
Example
{
  "checkInId": "5e5677d71bdc2ae76344968c",
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c",
  "ratingStatus": "xyz789",
  "scaleAnswer": 987,
  "textAnswer": "abc123",
  "intAnswer": 987,
  "floatAnswer": 123.45,
  "booleanAnswer": false,
  "managerType": ManagerType,
  "userManager": User,
  "checkIn": CheckIn
}

RestoreGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RestoreGoalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RestoreGoalsPayload

Fields
Field Name Description
goalsUpdated - [String]
goalsNotUpdated - [String]
Example
{
  "goalsUpdated": ["xyz789"],
  "goalsNotUpdated": ["abc123"]
}

RestorePlannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

RestorePlannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RestorePlannedTasksPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 987}

RestoreUnplannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

RestoreUnplannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

RestoreUnplannedTasksPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 987}

Role

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
parentRoleKeyName - String
ability - [Ability]
features - [String]
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "parentRoleKeyName": "abc123",
  "ability": [Ability],
  "features": ["xyz789"],
  "priority": 987,
  "isActive": true
}

RolesPage

Fields
Field Name Description
docs - [Role!]!
pageInfo - PageInfo!
Example
{
  "docs": [Role],
  "pageInfo": PageInfo
}

RootOptions

Fields
Input Field Description
rootId - ObjectID
rootType - String
fldName - String
isLinear - Boolean
Example
{
  "rootId": "5e5677d71bdc2ae76344968c",
  "rootType": "xyz789",
  "fldName": "xyz789",
  "isLinear": false
}

ScaleResponseSummary

Fields
Field Name Description
ratingScaleValue - Int
count - Int
Example
{"ratingScaleValue": 987, "count": 123}

SearchOptions

Fields
Input Field Description
parentId - ObjectID user.approvedGoals:- programTermId user.draftGoals:- programTermId user.trashedGoals:- programTermId user.taggedGoals:- programTermId
refParentId - ObjectID
search - JSONString
Example
{
  "parentId": "5e5677d71bdc2ae76344968c",
  "refParentId": "5e5677d71bdc2ae76344968c",
  "search": JSONString
}

Sentiment

Fields
Field Name Description
sentiment - String
wordCloudWords - [WordCloudWord]
Example
{
  "sentiment": "xyz789",
  "wordCloudWords": [WordCloudWord]
}

Share

Fields
Field Name Description
_id - ObjectID
shareByUserId - ObjectID
shareToUserId - ObjectID
shareDate - Timestamp
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "shareByUserId": "5e5677d71bdc2ae76344968c",
  "shareToUserId": "5e5677d71bdc2ae76344968c",
  "shareDate": 1592577642
}

Share_Input

Fields
Input Field Description
shareByUserId - ObjectID
shareToUserId - ObjectID
shareDate - Timestamp
Example
{
  "shareByUserId": "5e5677d71bdc2ae76344968c",
  "shareToUserId": "5e5677d71bdc2ae76344968c",
  "shareDate": 1592577642
}

SharesPage

Fields
Field Name Description
docs - [Share!]!
pageInfo - PageInfo!
Example
{
  "docs": [Share],
  "pageInfo": PageInfo
}

SignInOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

SignInParams

Fields
Input Field Description
userName - String
password - String
Example
{
  "userName": "abc123",
  "password": "abc123"
}

SignInPayload

Fields
Field Name Description
tokens - Tokens
challenge - Challenge
Example
{
  "tokens": Tokens,
  "challenge": Challenge
}

StartSurveyOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

StartSurveyParams

Fields
Input Field Description
surveySpecimenId - ObjectID
Example
{
  "surveySpecimenId": "5e5677d71bdc2ae76344968c"
}

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"abc123"

SubscribeCommunityGoalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

SubscribeCommunityGoalParams

Fields
Input Field Description
communityGoalId - ObjectID
Example
{
  "communityGoalId": "5e5677d71bdc2ae76344968c"
}

SubscribeCommunityGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

SubscribeCommunityGoalsParams

Fields
Input Field Description
communityGoalIds - [ObjectID]
userIds - [ObjectID]
Example
{
  "communityGoalIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "userIds": ["5e5677d71bdc2ae76344968c"]
}

SubscriptionsPage

Fields
Field Name Description
docs - [Participation]
pageInfo - PageInfo
Example
{
  "docs": [Participation],
  "pageInfo": PageInfo
}

SupportTicket

Fields
Field Name Description
_id - ObjectID!
userId - ObjectID
ticketType - String
comments - [Comment]
ticketStatus - String
priority - Int
isActive - Boolean
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "ticketType": "xyz789",
  "comments": [Comment],
  "ticketStatus": "xyz789",
  "priority": 987,
  "isActive": true,
  "commentsPage": CommentsPage
}

SupportTicketsPage

Fields
Field Name Description
docs - [SupportTicket!]!
pageInfo - PageInfo!
Example
{
  "docs": [SupportTicket],
  "pageInfo": PageInfo
}

SurveyAnswerCategoriesPage

Fields
Field Name Description
docs - [SurveyAnswerCategory]
pageInfo - PageInfo
Example
{
  "docs": [SurveyAnswerCategory],
  "pageInfo": PageInfo
}

SurveyAnswerCategory

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
color - String
percentage - Float
Arguments
programId - ObjectID
userManagerId - ObjectID
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "color": "abc123",
  "percentage": 987.65,
  "priority": 123,
  "isActive": true
}

SurveyAnswerCategory_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
percentage - Float
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 123,
  "isActive": true,
  "percentage": 123.45
}

SurveyAnswerOption

Fields
Field Name Description
_id - ObjectID
keyName - String
name - String
min - Float
max - Float
value - Int
grade - String
surveyAnswerCategoryId - ObjectID
answerOptionType - String
languageStrings - [LanguageString]
priority - Int
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "keyName": "xyz789",
  "name": "abc123",
  "min": 123.45,
  "max": 987.65,
  "value": 123,
  "grade": "xyz789",
  "surveyAnswerCategoryId": "5e5677d71bdc2ae76344968c",
  "answerOptionType": "xyz789",
  "languageStrings": [LanguageString],
  "priority": 987,
  "isActive": false,
  "isDeleted": false
}

SurveyAnswerOption_Input

Fields
Input Field Description
keyName - String
name - String
value - Int
surveyAnswerCategoryId - ObjectID
answerOptionType - String
languageStrings - [LanguageString_Input]
priority - Int
isActive - Boolean
Example
{
  "keyName": "abc123",
  "name": "abc123",
  "value": 987,
  "surveyAnswerCategoryId": "5e5677d71bdc2ae76344968c",
  "answerOptionType": "abc123",
  "languageStrings": [LanguageString_Input],
  "priority": 123,
  "isActive": false
}

SurveyFrontend

Fields
Field Name Description
welcomeTitle - String
welcomeMsg - String
welcomeImg - String
finishTitle - String
finishMsg - String
finishImg - String
isShuffle - Boolean
isUseFactorNameAsTitle - Boolean
leftLogo - String
centerLogo - String
rightLogo - String
layout - String
inputType - String
isAllowReview - Boolean
fixTopHeaderContent - String
theme - Theme
Example
{
  "welcomeTitle": "abc123",
  "welcomeMsg": "xyz789",
  "welcomeImg": "abc123",
  "finishTitle": "abc123",
  "finishMsg": "xyz789",
  "finishImg": "xyz789",
  "isShuffle": false,
  "isUseFactorNameAsTitle": true,
  "leftLogo": "xyz789",
  "centerLogo": "abc123",
  "rightLogo": "xyz789",
  "layout": "abc123",
  "inputType": "abc123",
  "isAllowReview": false,
  "fixTopHeaderContent": "abc123",
  "theme": Theme
}

SurveyFrontend_Input

Fields
Input Field Description
welcomeTitle - String
welcomeMsg - String
welcomeImg - String
finishTitle - String
finishMsg - String
finishImg - String
isShuffle - Boolean
isUseFactorNameAsTitle - Boolean
leftLogo - String
centerLogo - String
rightLogo - String
layout - String
inputType - String
isAllowReview - Boolean
fixTopHeaderContent - String
theme - Theme_Input
Example
{
  "welcomeTitle": "xyz789",
  "welcomeMsg": "abc123",
  "welcomeImg": "abc123",
  "finishTitle": "abc123",
  "finishMsg": "xyz789",
  "finishImg": "abc123",
  "isShuffle": false,
  "isUseFactorNameAsTitle": true,
  "leftLogo": "xyz789",
  "centerLogo": "xyz789",
  "rightLogo": "xyz789",
  "layout": "xyz789",
  "inputType": "abc123",
  "isAllowReview": false,
  "fixTopHeaderContent": "xyz789",
  "theme": Theme_Input
}

SurveyLibrariesPage

Fields
Field Name Description
docs - [SurveyLibrary!]!
pageInfo - PageInfo!
Example
{
  "docs": [SurveyLibrary],
  "pageInfo": PageInfo
}

SurveyLibrary

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
version - String
isSystem - Boolean
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "xyz789",
  "version": "abc123",
  "isSystem": true,
  "priority": 123,
  "isActive": true
}

SurveyQuestion

Fields
Field Name Description
_id - ObjectID!
surveyLibraryQuestionId - ObjectID
question - Question
responseBySpecimenKey - SurveyResponse
Arguments
specimenKey - String
responseBySpecimenId - SurveyResponse
Arguments
surveySpecimenId - ObjectID
isLibraryQuestion - Boolean
conversion - Float
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
stdDev - Float
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
countResponses - Int
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
scaleResponseSummary - [ScaleResponseSummary]
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
responsesByCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
sentiments - [Sentiment]
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
summary - [String]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "surveyLibraryQuestionId": "5e5677d71bdc2ae76344968c",
  "question": Question,
  "responseBySpecimenKey": SurveyResponse,
  "responseBySpecimenId": SurveyResponse,
  "isLibraryQuestion": false,
  "conversion": 123.45,
  "stdDev": 987.65,
  "countResponses": 123,
  "scaleResponseSummary": [ScaleResponseSummary],
  "responsesByCheckInId": [ResponseByCheckIn],
  "sentiments": [Sentiment],
  "summary": ["xyz789"]
}

SurveyQuestionFactor

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
conversion - Float
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
stdDev - Float
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
countQuestions - Int
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
surveyAnswerCategories - [SurveyAnswerCategory]
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
overallRankWithGap - RankWithGap
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
overallRank - Int
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
overallGap - Float
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
wordCloudWords - [WordCloudWord]
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
sentiments - [Sentiment]
Arguments
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
surveyAnswerCompositions - [SurveyAnswerCategory]
summary - [String]
responsesByCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
responsesTillCheckInId - [ResponseByCheckIn]
Arguments
checkInId - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "priority": 123,
  "isActive": false,
  "conversion": 987.65,
  "stdDev": 123.45,
  "countQuestions": 987,
  "surveyAnswerCategories": [SurveyAnswerCategory],
  "overallRankWithGap": RankWithGap,
  "overallRank": 123,
  "overallGap": 123.45,
  "wordCloudWords": [WordCloudWord],
  "sentiments": [Sentiment],
  "surveyAnswerCompositions": [SurveyAnswerCategory],
  "summary": ["xyz789"],
  "responsesByCheckInId": [ResponseByCheckIn],
  "responsesTillCheckInId": [ResponseByCheckIn]
}

SurveyQuestionFactor_Input

Fields
Input Field Description
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 987,
  "isActive": false
}

SurveyQuestionFactorsPage

Fields
Field Name Description
docs - [SurveyQuestionFactor!]!
pageInfo - PageInfo!
Example
{
  "docs": [SurveyQuestionFactor],
  "pageInfo": PageInfo
}

SurveyQuestion_Input

Fields
Input Field Description
programId - ObjectID
assignDate - Timestamp
deAssignDate - Timestamp
isActive - Boolean
Example
{
  "programId": "5e5677d71bdc2ae76344968c",
  "assignDate": 1592577642,
  "deAssignDate": 1592577642,
  "isActive": true
}

SurveyQuestionsPage

Fields
Field Name Description
docs - [SurveyQuestion]
pageInfo - PageInfo
Example
{
  "docs": [SurveyQuestion],
  "pageInfo": PageInfo
}

SurveyReport

Fields
Field Name Description
reportMode - String
programId - ObjectID
userManagerId - ObjectID
orgUnitId - ObjectID
filters - SurveyReportFilters
grpFld - String
options - SurveyReportOptions
program - Program
previousProgram - Program
myEngReport - [EngReport]
myPrevEngReport - [EngReport]
myDDEngReport - [EngReport]
myDDPrevEngReport - [EngReport]
deptEngReport - [EngReport]
deptPrevEngReport - [EngReport]
deptDDEngReport - [EngReport]
deptDDPrevEngReport - [EngReport]
orgDDEngReport - [EngReport]
orgDDPrevEngReport - [EngReport]
Example
{
  "reportMode": "abc123",
  "programId": "5e5677d71bdc2ae76344968c",
  "userManagerId": "5e5677d71bdc2ae76344968c",
  "orgUnitId": "5e5677d71bdc2ae76344968c",
  "filters": SurveyReportFilters,
  "grpFld": "xyz789",
  "options": SurveyReportOptions,
  "program": Program,
  "previousProgram": Program,
  "myEngReport": [EngReport],
  "myPrevEngReport": [EngReport],
  "myDDEngReport": [EngReport],
  "myDDPrevEngReport": [EngReport],
  "deptEngReport": [EngReport],
  "deptPrevEngReport": [EngReport],
  "deptDDEngReport": [EngReport],
  "deptDDPrevEngReport": [EngReport],
  "orgDDEngReport": [EngReport],
  "orgDDPrevEngReport": [EngReport]
}

SurveyReportFilters

Fields
Field Name Description
specimenFilter - JSONString
resFilter - JSONString
userFilter - JSONString
quesFilter - JSONString
Example
{
  "specimenFilter": JSONString,
  "resFilter": JSONString,
  "userFilter": JSONString,
  "quesFilter": JSONString
}

SurveyReportFilters_Input

Fields
Input Field Description
specimenFilter - JSONString
resFilter - JSONString
userFilter - JSONString
quesFilter - JSONString
Example
{
  "specimenFilter": JSONString,
  "resFilter": JSONString,
  "userFilter": JSONString,
  "quesFilter": JSONString
}

SurveyReportOptions

Fields
Field Name Description
isSurveyScore - Boolean
isExtendedScore - Boolean
reportType - String
isSurveyStrength - Boolean
isFWSurveyStrength - Boolean
isSurveyComposition - Boolean
isFWSurveyComposition - Boolean
isFWSurveyScore - Boolean
isOrgReport - Boolean
isOrgUnitWise - Boolean
isFWText - Boolean
isQWText - Boolean
isOverallText - Boolean
Example
{
  "isSurveyScore": false,
  "isExtendedScore": false,
  "reportType": "xyz789",
  "isSurveyStrength": false,
  "isFWSurveyStrength": true,
  "isSurveyComposition": false,
  "isFWSurveyComposition": true,
  "isFWSurveyScore": true,
  "isOrgReport": true,
  "isOrgUnitWise": true,
  "isFWText": true,
  "isQWText": false,
  "isOverallText": false
}

SurveyReportOptions_Input

Fields
Input Field Description
isSurveyScore - Boolean
isExtendedScore - Boolean
reportType - String
isSurveyStrength - Boolean
isFWSurveyStrength - Boolean
isSurveyComposition - Boolean
isFWSurveyComposition - Boolean
isFWSurveyScore - Boolean
isOrgReport - Boolean
isOrgUnitWise - Boolean
isFWText - Boolean
isQWText - Boolean
isOverallText - Boolean
Example
{
  "isSurveyScore": true,
  "isExtendedScore": true,
  "reportType": "xyz789",
  "isSurveyStrength": false,
  "isFWSurveyStrength": false,
  "isSurveyComposition": false,
  "isFWSurveyComposition": true,
  "isFWSurveyScore": false,
  "isOrgReport": true,
  "isOrgUnitWise": false,
  "isFWText": false,
  "isQWText": false,
  "isOverallText": true
}

SurveyReportsPage

Fields
Field Name Description
docs - [SurveyReport]
pageInfo - PageInfo
Example
{
  "docs": [SurveyReport],
  "pageInfo": PageInfo
}

SurveyResponse

Fields
Field Name Description
_id - ObjectID
surveyForUserId - ObjectID
surveyQuestionId - ObjectID
choiceAnswers - [String]
scaleAnswer - Int
textAnswer - String
isNotApplicable - Boolean!
remark - String
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "surveyForUserId": "5e5677d71bdc2ae76344968c",
  "surveyQuestionId": "5e5677d71bdc2ae76344968c",
  "choiceAnswers": ["abc123"],
  "scaleAnswer": 987,
  "textAnswer": "abc123",
  "isNotApplicable": true,
  "remark": "xyz789",
  "isActive": true,
  "isDeleted": true
}

SurveyResponse_Input

Fields
Input Field Description
surveyForUserId - ObjectID
surveySpecimenId - ObjectID
surveyQuestionId - ObjectID
choiceAnswers - [String]
scaleAnswer - Int
textAnswer - String
isNotApplicable - Boolean!
remark - String
isActive - Boolean
isDeleted - Boolean
Example
{
  "surveyForUserId": "5e5677d71bdc2ae76344968c",
  "surveySpecimenId": "5e5677d71bdc2ae76344968c",
  "surveyQuestionId": "5e5677d71bdc2ae76344968c",
  "choiceAnswers": ["xyz789"],
  "scaleAnswer": 123,
  "textAnswer": "xyz789",
  "isNotApplicable": false,
  "remark": "xyz789",
  "isActive": true,
  "isDeleted": true
}

SurveyResponsesPage

Fields
Field Name Description
docs - [SurveyResponse]
pageInfo - PageInfo
Example
{
  "docs": [SurveyResponse],
  "pageInfo": PageInfo
}

SurveySetting

Fields
Field Name Description
isClosed - Boolean
snapshotCat - String
surveyCat - String
isShuffle - Boolean
surveyStatus - String
ratingScale - [SurveyAnswerOption]
managerReportThreshold - Int
defaultSurveyAnswerCategoryId - ObjectID
defaultRating - String
surveyFrontend - SurveyFrontend
Example
{
  "isClosed": false,
  "snapshotCat": "xyz789",
  "surveyCat": "abc123",
  "isShuffle": false,
  "surveyStatus": "abc123",
  "ratingScale": [SurveyAnswerOption],
  "managerReportThreshold": 987,
  "defaultSurveyAnswerCategoryId": "5e5677d71bdc2ae76344968c",
  "defaultRating": "xyz789",
  "surveyFrontend": SurveyFrontend
}

SurveySetting_Input

Fields
Input Field Description
isClosed - Boolean
snapshotCat - String
surveyCat - String
surveyStatus - String
ratingScale - [SurveyAnswerOption_Input]
managerReportThreshold - Int
defaultSurveyAnswerCategoryId - ObjectID
defaultRating - String
surveyFrontend - SurveyFrontend_Input
Example
{
  "isClosed": false,
  "snapshotCat": "abc123",
  "surveyCat": "xyz789",
  "surveyStatus": "xyz789",
  "ratingScale": [SurveyAnswerOption_Input],
  "managerReportThreshold": 123,
  "defaultSurveyAnswerCategoryId": "5e5677d71bdc2ae76344968c",
  "defaultRating": "xyz789",
  "surveyFrontend": SurveyFrontend_Input
}

SurveySpecimen

Fields
Field Name Description
_id - ObjectID
programId - ObjectID
program - Program
userId - ObjectID
user - User
isOpen - Boolean
isActive - Boolean
responses - [SurveyResponse]
surveyQuestions - [SurveyQuestion]
surveySpecimenKey - String
participants - [User]
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "program": Program,
  "userId": "5e5677d71bdc2ae76344968c",
  "user": User,
  "isOpen": true,
  "isActive": true,
  "responses": [SurveyResponse],
  "surveyQuestions": [SurveyQuestion],
  "surveySpecimenKey": "xyz789",
  "participants": [User]
}

SurveySpecimen_Input

Fields
Input Field Description
programId - ObjectID
assignDate - Timestamp
deAssignDate - Timestamp
isActive - Boolean
Example
{
  "programId": "5e5677d71bdc2ae76344968c",
  "assignDate": 1592577642,
  "deAssignDate": 1592577642,
  "isActive": true
}

SurveySpecimensPage

Fields
Field Name Description
docs - [SurveySpecimen]
pageInfo - PageInfo
Example
{
  "docs": [SurveySpecimen],
  "pageInfo": PageInfo
}

SurveyType

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "priority": 987,
  "isActive": false
}

SurveyTypesPage

Fields
Field Name Description
docs - [SurveyType!]!
pageInfo - PageInfo!
Example
{
  "docs": [SurveyType],
  "pageInfo": PageInfo
}

Tag

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
type - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "xyz789",
  "keyName": "abc123",
  "type": "abc123",
  "priority": 123,
  "isActive": true
}

TagsPage

Fields
Field Name Description
docs - [Tag!]!
pageInfo - PageInfo!
Example
{
  "docs": [Tag],
  "pageInfo": PageInfo
}

Tenant

Fields
Field Name Description
id - String
clientId - String
tenantId - String
countryCode - String
displayName - String
tenantCategory - String
defaultDomain - String
wesoarDomain - String
tenantType - String
isExist - Boolean
designSetting - Organisation_DesignSetting
params - JSONObject
Example
{
  "id": "xyz789",
  "clientId": "xyz789",
  "tenantId": "xyz789",
  "countryCode": "abc123",
  "displayName": "xyz789",
  "tenantCategory": "abc123",
  "defaultDomain": "xyz789",
  "wesoarDomain": "xyz789",
  "tenantType": "xyz789",
  "isExist": true,
  "designSetting": Organisation_DesignSetting,
  "params": {}
}

Term

Fields
Field Name Description
_id - ObjectID
yearId - ObjectID
year - Year
termModuleCategories - [TermModuleCategory]
termModuleCategoriesPage - TermModuleCategoriesPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c",
  "year": Year,
  "termModuleCategories": [TermModuleCategory],
  "termModuleCategoriesPage": TermModuleCategoriesPage
}

TermModule

Fields
Field Name Description
_id - ObjectID
keyName - String
termPrograms - [TermProgram]
termProgramsPage - TermProgramsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "keyName": "xyz789",
  "termPrograms": [TermProgram],
  "termProgramsPage": TermProgramsPage
}

TermModuleCategoriesPage

Fields
Field Name Description
docs - [TermModuleCategory]
pageInfo - PageInfo
Example
{
  "docs": [TermModuleCategory],
  "pageInfo": PageInfo
}

TermModuleCategory

Fields
Field Name Description
_id - ObjectID
keyName - String
termModules - [TermModule]
termModulesPage - TermModulesPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "keyName": "xyz789",
  "termModules": [TermModule],
  "termModulesPage": TermModulesPage
}

TermModulesPage

Fields
Field Name Description
docs - [TermModule]
pageInfo - PageInfo
Example
{
  "docs": [TermModule],
  "pageInfo": PageInfo
}

TermProgram

Fields
Field Name Description
_id - ObjectID
name - String!
userId - ObjectID
programId - ObjectID
assignDate - Timestamp
deAssignDate - Timestamp
isOpen - Boolean
isActive - Boolean
isDeleted - Boolean
user - User
program - Program
myCompanyGoalsPage - CommunityGoalsPage
Arguments
search - JSONString
listOptions - ListOptions
myCommunityGoalsPage - CommunityGoalsPage
Arguments
search - JSONString
listOptions - ListOptions
approvedGoalsPage - GoalsPage
Arguments
search - JSONString
listOptions - ListOptions
withObstacleGoalsPage - GoalsPage
Arguments
search - JSONString
listOptions - ListOptions
draftGoalsPage - GoalsPage
Arguments
search - JSONString
listOptions - ListOptions
trashedGoalsPage - GoalsPage
Arguments
search - JSONString
listOptions - ListOptions
taggedGoalsPage - GoalsPage
Arguments
search - JSONString
listOptions - ListOptions
checkInGoalsPage - GoalsPage
Arguments
search - JSONString
listOptions - ListOptions
approvedGoalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
draftGoalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
trashedGoalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
taggedGoalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
submittedGoalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
goalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
plannedTasksPage - PlannedTasksPage
Arguments
search - JSONString
listOptions - ListOptions
plannedTasksFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
taggedPlannedTasksPage - PlannedTasksPage
Arguments
search - JSONString
listOptions - ListOptions
taggedPlannedTasksFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
unplannedTasksPage - UnplannedTasksPage
Arguments
search - JSONString
listOptions - ListOptions
unplannedTasksFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
attendancesPage - AttendancesPage
Arguments
search - JSONString
listOptions - ListOptions
attendancesFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
checkInsPage - CheckInsPage!
Arguments
search - JSONString
listOptions - ListOptions
checkInsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
appraisalsPage - AppraisalsPage!
Arguments
search - JSONString
listOptions - ListOptions
appraisalsFacts - [Fact]
Arguments
search - JSONString
factsOptions - FactOptions
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "userId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "assignDate": 1592577642,
  "deAssignDate": 1592577642,
  "isOpen": false,
  "isActive": false,
  "isDeleted": true,
  "user": User,
  "program": Program,
  "myCompanyGoalsPage": CommunityGoalsPage,
  "myCommunityGoalsPage": CommunityGoalsPage,
  "approvedGoalsPage": GoalsPage,
  "withObstacleGoalsPage": GoalsPage,
  "draftGoalsPage": GoalsPage,
  "trashedGoalsPage": GoalsPage,
  "taggedGoalsPage": GoalsPage,
  "checkInGoalsPage": GoalsPage,
  "approvedGoalsFacts": [Fact],
  "draftGoalsFacts": [Fact],
  "trashedGoalsFacts": [Fact],
  "taggedGoalsFacts": [Fact],
  "submittedGoalsFacts": [Fact],
  "goalsFacts": [Fact],
  "plannedTasksPage": PlannedTasksPage,
  "plannedTasksFacts": [Fact],
  "taggedPlannedTasksPage": PlannedTasksPage,
  "taggedPlannedTasksFacts": [Fact],
  "unplannedTasksPage": UnplannedTasksPage,
  "unplannedTasksFacts": [Fact],
  "attendancesPage": AttendancesPage,
  "attendancesFacts": [Fact],
  "checkInsPage": CheckInsPage,
  "checkInsFacts": [Fact],
  "appraisalsPage": AppraisalsPage,
  "appraisalsFacts": [Fact]
}

TermProgram_Input

Fields
Input Field Description
name - String!
userId - ObjectID
programId - ObjectID
assignDate - Timestamp
deAssignDate - Timestamp
isOpen - Boolean
isActive - Boolean
isDeleted - Boolean
Example
{
  "name": "xyz789",
  "userId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "assignDate": 1592577642,
  "deAssignDate": 1592577642,
  "isOpen": false,
  "isActive": false,
  "isDeleted": false
}

TermProgramsPage

Fields
Field Name Description
docs - [TermProgram!]!
pageInfo - PageInfo!
Example
{
  "docs": [TermProgram],
  "pageInfo": PageInfo
}

TermsPage

Fields
Field Name Description
docs - [Term]
pageInfo - PageInfo
Example
{
  "docs": [Term],
  "pageInfo": PageInfo
}

Theme

Fields
Field Name Description
css - String
colors - JSONObject
images - JSONObject
Example
{
  "css": "xyz789",
  "colors": {},
  "images": {}
}

Theme_Input

Fields
Input Field Description
css - String
colors - JSONObject
images - JSONObject
Example
{
  "css": "abc123",
  "colors": {},
  "images": {}
}

TimelineStage

Fields
Field Name Description
_id - ObjectID
name - String
keyName - String
color - String
isOverdue - Boolean
isToday - Boolean
isTomorrow - Boolean
isLater - Boolean
priority - Int
isActive - Boolean
isDeleted - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "color": "xyz789",
  "isOverdue": false,
  "isToday": false,
  "isTomorrow": true,
  "isLater": false,
  "priority": 987,
  "isActive": false,
  "isDeleted": false
}

TimelineStage_Input

Fields
Input Field Description
name - String
keyName - String
color - String
isOverdue - Boolean
isToday - Boolean
isTomorrow - Boolean
isLater - Boolean
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "color": "xyz789",
  "isOverdue": false,
  "isToday": false,
  "isTomorrow": true,
  "isLater": false,
  "priority": 987,
  "isActive": true
}

Timestamp

Example
1592577642

Tokens

Fields
Field Name Description
idToken - String
refreshToken - String
Example
{
  "idToken": "xyz789",
  "refreshToken": "xyz789"
}

TrackingStatus

Fields
Field Name Description
_id - ObjectID!
name - String
keyName - String
isGoalTrackingStatus - Boolean
isTaskTrackingStatus - Boolean
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "isGoalTrackingStatus": false,
  "isTaskTrackingStatus": false,
  "priority": 123,
  "isActive": false
}

TrackingStatusesPage

Fields
Field Name Description
docs - [TrackingStatus!]!
pageInfo - PageInfo!
Example
{
  "docs": [TrackingStatus],
  "pageInfo": PageInfo
}

TrashGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

TrashGoalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

TrashGoalsPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 123}

TrashPlannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

TrashPlannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

TrashPlannedTasksPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 123}

TrashUnplannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

TrashUnplannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
Example
{"_ids": ["5e5677d71bdc2ae76344968c"]}

TrashUnplannedTasksPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 987}

UnfollowGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UnfollowGoalsParams

Fields
Input Field Description
_ids - [ObjectID!]!
userId - ObjectID
Example
{
  "_ids": ["5e5677d71bdc2ae76344968c"],
  "userId": "5e5677d71bdc2ae76344968c"
}

UnfollowGoalsPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 987}

UnfollowPlannedTasksOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UnfollowPlannedTasksParams

Fields
Input Field Description
_ids - [ObjectID!]!
userId - ObjectID
Example
{
  "_ids": ["5e5677d71bdc2ae76344968c"],
  "userId": "5e5677d71bdc2ae76344968c"
}

UnfollowPlannedTasksPayload

Fields
Field Name Description
recordsUpdated - Int
Example
{"recordsUpdated": 987}

UnplannedTask

Fields
Field Name Description
_id - ObjectID!
yearId - ObjectID
programId - ObjectID
termProgramId - ObjectID
year - Year
program - Program
assignedToUser - User
assignedByUser - User
approvedByUser - User
trashedByUser - User
assignedDate - Timestamp
updatedDate - Timestamp
submittedDate - Timestamp
approvedDate - Timestamp
trashedDate - Timestamp
deletedDate - Timestamp
unplannedTaskType - String
unplannedTaskDetail - UnplannedTaskDetail
comments - [Comment]
reactions - [Reaction]
impactStageId - ObjectID
impactStage - ImpactStage
trackingStatus - String
priority - Int
isActive - Boolean
isDeleted - Boolean
commentsPage - CommentsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
comment - Comment
Arguments
_id - ObjectID
unplannedTaskCommentsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
myUnplannedTaskReaction - Reaction
unplannedTaskReactionsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
unplannedTaskReactionsPage - ReactionsPage!
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
unplannedTasksFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
views - Int
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "yearId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "year": Year,
  "program": Program,
  "assignedToUser": User,
  "assignedByUser": User,
  "approvedByUser": User,
  "trashedByUser": User,
  "assignedDate": 1592577642,
  "updatedDate": 1592577642,
  "submittedDate": 1592577642,
  "approvedDate": 1592577642,
  "trashedDate": 1592577642,
  "deletedDate": 1592577642,
  "unplannedTaskType": "xyz789",
  "unplannedTaskDetail": UnplannedTaskDetail,
  "comments": [Comment],
  "reactions": [Reaction],
  "impactStageId": "5e5677d71bdc2ae76344968c",
  "impactStage": ImpactStage,
  "trackingStatus": "abc123",
  "priority": 123,
  "isActive": true,
  "isDeleted": false,
  "commentsPage": CommentsPage,
  "comment": Comment,
  "unplannedTaskCommentsFacts": [Fact],
  "myUnplannedTaskReaction": Reaction,
  "unplannedTaskReactionsFacts": [Fact],
  "unplannedTaskReactionsPage": ReactionsPage,
  "unplannedTasksFacts": [Fact],
  "views": 123
}

UnplannedTaskDetail

Fields
Field Name Description
description - String
taskDate - Timestamp
timeTaken - Duration
labels - [String]
files - [File]
Example
{
  "description": "abc123",
  "taskDate": 1592577642,
  "timeTaken": "P3Y6M4DT12H30M5S",
  "labels": ["abc123"],
  "files": [File]
}

UnplannedTaskDetail_Input

Fields
Input Field Description
description - String
taskDate - Timestamp
timeTaken - Duration
labels - [String]
files - [File_Input]
Example
{
  "description": "xyz789",
  "taskDate": 1592577642,
  "timeTaken": "P3Y6M4DT12H30M5S",
  "labels": ["abc123"],
  "files": [File_Input]
}

UnplannedTaskSetting

Fields
Field Name Description
impactStages - [ImpactStage]
Example
{"impactStages": [ImpactStage]}

UnplannedTaskSetting_Input

Fields
Input Field Description
impactStages - [ImpactStage_Input]
Example
{"impactStages": [ImpactStage_Input]}

UnplannedTask_Input

Fields
Input Field Description
yearId - ObjectID
termProgramId - ObjectID
programId - ObjectID
unplannedTaskDetail - UnplannedTaskDetail_Input
comments - [Comment_Input]
reactions - [Reaction_Input]
impactStageId - ObjectID
Example
{
  "yearId": "5e5677d71bdc2ae76344968c",
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "programId": "5e5677d71bdc2ae76344968c",
  "unplannedTaskDetail": UnplannedTaskDetail_Input,
  "comments": [Comment_Input],
  "reactions": [Reaction_Input],
  "impactStageId": "5e5677d71bdc2ae76344968c"
}

UnplannedTasksPage

Fields
Field Name Description
docs - [UnplannedTask]
pageInfo - PageInfo!
Example
{
  "docs": [UnplannedTask],
  "pageInfo": PageInfo
}

UnsubscribeCommunityGoalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UnsubscribeCommunityGoalParams

Fields
Input Field Description
communityGoalId - ObjectID
Example
{
  "communityGoalId": "5e5677d71bdc2ae76344968c"
}

UnsubscribeCommunityGoalsOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UnsubscribeCommunityGoalsParams

Fields
Input Field Description
communityGoalIds - [ObjectID]
userIds - [ObjectID]
Example
{
  "communityGoalIds": [
    "5e5677d71bdc2ae76344968c"
  ],
  "userIds": ["5e5677d71bdc2ae76344968c"]
}

UpdateAlarmOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateAlarmParams

Fields
Input Field Description
alarm - Alarm_Input
_id - ObjectID!
Example
{
  "alarm": Alarm_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateAppraisalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateAppraisalParams

Fields
Input Field Description
appraisal - Appraisal_Input
_id - ObjectID!
Example
{
  "appraisal": Appraisal_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateAttendanceLogOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateAttendanceLogParams

Fields
Input Field Description
termProgramId - ObjectID
userId - ObjectID
attendanceLogId - ObjectID
attendanceLog - Attendance_Log_Input
Example
{
  "termProgramId": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "attendanceLogId": "5e5677d71bdc2ae76344968c",
  "attendanceLog": Attendance_Log_Input
}

UpdateAttendanceLogsPayload

Fields
Field Name Description
attendancesUpdated - [ObjectID]
attendancesNotUpdated - [ObjectID]
Example
{
  "attendancesUpdated": [
    "5e5677d71bdc2ae76344968c"
  ],
  "attendancesNotUpdated": [
    "5e5677d71bdc2ae76344968c"
  ]
}

UpdateAttendanceOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateAttendanceParams

Fields
Input Field Description
attendance - Attendance_Input
_id - ObjectID!
Example
{
  "attendance": Attendance_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateCheckInOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateCheckInParams

Fields
Input Field Description
checkIn - CheckIn_Input
_id - ObjectID!
Example
{
  "checkIn": CheckIn_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateCommentParams

Fields
Input Field Description
commentId - ObjectID
comment - Comment_Input
Example
{
  "commentId": "5e5677d71bdc2ae76344968c",
  "comment": Comment_Input
}

UpdateCommentReactionParams

Fields
Input Field Description
commentId - ObjectID
reactionId - ObjectID
reactionType - String
Example
{
  "commentId": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c",
  "reactionType": "abc123"
}

UpdateCommunicationEventOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateCommunicationEventParams

Fields
Input Field Description
communicationEvent - CommunicationEvent_Input
_id - ObjectID!
Example
{
  "communicationEvent": CommunicationEvent_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateCommunityGoalOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateCommunityGoalParams

Fields
Input Field Description
communityGoal - CommunityGoal_Input
_id - ObjectID!
Example
{
  "communityGoal": CommunityGoal_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateConversationOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateConversationParams

Fields
Input Field Description
conversation - Conversation_Input
_id - ObjectID!
Example
{
  "conversation": Conversation_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateGoalAppraisalOptions

Fields
Input Field Description
appraisalStatus - String
Example
{"appraisalStatus": "abc123"}

UpdateGoalAppraisalParams

Fields
Input Field Description
goalId - ObjectID
goalAppraisalId - ObjectID
goalAppraisal - GoalAppraisal_Input
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalAppraisalId": "5e5677d71bdc2ae76344968c",
  "goalAppraisal": GoalAppraisal_Input
}

UpdateGoalAppraisalsPayload

Fields
Field Name Description
goalsUpdated - [ObjectID]
goalsNotUpdated - [ObjectID]
Example
{
  "goalsUpdated": [
    "5e5677d71bdc2ae76344968c"
  ],
  "goalsNotUpdated": [
    "5e5677d71bdc2ae76344968c"
  ]
}

UpdateGoalCheckInOptions

Fields
Input Field Description
checkInStatus - String
Example
{"checkInStatus": "xyz789"}

UpdateGoalCheckInParams

Fields
Input Field Description
goalId - ObjectID
goalCheckInId - ObjectID
goalCheckIn - GoalCheckIn_Input
Example
{
  "goalId": "5e5677d71bdc2ae76344968c",
  "goalCheckInId": "5e5677d71bdc2ae76344968c",
  "goalCheckIn": GoalCheckIn_Input
}

UpdateGoalCheckInsPayload

Fields
Field Name Description
goalsUpdated - [ObjectID]
goalsNotUpdated - [ObjectID]
Example
{
  "goalsUpdated": [
    "5e5677d71bdc2ae76344968c"
  ],
  "goalsNotUpdated": [
    "5e5677d71bdc2ae76344968c"
  ]
}

UpdateGoalOptions

Fields
Input Field Description
isUpdateAndSubmit - Boolean
isUpdateAndApprove - Boolean
Example
{"isUpdateAndSubmit": false, "isUpdateAndApprove": true}

UpdateGoalParams

Fields
Input Field Description
goal - Goal_Input
_id - ObjectID
Example
{
  "goal": Goal_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateGoalWeightageParams

Fields
Input Field Description
weightage - Float
_id - ObjectID
Example
{
  "weightage": 123.45,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateGoalsWeightagesPayload

Fields
Field Name Description
goalsUpdated - [Goal]
goalsNotUpdated - [String]
Example
{
  "goalsUpdated": [Goal],
  "goalsNotUpdated": ["xyz789"]
}

UpdateLanguageOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateLanguageParams

Fields
Input Field Description
language - Language_Input
_id - ObjectID!
Example
{
  "language": Language_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateMasterOptions

Fields
Input Field Description
_id - ObjectID
Example
{"_id": "5e5677d71bdc2ae76344968c"}

UpdateMasterParams

Fields
Input Field Description
name - String!
keyName - String!
priority - Int
isActive - Boolean
Example
{
  "name": "xyz789",
  "keyName": "xyz789",
  "priority": 987,
  "isActive": false
}

UpdateMessageParams

Fields
Input Field Description
messageId - ObjectID
message - Message_Input
Example
{
  "messageId": "5e5677d71bdc2ae76344968c",
  "message": Message_Input
}

UpdateMessageReactionParams

Fields
Input Field Description
messageId - ObjectID
reactionId - ObjectID
reactionType - String
Example
{
  "messageId": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c",
  "reactionType": "abc123"
}

UpdateModuleCategoryOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateModuleCategoryParams

Fields
Input Field Description
moduleCategory - ModuleCategory_Input
_id - ObjectID!
Example
{
  "moduleCategory": ModuleCategory_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateModuleOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateModuleParams

Fields
Input Field Description
module - Module_Input
_id - ObjectID!
Example
{
  "module": Module_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateNotificationOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateNotificationParams

Fields
Input Field Description
notification - Notification_Input
_id - ObjectID!
Example
{
  "notification": Notification_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateOrgUnitOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateOrgUnitParams

Fields
Input Field Description
orgUnit - OrgUnit_Input
_id - ObjectID!
Example
{
  "orgUnit": OrgUnit_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdatePlannedTaskEisenhowerQuadrantParams

Fields
Input Field Description
eisenhowerQuadrant - String
_id - ObjectID
Example
{
  "eisenhowerQuadrant": "xyz789",
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdatePlannedTaskEisenhowerQuadrantsPayload

Fields
Field Name Description
plannedTasksUpdated - [PlannedTask]
plannedTasksNotUpdated - [String]
Example
{
  "plannedTasksUpdated": [PlannedTask],
  "plannedTasksNotUpdated": ["abc123"]
}

UpdatePlannedTaskFollowUpOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdatePlannedTaskFollowUpParams

Fields
Input Field Description
_id - ObjectID
reactionId - ObjectID
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c"
}

UpdatePlannedTaskOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdatePlannedTaskParams

Fields
Input Field Description
plannedTask - PlannedTask_Input
_id - ObjectID!
Example
{
  "plannedTask": PlannedTask_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateProfileOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateProfileParams

Fields
Input Field Description
firstName - String
lastName - String
email - String
mobileNumber - String
profilePic - File_Input
aboutMe - String
myStatus - String
isReportAppDiagnosticData - Boolean
Example
{
  "firstName": "abc123",
  "lastName": "xyz789",
  "email": "xyz789",
  "mobileNumber": "abc123",
  "profilePic": File_Input,
  "aboutMe": "xyz789",
  "myStatus": "xyz789",
  "isReportAppDiagnosticData": false
}

UpdateProfilePayload

Fields
Field Name Description
user - User
codeDeliveryDetailsList - [CodeDeliveryDetails]
Example
{
  "user": User,
  "codeDeliveryDetailsList": [CodeDeliveryDetails]
}

UpdateProgramOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateProgramParams

Fields
Input Field Description
program - Program_Input
_id - ObjectID!
Example
{
  "program": Program_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateProgramTypeOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateProgramTypeParams

Fields
Input Field Description
programType - ProgramType_Input
_id - ObjectID!
Example
{
  "programType": ProgramType_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateReportOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateReportParams

Fields
Input Field Description
report - Report_Input
_id - ObjectID!
Example
{
  "report": Report_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateSurveyAnswerCategoryOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateSurveyAnswerCategoryParams

Fields
Input Field Description
surveyAnswerCategory - SurveyAnswerCategory_Input
_id - ObjectID!
Example
{
  "surveyAnswerCategory": SurveyAnswerCategory_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateSurveyQuestionFactorOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateSurveyQuestionFactorParams

Fields
Input Field Description
surveyQuestionFactor - SurveyQuestionFactor_Input
_id - ObjectID!
Example
{
  "surveyQuestionFactor": SurveyQuestionFactor_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateSurveyQuestionOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateSurveyQuestionParams

Fields
Input Field Description
surveyQuestion - SurveyQuestion_Input
_id - ObjectID!
Example
{
  "surveyQuestion": SurveyQuestion_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateSurveyResponsesOptions

Fields
Input Field Description
isSubmit - Boolean
Example
{"isSubmit": false}

UpdateSurveyResponsesParams

Fields
Input Field Description
surveyResponses - [SurveyResponse_Input]
surveySpecimenId - ObjectID
Example
{
  "surveyResponses": [SurveyResponse_Input],
  "surveySpecimenId": "5e5677d71bdc2ae76344968c"
}

UpdateSurveyResponsesPayload

Fields
Field Name Description
surveyResponses - [SurveyResponse]
Example
{"surveyResponses": [SurveyResponse]}

UpdateSurveySpecimenOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateSurveySpecimenParams

Fields
Input Field Description
surveySpecimen - SurveySpecimen_Input
_id - ObjectID!
Example
{
  "surveySpecimen": SurveySpecimen_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateTermProgramOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

UpdateTermProgramParams

Fields
Input Field Description
termProgram - TermProgram_Input
_id - ObjectID!
Example
{
  "termProgram": TermProgram_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateUnplannedTaskOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateUnplannedTaskParams

Fields
Input Field Description
unplannedTask - UnplannedTask_Input
_id - ObjectID!
Example
{
  "unplannedTask": UnplannedTask_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

UpdateUnplannedTaskReactionOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateUnplannedTaskReactionParams

Fields
Input Field Description
_id - ObjectID
reactionId - ObjectID
reactionType - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "reactionId": "5e5677d71bdc2ae76344968c",
  "reactionType": "abc123"
}

UpdateYearOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

UpdateYearParams

Fields
Input Field Description
year - Year_Input
_id - ObjectID!
Example
{
  "year": Year_Input,
  "_id": "5e5677d71bdc2ae76344968c"
}

User

Fields
Field Name Description
_id - ObjectID!
userName - String!
empCode - String
preferredName - String
firstName - String
lastName - String
email - String
mobileNumber - String
isEmailVerified - Boolean
isMobileNumberVerified - Boolean
imageUrl - String
profilePic - File
managers - [Manager]
orgUnits - [ObjectID]
designation - String
path - String
aboutMe - String
myStatus - String
isReportAppDiagnosticData - Boolean
isActive - Boolean
dummy - String
progress - Float
Arguments
searchOptions - SearchOptions
overallGoalProgress - Float
Arguments
searchOptions - SearchOptions
ytdRating - Float
Arguments
searchOptions - SearchOptions
teamOverallGoalProgress - Float
Arguments
searchOptions - SearchOptions
peersOverallGoalProgress - Float
isManager - Boolean
managerId - String
myRoles - [ManagerType]
cognitoInfo - User_CognitoInfo
cognitoGroups - [User_CognitoGroup]
tokenRoles - [String]
tokenAbility - [Ability]
roles - [Role]
ability - [Ability]
rbacRoles - [String]
permissions - [User_Permission]
Arguments
features - [String]
terms - [Term]
isMFAEnabled - Boolean
years - [Year]
moduleCategories - [UserModuelCategory]
Arguments
yearId - ID
termPrograms - [TermProgram]
termProgramsPage - TermProgramsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
termsPage - TermsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
termsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
latestSupportTicket - SupportTicket
peersPage - UsersPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
myManager - User
Arguments
managerTypeKeyNameOrId - String
myEvaluator - User
directReportsPage - UsersPage
Arguments
managerTypeId - ObjectID
searchOptions - SearchOptions
listOptions - ListOptions
directReportsFact - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
managersInMyDirectReportsPage - UsersPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
orgUnit - String
organizationUnit - OrgUnit
myCEO - User
inDirectReportsPage - UsersPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
termProgram - TermProgram
Arguments
_id - ObjectID
latestTermProgram - TermProgram
userFilterOptions - [UserFilterOption]
subUsersPage - UsersPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
myCompanyGoalsPage - CommunityGoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
myCommunityGoalsPage - CommunityGoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
approvedGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
completedGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
canceledGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
draftGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
trashedGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
taggedGoalsPage - GoalsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
goalCreationStatus - String
goalCreationStatusFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
approvedGoalsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
draftGoalsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
trashedGoalsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
taggedGoalsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
submittedGoalsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
goalsFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
plannedTasksPage - PlannedTasksPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
plannedTasksFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
taggedPlannedTasksPage - PlannedTasksPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
taggedPlannedTasksFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
unplannedTasksPage - UnplannedTasksPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
unplannedTasksFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
attendancesPage - AttendancesPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
attendancesFacts - [Fact]
Arguments
searchOptions - SearchOptions
factsOptions - FactOptions
notificationsPage - NotificationsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
surveyScore - String
Arguments
_id - ObjectID
surveySpecimensPage - SurveySpecimensPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
socketUrl - String
programsOfDirectReportsPage - ProgramsPage
Arguments
searchOptions - SearchOptions
listOptions - ListOptions
surveyReport - SurveyReport
Arguments
programId - ObjectID
surveyReportFilters - SurveyReportFilters_Input
surveyReportWithPrevSurveyReport - SurveyReport
Arguments
programId - ObjectID
surveyReportFilters - SurveyReportFilters_Input
grpFld - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userName": "abc123",
  "empCode": "abc123",
  "preferredName": "abc123",
  "firstName": "abc123",
  "lastName": "abc123",
  "email": "abc123",
  "mobileNumber": "abc123",
  "isEmailVerified": false,
  "isMobileNumberVerified": false,
  "imageUrl": "xyz789",
  "profilePic": File,
  "managers": [Manager],
  "orgUnits": ["5e5677d71bdc2ae76344968c"],
  "designation": "abc123",
  "path": "abc123",
  "aboutMe": "abc123",
  "myStatus": "xyz789",
  "isReportAppDiagnosticData": true,
  "isActive": false,
  "dummy": "abc123",
  "progress": 987.65,
  "overallGoalProgress": 987.65,
  "ytdRating": 987.65,
  "teamOverallGoalProgress": 987.65,
  "peersOverallGoalProgress": 987.65,
  "isManager": false,
  "managerId": "abc123",
  "myRoles": [ManagerType],
  "cognitoInfo": User_CognitoInfo,
  "cognitoGroups": [User_CognitoGroup],
  "tokenRoles": ["abc123"],
  "tokenAbility": [Ability],
  "roles": [Role],
  "ability": [Ability],
  "rbacRoles": ["abc123"],
  "permissions": [User_Permission],
  "terms": [Term],
  "isMFAEnabled": true,
  "years": [Year],
  "moduleCategories": [UserModuelCategory],
  "termPrograms": [TermProgram],
  "termProgramsPage": TermProgramsPage,
  "termsPage": TermsPage,
  "termsFacts": [Fact],
  "latestSupportTicket": SupportTicket,
  "peersPage": UsersPage,
  "myManager": User,
  "myEvaluator": User,
  "directReportsPage": UsersPage,
  "directReportsFact": [Fact],
  "managersInMyDirectReportsPage": UsersPage,
  "orgUnit": "abc123",
  "organizationUnit": OrgUnit,
  "myCEO": User,
  "inDirectReportsPage": UsersPage,
  "termProgram": TermProgram,
  "latestTermProgram": TermProgram,
  "userFilterOptions": [UserFilterOption],
  "subUsersPage": UsersPage,
  "myCompanyGoalsPage": CommunityGoalsPage,
  "myCommunityGoalsPage": CommunityGoalsPage,
  "approvedGoalsPage": GoalsPage,
  "completedGoalsPage": GoalsPage,
  "canceledGoalsPage": GoalsPage,
  "draftGoalsPage": GoalsPage,
  "trashedGoalsPage": GoalsPage,
  "taggedGoalsPage": GoalsPage,
  "goalCreationStatus": "abc123",
  "goalCreationStatusFacts": [Fact],
  "approvedGoalsFacts": [Fact],
  "draftGoalsFacts": [Fact],
  "trashedGoalsFacts": [Fact],
  "taggedGoalsFacts": [Fact],
  "submittedGoalsFacts": [Fact],
  "goalsFacts": [Fact],
  "plannedTasksPage": PlannedTasksPage,
  "plannedTasksFacts": [Fact],
  "taggedPlannedTasksPage": PlannedTasksPage,
  "taggedPlannedTasksFacts": [Fact],
  "unplannedTasksPage": UnplannedTasksPage,
  "unplannedTasksFacts": [Fact],
  "attendancesPage": AttendancesPage,
  "attendancesFacts": [Fact],
  "notificationsPage": NotificationsPage,
  "surveyScore": "xyz789",
  "surveySpecimensPage": SurveySpecimensPage,
  "socketUrl": "xyz789",
  "programsOfDirectReportsPage": ProgramsPage,
  "surveyReport": SurveyReport,
  "surveyReportWithPrevSurveyReport": SurveyReport
}

UserFilterOption

Fields
Field Name Description
userFilterOptionName - UserFilterOptionName
userFilterOptionValues - [String]
Example
{
  "userFilterOptionName": UserFilterOptionName,
  "userFilterOptionValues": ["xyz789"]
}

UserFilterOptionName

Fields
Field Name Description
key - String
text - String
Example
{
  "key": "xyz789",
  "text": "abc123"
}

UserModuelCategory

Fields
Field Name Description
yearId - ID
keyName - String
userModules - [UserModule]
userId - ID
Example
{
  "yearId": "4",
  "keyName": "xyz789",
  "userModules": [UserModule],
  "userId": 4
}

UserModule

Fields
Field Name Description
keyName - String
userId - ID
yearId - ID
termPrograms - [TermProgram]
Example
{
  "keyName": "abc123",
  "userId": "4",
  "yearId": "4",
  "termPrograms": [TermProgram]
}

UserSegmentWeightage

Fields
Field Name Description
_id - ObjectID
userSegmentId - ObjectID
weightage - Float
isActive - Boolean
dummy - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userSegmentId": "5e5677d71bdc2ae76344968c",
  "weightage": 987.65,
  "isActive": false,
  "dummy": false
}

UserSegmentWeightage_Input

Fields
Input Field Description
userSegmentId - ObjectID
weightage - Float
isActive - Boolean
Example
{
  "userSegmentId": "5e5677d71bdc2ae76344968c",
  "weightage": 123.45,
  "isActive": true
}

User_CognitoGroup

Fields
Field Name Description
_id - ObjectID
groupName - String
description - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "groupName": "abc123",
  "description": "abc123"
}

User_CognitoInfo

Fields
Field Name Description
_id - ObjectID
enabled - Boolean
userStatus - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "enabled": true,
  "userStatus": "xyz789"
}

User_Manager_Input

Fields
Input Field Description
userId - ObjectID
managerTypeId - String
managerId - String
Example
{
  "userId": "5e5677d71bdc2ae76344968c",
  "managerTypeId": "abc123",
  "managerId": "abc123"
}

User_Permission

Fields
Field Name Description
_id - ObjectID
feature - String
value - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "feature": "xyz789",
  "value": false
}

UsersPage

Fields
Field Name Description
docs - [User!]!
pageInfo - PageInfo!
Example
{
  "docs": [User],
  "pageInfo": PageInfo
}

UtcOffset

Example
"+03:00"

VerifyEmailCodeOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

VerifyEmailCodeParams

Fields
Input Field Description
code - String
Example
{"code": "abc123"}

VerifyEmailCodePayload

Fields
Field Name Description
status - Boolean
Example
{"status": true}

VerifyMfaCodeOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": true}

VerifyMfaCodeParams

Fields
Input Field Description
userName - String
code - String
session - String
Example
{
  "userName": "xyz789",
  "code": "abc123",
  "session": "abc123"
}

VerifyMfaCodePayload

Fields
Field Name Description
tokens - Tokens
challenge - Challenge
Example
{
  "tokens": Tokens,
  "challenge": Challenge
}

VerifyMobileNumberCodeOptions

Fields
Input Field Description
dummy - Boolean
Example
{"dummy": false}

VerifyMobileNumberCodeParams

Fields
Input Field Description
code - String
Example
{"code": "abc123"}

VerifyMobileNumberCodePayload

Fields
Field Name Description
status - Boolean
Example
{"status": false}

WordCloudWord

Fields
Field Name Description
word - String
weightage - Float
keyword - String
count - Int
positive - Float
negative - Float
neutral - Float
Example
{
  "word": "xyz789",
  "weightage": 987.65,
  "keyword": "abc123",
  "count": 123,
  "positive": 123.45,
  "negative": 987.65,
  "neutral": 987.65
}

Workflow

Fields
Field Name Description
_id - ObjectID
workflowType - String
workflowStages - [WorkflowStage]
isActive - Boolean
workflowStagesPage - WorkflowStagesPage
Arguments
searchOptions - SearchOptions
options - ListOptions
workflowStagesFPage - [WorkflowStage]
Arguments
search - JSONString
workflowStagesFOne - WorkflowStage
Arguments
search - JSONString
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "workflowType": "xyz789",
  "workflowStages": [WorkflowStage],
  "isActive": true,
  "workflowStagesPage": WorkflowStagesPage,
  "workflowStagesFPage": [WorkflowStage],
  "workflowStagesFOne": WorkflowStage
}

WorkflowStage

Fields
Field Name Description
_id - ObjectID
managerTypeId - ObjectID
name - String
userFilterRules - [JSONObject]
params - JSONObject
priority - Int
isActive - Boolean
managerType - ManagerType
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "userFilterRules": [{}],
  "params": {},
  "priority": 123,
  "isActive": false,
  "managerType": ManagerType
}

WorkflowStage_Input

Fields
Input Field Description
managerTypeId - ObjectID
name - String
userFilterRules - [JSONObject]
params - JSONObject
priority - Int
isActive - Boolean
Example
{
  "managerTypeId": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "userFilterRules": [{}],
  "params": {},
  "priority": 123,
  "isActive": true
}

WorkflowStagesPage

Fields
Field Name Description
docs - [WorkflowStage!]!
pageInfo - PageInfo!
Example
{
  "docs": [WorkflowStage],
  "pageInfo": PageInfo
}

Workflow_Input

Fields
Input Field Description
workflowType - String
workflowStages - [WorkflowStage_Input]
isActive - Boolean
Example
{
  "workflowType": "abc123",
  "workflowStages": [WorkflowStage_Input],
  "isActive": false
}

WorkflowsPage

Fields
Field Name Description
docs - [Workflow!]!
pageInfo - PageInfo!
Example
{
  "docs": [Workflow],
  "pageInfo": PageInfo
}

Year

Fields
Field Name Description
_id - ObjectID!
userId - ObjectID
name - String
keyName - String
priority - Int
isActive - Boolean
userModuleCategories - [UserModuelCategory]
Arguments
userNameOrId - String
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "userId": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "xyz789",
  "priority": 123,
  "isActive": false,
  "userModuleCategories": [UserModuelCategory]
}

Year_Input

Fields
Input Field Description
_id - ObjectID!
name - String
keyName - String
priority - Int
isActive - Boolean
Example
{
  "_id": "5e5677d71bdc2ae76344968c",
  "name": "abc123",
  "keyName": "abc123",
  "priority": 987,
  "isActive": false
}

YearsPage

Fields
Field Name Description
docs - [Year!]!
pageInfo - PageInfo!
Example
{
  "docs": [Year],
  "pageInfo": PageInfo
}

uploadField

Fields
Field Name Description
fldName - String
value - String
Example
{
  "fldName": "xyz789",
  "value": "xyz789"
}