GraphQL API Reference
Welcome to the party!
Terms of Service
API Endpoints
# local:
https://localhost:3000/graphql
# Production:
https://example.com/graphql
Headers
# Your foo from bar
Authorization: Bearer <YOUR_TOKEN_HERE>
Polyversity Backend
Documentation For Polyversity Backend
Queries
checkNodeHealth
Description
Check the health of Node
Response
Returns [Node]
Example
Query
query CheckNodeHealth {
checkNodeHealth {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Response
{
"data": {
"checkNodeHealth": [
{
"_id": 4,
"partnerId": 4,
"eNodeAddress": "xyz789",
"nodeId": "abc123",
"publicAddress": "xyz789",
"name": "abc123",
"description": "xyz789",
"status": 123,
"isActive": false,
"type": "abc123",
"publicKey": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": 4,
"updatedBy": 4
}
]
}
}
getAbilitiesGroup
Description
Get list of all Abilities pushed on database
Example
Query
query GetAbilitiesGroup($_id: ID!) {
getAbilitiesGroup(_id: $_id) {
_id
name
description
status
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getAbilitiesGroup": {
"_id": 4,
"name": "xyz789",
"description": "abc123",
"status": 123
}
}
}
getAbility
Description
Get list of all Abilities pushed on database
getAllJobs
Description
Get list of all jobs
Response
Returns [Job]
Example
Query
query GetAllJobs {
getAllJobs {
_id
jobTitle
jobType
skills
description
location
status
createdBy
appliedBy
updatedBy
companyId
createdAt
updatedAt
}
}
Response
{
"data": {
"getAllJobs": [
{
"_id": 4,
"jobTitle": "abc123",
"jobType": "xyz789",
"skills": "abc123",
"description": "xyz789",
"location": "xyz789",
"status": 123,
"createdBy": "4",
"appliedBy": [4],
"updatedBy": 4,
"companyId": "4",
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getAllSupportTickets
Description
Get all support tickets
Response
Returns [SupportTicket]
Example
Query
query GetAllSupportTickets {
getAllSupportTickets {
_id
title
description
submittedBy
resolvedBy
status
docUrl
createdAt
updatedAt
}
}
Response
{
"data": {
"getAllSupportTickets": [
{
"_id": 4,
"title": "abc123",
"description": "abc123",
"submittedBy": 4,
"resolvedBy": "4",
"status": 987,
"docUrl": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getAnnouncement
Description
Get list of all announcements pushed on database
Response
Returns an Announcement
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetAnnouncement($id: ID!) {
getAnnouncement(id: $id) {
_id
title
description
status
url
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"id": 4}
Response
{
"data": {
"getAnnouncement": {
"_id": "4",
"title": "abc123",
"description": "abc123",
"status": 123,
"url": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": 4
}
}
}
getApplicantsDetails
Description
Get the list of all the applicants who applied to jobs
Response
Returns [ApplicantDetails]
Example
Query
query GetApplicantsDetails {
getApplicantsDetails {
_id
email
admin {
firstName
lastName
}
status
}
}
Response
{
"data": {
"getApplicantsDetails": [
{
"_id": 4,
"email": "xyz789",
"admin": AdminDetails,
"status": 987
}
]
}
}
getAsset
Description
Get list of all Abilities pushed on database
Example
Query
query GetAsset($_id: ID!) {
getAsset(_id: $_id) {
_id
name
description
status
fileUrl
assetcategoryId
createdBy
updatedBy
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getAsset": {
"_id": "4",
"name": "xyz789",
"description": "abc123",
"status": 123,
"fileUrl": "xyz789",
"assetcategoryId": 4,
"createdBy": "4",
"updatedBy": "4"
}
}
}
getAssetCategory
Description
Get single Catagory by Id
Response
Returns an AssetCategory
Arguments
Name | Description |
---|---|
_id - ID!
|
Example
Query
query GetAssetCategory($_id: ID!) {
getAssetCategory(_id: $_id) {
_id
title
description
status
createdBy
updatedBy
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getAssetCategory": {
"_id": 4,
"title": "abc123",
"description": "abc123",
"status": 987,
"createdBy": 4,
"updatedBy": "4"
}
}
}
getAvenue
Description
Get single Avenue on database
Example
Query
query GetAvenue($_id: ID!) {
getAvenue(_id: $_id) {
_id
name
description
avenueTypeId {
_id
name
description
status
}
status
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getAvenue": {
"_id": "4",
"name": "abc123",
"description": "abc123",
"avenueTypeId": AvenueType,
"status": 123
}
}
}
getAvenueType
Description
Get single Avenue Type on database
Response
Returns an AvenueType
Arguments
Name | Description |
---|---|
_id - ID!
|
Example
Query
query GetAvenueType($_id: ID!) {
getAvenueType(_id: $_id) {
_id
name
description
status
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getAvenueType": {
"_id": "4",
"name": "xyz789",
"description": "xyz789",
"status": 987
}
}
}
getCommentsAndReplies
Description
Get all commemts and replies of a single support ticket
Response
Returns [CommentsAndReplies]
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetCommentsAndReplies($id: ID!) {
getCommentsAndReplies(id: $id) {
_id
supportTicketId
content
superAdmin {
_id
firstName
lastName
}
partner {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
...PointOfContactFragment
}
signatoryAuthority {
...SignatoryAuthorityFragment
}
chairDetails {
...ChairDetailsFragment
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
replies {
_id
content
superAdmin {
...SuperAdminFragment
}
partner {
...PartnerFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getCommentsAndReplies": [
{
"_id": "4",
"supportTicketId": "4",
"content": "abc123",
"superAdmin": SuperAdmin,
"partner": Partner,
"replies": [GetReply],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
]
}
}
getCompany
Description
Get list of all Companies pushed on database
Example
Query
query GetCompany($_id: ID!) {
getCompany(_id: $_id) {
_id
name
description
faundationYear
technology {
softwareStack
}
status
}
}
Variables
{"_id": 4}
Response
{
"data": {
"getCompany": {
"_id": "4",
"name": "xyz789",
"description": "xyz789",
"faundationYear": 123,
"technology": [softwareStackType],
"status": 987
}
}
}
getDeveloper
Description
Get list of Single dev user registered on database
Example
Query
query GetDeveloper($_id: ID!) {
getDeveloper(_id: $_id) {
_id
firstName
lastName
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getDeveloper": {
"_id": 4,
"firstName": "xyz789",
"lastName": "xyz789",
"email": "xyz789",
"password": "xyz789",
"mobile": "xyz789",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": false,
"isActive": true,
"deleteStatus": true,
"status": 123,
"profilPicUrl": "abc123",
"groups": ["abc123"],
"assetIDs": ["abc123"],
"lastLogin": "xyz789"
}
}
}
getFile
Description
Get list of all Files pushed on database
Example
Query
query GetFile($_id: ID!) {
getFile(_id: $_id) {
_id
name
folder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getFile": {
"_id": "4",
"name": "xyz789",
"folder": Folder,
"createdBy": User
}
}
}
getFolder
Description
Get list of all Folder pushed on database
Example
Query
query GetFolder($_id: ID!) {
getFolder(_id: $_id) {
_id
name
parentFolder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
subfolders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
}
}
Variables
{"_id": 4}
Response
{
"data": {
"getFolder": {
"_id": "4",
"name": "xyz789",
"parentFolder": Folder,
"createdBy": User,
"subfolders": [Folder]
}
}
}
getGeneralDocument
Description
Get list of all generalDocuments pushed on database
Response
Returns a GeneralDocument
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetGeneralDocument($id: ID!) {
getGeneralDocument(id: $id) {
_id
partnerId
name
originalFileName
url
status
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getGeneralDocument": {
"_id": "4",
"partnerId": 4,
"name": "xyz789",
"originalFileName": "xyz789",
"url": "abc123",
"status": 987,
"createdAt": "xyz789",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": "4"
}
}
}
getJobById
Description
Get a single job by job _id
Example
Query
query GetJobById($id: ID) {
getJobById(id: $id) {
_id
jobTitle
jobType
skills
description
location
status
createdBy
appliedBy
updatedBy
companyId
createdAt
updatedAt
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getJobById": {
"_id": 4,
"jobTitle": "abc123",
"jobType": "abc123",
"skills": "xyz789",
"description": "xyz789",
"location": "xyz789",
"status": 123,
"createdBy": "4",
"appliedBy": [4],
"updatedBy": "4",
"companyId": "4",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
getJobForApplicant
Description
Get a single job for an individual applicant
Example
Query
query GetJobForApplicant(
$jobId: ID!,
$applicantId: ID!
) {
getJobForApplicant(
jobId: $jobId,
applicantId: $applicantId
) {
_id
jobTitle
jobType
skills
description
location
status
createdBy
appliedBy
updatedBy
companyId
createdAt
updatedAt
}
}
Variables
{"jobId": 4, "applicantId": "4"}
Response
{
"data": {
"getJobForApplicant": {
"_id": "4",
"jobTitle": "abc123",
"jobType": "xyz789",
"skills": "xyz789",
"description": "abc123",
"location": "xyz789",
"status": 987,
"createdBy": 4,
"appliedBy": [4],
"updatedBy": "4",
"companyId": "4",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
getJobsForApplicant
Description
Get all jobs for a particular applicant
Example
Query
query GetJobsForApplicant($id: ID) {
getJobsForApplicant(id: $id) {
_id
jobTitle
jobType
skills
description
location
status
createdBy
appliedBy
updatedBy
companyId
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getJobsForApplicant": [
{
"_id": "4",
"jobTitle": "xyz789",
"jobType": "abc123",
"skills": "xyz789",
"description": "xyz789",
"location": "xyz789",
"status": 123,
"createdBy": 4,
"appliedBy": [4],
"updatedBy": "4",
"companyId": 4,
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getNode
Description
Get list of all Nodes pushed on database
Example
Query
query GetNode($id: ID!) {
getNode(id: $id) {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"id": 4}
Response
{
"data": {
"getNode": {
"_id": "4",
"partnerId": "4",
"eNodeAddress": "xyz789",
"nodeId": "xyz789",
"publicAddress": "abc123",
"name": "xyz789",
"description": "xyz789",
"status": 123,
"isActive": true,
"type": "abc123",
"publicKey": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": 4
}
}
}
getNodeCount
Description
Get Node count
Response
Returns a NodeCount
Example
Query
query GetNodeCount {
getNodeCount {
totalLiveNodes
totalNodes
}
}
Response
{
"data": {
"getNodeCount": {
"totalLiveNodes": "xyz789",
"totalNodes": "abc123"
}
}
}
getNodesByPartnerId
Description
Get list of all Nodes pushed on database
Response
Returns [Node]
Example
Query
query GetNodesByPartnerId {
getNodesByPartnerId {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Response
{
"data": {
"getNodesByPartnerId": [
{
"_id": 4,
"partnerId": 4,
"eNodeAddress": "abc123",
"nodeId": "abc123",
"publicAddress": "xyz789",
"name": "xyz789",
"description": "abc123",
"status": 123,
"isActive": false,
"type": "xyz789",
"publicKey": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"createdBy": 4,
"updatedBy": 4
}
]
}
}
getNodesbyFilter
Description
Get Node count
Example
Query
query GetNodesbyFilter($input: NodeInput) {
getNodesbyFilter(input: $input) {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": NodeInput}
Response
{
"data": {
"getNodesbyFilter": [
{
"_id": 4,
"partnerId": 4,
"eNodeAddress": "xyz789",
"nodeId": "abc123",
"publicAddress": "xyz789",
"name": "xyz789",
"description": "abc123",
"status": 987,
"isActive": false,
"type": "abc123",
"publicKey": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": 4
}
]
}
}
getPartner
Description
Get list of all partners pushed on database
Example
Query
query GetPartner($id: ID!) {
getPartner(id: $id) {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getPartner": {
"_id": "4",
"name": "abc123",
"email": "xyz789",
"partnerCode": "xyz789",
"address": "xyz789",
"website": "xyz789",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": ["4"],
"blockchainChapterName": "xyz789",
"status": 987,
"admin": "4",
"nodeStatus": 123,
"isActive": true,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"firstName": "xyz789",
"lastName": "abc123"
}
}
}
getPartnerByAdmin
Description
Get partner by admin
Response
Returns a Partner
Example
Query
query GetPartnerByAdmin {
getPartnerByAdmin {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Response
{
"data": {
"getPartnerByAdmin": {
"_id": 4,
"name": "xyz789",
"email": "abc123",
"partnerCode": "abc123",
"address": "abc123",
"website": "xyz789",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": [4],
"blockchainChapterName": "xyz789",
"status": 987,
"admin": 4,
"nodeStatus": 123,
"isActive": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"firstName": "xyz789",
"lastName": "abc123"
}
}
}
getPartnerInterest
Description
Get list of all partnerInterests pushed on database
Response
Returns a PartnerInterest
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetPartnerInterest($id: ID!) {
getPartnerInterest(id: $id) {
_id
name
email
address
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
website
status
queries
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getPartnerInterest": {
"_id": "4",
"name": "xyz789",
"email": "xyz789",
"address": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"website": "abc123",
"status": 987,
"queries": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
getProject
Description
Get list of all Project pushed on database
Example
Query
query GetProject($_id: ID!) {
getProject(_id: $_id) {
_id
name
description
folders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
files {
_id
name
folder {
...FolderFragment
}
createdBy {
...UserFragment
}
}
status
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getProject": {
"_id": 4,
"name": "xyz789",
"description": "xyz789",
"folders": [Folder],
"files": [File],
"status": 123,
"createdBy": User
}
}
}
getSupportTicket
Description
Gets single support ticket by _id
Response
Returns a SupportTicket
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetSupportTicket($id: ID!) {
getSupportTicket(id: $id) {
_id
title
description
submittedBy
resolvedBy
status
docUrl
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getSupportTicket": {
"_id": "4",
"title": "abc123",
"description": "xyz789",
"submittedBy": "4",
"resolvedBy": 4,
"status": 123,
"docUrl": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
getSupportTicketByPartner
Description
Gets single support tickets by partner _id
Response
Returns [SupportTicket]
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetSupportTicketByPartner($id: ID!) {
getSupportTicketByPartner(id: $id) {
_id
title
description
submittedBy
resolvedBy
status
docUrl
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getSupportTicketByPartner": [
{
"_id": "4",
"title": "abc123",
"description": "xyz789",
"submittedBy": 4,
"resolvedBy": "4",
"status": 123,
"docUrl": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
getUser
Description
Get list of Single user registered on database
Example
Query
query GetUser($_id: ID!) {
getUser(_id: $_id) {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getUser": {
"_id": 4,
"firstName": "xyz789",
"lastName": "abc123",
"uuid": "abc123",
"email": "abc123",
"password": "xyz789",
"mobile": "xyz789",
"walletAddress": "xyz789",
"signupMode": "xyz789",
"userRole": UserRole,
"status2FA": false,
"isActive": false,
"deleteStatus": false,
"status": 987,
"profilPicUrl": "abc123",
"groups": ["xyz789"],
"assetIDs": ["xyz789"],
"lastLogin": "abc123"
}
}
}
getUserRole
Description
Get UserRole By Id
Example
Query
query GetUserRole($_id: ID!) {
getUserRole(_id: $_id) {
_id
name
description
abilities {
_id
name
description
status
}
type
status
}
}
Variables
{"_id": "4"}
Response
{
"data": {
"getUserRole": {
"_id": "4",
"name": "xyz789",
"description": "abc123",
"abilities": [Ability],
"type": "xyz789",
"status": 987
}
}
}
listAllAbilities
Description
Get list of all Abilities pushed on database
Response
Returns [Ability]
Example
Query
query ListAllAbilities {
listAllAbilities {
_id
name
description
status
}
}
Response
{
"data": {
"listAllAbilities": [
{
"_id": 4,
"name": "abc123",
"description": "abc123",
"status": 123
}
]
}
}
listAllAbilitiesGroup
Description
Get list of all AbilitiesGroup pushed on database
Response
Returns [AbilityGroup]
Example
Query
query ListAllAbilitiesGroup {
listAllAbilitiesGroup {
_id
name
description
abilities {
_id
name
description
status
}
status
}
}
Response
{
"data": {
"listAllAbilitiesGroup": [
{
"_id": "4",
"name": "xyz789",
"description": "xyz789",
"abilities": [Ability],
"status": 987
}
]
}
}
listAllAnnouncements
Description
Get list of all announcements pushed on database
Response
Returns [Announcement]
Example
Query
query ListAllAnnouncements {
listAllAnnouncements {
_id
title
description
status
url
createdAt
updatedAt
createdBy
updatedBy
}
}
Response
{
"data": {
"listAllAnnouncements": [
{
"_id": 4,
"title": "abc123",
"description": "xyz789",
"status": 123,
"url": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789",
"createdBy": "4",
"updatedBy": "4"
}
]
}
}
listAllAssetCategory
Description
Get list of all Asset Catagory pushed on database
Response
Returns [AssetCategory]
Example
Query
query ListAllAssetCategory {
listAllAssetCategory {
_id
title
description
status
createdBy
updatedBy
}
}
Response
{
"data": {
"listAllAssetCategory": [
{
"_id": 4,
"title": "abc123",
"description": "abc123",
"status": 123,
"createdBy": "4",
"updatedBy": "4"
}
]
}
}
listAllAssets
Description
Get list of all Asset pushed on database
Response
Returns [Asset]
Example
Query
query ListAllAssets {
listAllAssets {
_id
name
description
status
fileUrl
assetcategoryId
createdBy
updatedBy
}
}
Response
{
"data": {
"listAllAssets": [
{
"_id": 4,
"name": "abc123",
"description": "abc123",
"status": 123,
"fileUrl": "xyz789",
"assetcategoryId": "4",
"createdBy": 4,
"updatedBy": "4"
}
]
}
}
listAllAvenueType
Description
Get list of all Avenue Type pushed on database
Response
Returns [AvenueType]
Example
Query
query ListAllAvenueType {
listAllAvenueType {
_id
name
description
status
}
}
Response
{
"data": {
"listAllAvenueType": [
{
"_id": "4",
"name": "xyz789",
"description": "xyz789",
"status": 987
}
]
}
}
listAllAvenues
Description
Get list of all Avenue pushed on database
Response
Returns [Avenue]
Example
Query
query ListAllAvenues {
listAllAvenues {
_id
name
description
avenueTypeId {
_id
name
description
status
}
status
}
}
Response
{
"data": {
"listAllAvenues": [
{
"_id": "4",
"name": "xyz789",
"description": "abc123",
"avenueTypeId": AvenueType,
"status": 123
}
]
}
}
listAllCompanies
Description
Get list of all Companies pushed on database
Response
Returns [Company]
Example
Query
query ListAllCompanies {
listAllCompanies {
_id
name
description
faundationYear
technology {
softwareStack
}
status
}
}
Response
{
"data": {
"listAllCompanies": [
{
"_id": 4,
"name": "abc123",
"description": "abc123",
"faundationYear": 987,
"technology": [softwareStackType],
"status": 123
}
]
}
}
listAllDevelopers
Description
Get list of all dev users registered on database
Response
Returns [Developer]
Example
Query
query ListAllDevelopers {
listAllDevelopers {
_id
firstName
lastName
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Response
{
"data": {
"listAllDevelopers": [
{
"_id": 4,
"firstName": "xyz789",
"lastName": "xyz789",
"email": "xyz789",
"password": "xyz789",
"mobile": "abc123",
"walletAddress": "xyz789",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": false,
"isActive": true,
"deleteStatus": false,
"status": 987,
"profilPicUrl": "xyz789",
"groups": ["xyz789"],
"assetIDs": ["abc123"],
"lastLogin": "abc123"
}
]
}
}
listAllEstate
Description
Get list of all Estate pushed on database
Response
Returns [Estate]
Example
Query
query ListAllEstate {
listAllEstate {
_id
name
estateId
status
createdBy
updatedBy
}
}
Response
{
"data": {
"listAllEstate": [
{
"_id": 4,
"name": "abc123",
"estateId": "abc123",
"status": 987,
"createdBy": "4",
"updatedBy": 4
}
]
}
}
listAllFiles
Description
Get list of all Files pushed on database
Response
Returns [File]
Example
Query
query ListAllFiles {
listAllFiles {
_id
name
folder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Response
{
"data": {
"listAllFiles": [
{
"_id": 4,
"name": "abc123",
"folder": Folder,
"createdBy": User
}
]
}
}
listAllFolders
Description
Get list of all Folders pushed on database
Response
Returns [Folder]
Example
Query
query ListAllFolders {
listAllFolders {
_id
name
parentFolder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
subfolders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
}
}
Response
{
"data": {
"listAllFolders": [
{
"_id": 4,
"name": "abc123",
"parentFolder": Folder,
"createdBy": User,
"subfolders": [Folder]
}
]
}
}
listAllGeneralDocuments
Description
Get list of all generalDocuments pushed on database
Response
Returns [GeneralDocument]
Example
Query
query ListAllGeneralDocuments {
listAllGeneralDocuments {
_id
partnerId
name
originalFileName
url
status
createdAt
updatedAt
createdBy
updatedBy
}
}
Response
{
"data": {
"listAllGeneralDocuments": [
{
"_id": 4,
"partnerId": 4,
"name": "xyz789",
"originalFileName": "abc123",
"url": "abc123",
"status": 987,
"createdAt": "abc123",
"updatedAt": "xyz789",
"createdBy": "4",
"updatedBy": 4
}
]
}
}
listAllGeneralDocumentsOfPartner
Description
Get list of all generalDocuments pushed on database
Response
Returns [GeneralDocument]
Arguments
Name | Description |
---|---|
partnerId - ID!
|
Example
Query
query ListAllGeneralDocumentsOfPartner($partnerId: ID!) {
listAllGeneralDocumentsOfPartner(partnerId: $partnerId) {
_id
partnerId
name
originalFileName
url
status
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"partnerId": "4"}
Response
{
"data": {
"listAllGeneralDocumentsOfPartner": [
{
"_id": "4",
"partnerId": "4",
"name": "xyz789",
"originalFileName": "xyz789",
"url": "xyz789",
"status": 987,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"createdBy": "4",
"updatedBy": "4"
}
]
}
}
listAllInvites
Description
Get list of all invited user pushed on database
Response
Returns [InviteUser]
Example
Query
query ListAllInvites {
listAllInvites {
_id
firstName
lastName
email
inviteToken
status
userRole
}
}
Response
{
"data": {
"listAllInvites": [
{
"_id": 4,
"firstName": "xyz789",
"lastName": "xyz789",
"email": "xyz789",
"inviteToken": "abc123",
"status": 987,
"userRole": "xyz789"
}
]
}
}
listAllNodes
Description
Get list of all Nodes pushed on database
Response
Returns [Node]
Example
Query
query ListAllNodes {
listAllNodes {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Response
{
"data": {
"listAllNodes": [
{
"_id": "4",
"partnerId": 4,
"eNodeAddress": "abc123",
"nodeId": "abc123",
"publicAddress": "xyz789",
"name": "xyz789",
"description": "xyz789",
"status": 987,
"isActive": false,
"type": "xyz789",
"publicKey": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789",
"createdBy": 4,
"updatedBy": 4
}
]
}
}
listAllPartnerInterest
Description
Get list of all partnerInterests pushed on database
Response
Returns [PartnerInterest]
Arguments
Name | Description |
---|---|
filter - PartnerInterestFilterInput
|
Example
Query
query ListAllPartnerInterest($filter: PartnerInterestFilterInput) {
listAllPartnerInterest(filter: $filter) {
_id
name
email
address
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
website
status
queries
createdAt
updatedAt
}
}
Variables
{"filter": PartnerInterestFilterInput}
Response
{
"data": {
"listAllPartnerInterest": [
{
"_id": "4",
"name": "abc123",
"email": "abc123",
"address": "abc123",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"website": "xyz789",
"status": 987,
"queries": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
]
}
}
listAllPartners
Description
Get list of all partners pushed on database
Response
Returns [Partner]
Example
Query
query ListAllPartners {
listAllPartners {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Response
{
"data": {
"listAllPartners": [
{
"_id": 4,
"name": "abc123",
"email": "abc123",
"partnerCode": "abc123",
"address": "abc123",
"website": "abc123",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": ["4"],
"blockchainChapterName": "xyz789",
"status": 987,
"admin": "4",
"nodeStatus": 987,
"isActive": false,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"firstName": "abc123",
"lastName": "xyz789"
}
]
}
}
listAllProjects
Description
Get list of all Projects pushed on database
Response
Returns [Project]
Example
Query
query ListAllProjects {
listAllProjects {
_id
name
description
folders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
files {
_id
name
folder {
...FolderFragment
}
createdBy {
...UserFragment
}
}
status
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Response
{
"data": {
"listAllProjects": [
{
"_id": 4,
"name": "xyz789",
"description": "xyz789",
"folders": [Folder],
"files": [File],
"status": 987,
"createdBy": User
}
]
}
}
listAllUserRoles
Description
Get list of all UserRole pushed on database
Response
Returns [UserRole]
Example
Query
query ListAllUserRoles {
listAllUserRoles {
_id
name
description
abilities {
_id
name
description
status
}
type
status
}
}
Response
{
"data": {
"listAllUserRoles": [
{
"_id": 4,
"name": "abc123",
"description": "xyz789",
"abilities": [Ability],
"type": "xyz789",
"status": 123
}
]
}
}
listAllUsers
Description
Get list of all users registered on database
Response
Returns [User]
Example
Query
query ListAllUsers {
listAllUsers {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Response
{
"data": {
"listAllUsers": [
{
"_id": 4,
"firstName": "abc123",
"lastName": "xyz789",
"uuid": "xyz789",
"email": "abc123",
"password": "abc123",
"mobile": "abc123",
"walletAddress": "xyz789",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": true,
"isActive": false,
"deleteStatus": true,
"status": 987,
"profilPicUrl": "xyz789",
"groups": ["xyz789"],
"assetIDs": ["abc123"],
"lastLogin": "xyz789"
}
]
}
}
verifiyPartnerInvite
Example
Query
query VerifiyPartnerInvite($token: String) {
verifiyPartnerInvite(token: $token) {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Variables
{"token": "xyz789"}
Response
{
"data": {
"verifiyPartnerInvite": {
"_id": "4",
"name": "abc123",
"email": "abc123",
"partnerCode": "xyz789",
"address": "abc123",
"website": "abc123",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": [4],
"blockchainChapterName": "xyz789",
"status": 123,
"admin": 4,
"nodeStatus": 123,
"isActive": false,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"firstName": "xyz789",
"lastName": "abc123"
}
}
}
verifyInvite
Description
Get list of all invited user pushed on database
Response
Returns an InviteUser
Arguments
Name | Description |
---|---|
id - String!
|
Example
Query
query VerifyInvite($id: String!) {
verifyInvite(id: $id) {
_id
firstName
lastName
email
inviteToken
status
userRole
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"verifyInvite": {
"_id": "4",
"firstName": "xyz789",
"lastName": "abc123",
"email": "abc123",
"inviteToken": "abc123",
"status": 123,
"userRole": "xyz789"
}
}
}
Mutations
addComment
Description
It allows to Add Comment to a Support Ticket
Response
Returns a Comment
Arguments
Name | Description |
---|---|
input - AddCommentInput
|
Example
Query
mutation AddComment($input: AddCommentInput) {
addComment(input: $input) {
_id
supportTicketId
content
superAdmin
partner
replies {
_id
content
superAdmin
partner
createdAt
updatedAt
}
createdAt
updatedAt
}
}
Variables
{"input": AddCommentInput}
Response
{
"data": {
"addComment": {
"_id": 4,
"supportTicketId": "4",
"content": "abc123",
"superAdmin": "4",
"partner": 4,
"replies": [Reply],
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
addReply
Description
It allows to Add Reply to a comment on Suppor Ticket
Response
Returns a Reply
Arguments
Name | Description |
---|---|
input - AddReplyInput
|
Example
Query
mutation AddReply($input: AddReplyInput) {
addReply(input: $input) {
_id
content
superAdmin
partner
createdAt
updatedAt
}
}
Variables
{"input": AddReplyInput}
Response
{
"data": {
"addReply": {
"_id": "4",
"content": "abc123",
"superAdmin": 4,
"partner": "4",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
authUser
Description
It allows users to authenticate
Example
Query
mutation AuthUser($input: authUser) {
authUser(input: $input) {
userId
role
token
firstName
lastName
}
}
Variables
{"input": authUser}
Response
{
"data": {
"authUser": {
"userId": 4,
"role": "xyz789",
"token": "xyz789",
"firstName": "xyz789",
"lastName": "abc123"
}
}
}
changePassword
Description
It allows the user to reset password
Response
Returns a String
Arguments
Name | Description |
---|---|
input - ChangePasswordInput
|
Example
Query
mutation ChangePassword($input: ChangePasswordInput) {
changePassword(input: $input)
}
Variables
{"input": ChangePasswordInput}
Response
{"data": {"changePassword": "abc123"}}
createAbilitiesGroup
Description
It allows to create abilities group
Response
Returns an AbilityGroup
Arguments
Name | Description |
---|---|
input - AbilityGroupInput
|
Example
Query
mutation CreateAbilitiesGroup($input: AbilityGroupInput) {
createAbilitiesGroup(input: $input) {
_id
name
description
abilities {
_id
name
description
status
}
status
}
}
Variables
{"input": AbilityGroupInput}
Response
{
"data": {
"createAbilitiesGroup": {
"_id": 4,
"name": "xyz789",
"description": "xyz789",
"abilities": [Ability],
"status": 123
}
}
}
createAbility
Description
It allows to create abilities
Response
Returns an Ability
Arguments
Name | Description |
---|---|
input - AbilityInput
|
Example
Query
mutation CreateAbility($input: AbilityInput) {
createAbility(input: $input) {
_id
name
description
status
}
}
Variables
{"input": AbilityInput}
Response
{
"data": {
"createAbility": {
"_id": "4",
"name": "abc123",
"description": "abc123",
"status": 987
}
}
}
createAnnouncement
Description
It allows to create announcements
Response
Returns an Announcement
Arguments
Name | Description |
---|---|
input - AnnouncementInput
|
Example
Query
mutation CreateAnnouncement($input: AnnouncementInput) {
createAnnouncement(input: $input) {
_id
title
description
status
url
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": AnnouncementInput}
Response
{
"data": {
"createAnnouncement": {
"_id": 4,
"title": "xyz789",
"description": "xyz789",
"status": 987,
"url": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": "4"
}
}
}
createAsset
Description
It allows to create Asset
Response
Returns an Asset
Arguments
Name | Description |
---|---|
input - AssetInput
|
Example
Query
mutation CreateAsset($input: AssetInput) {
createAsset(input: $input) {
_id
name
description
status
fileUrl
assetcategoryId
createdBy
updatedBy
}
}
Variables
{"input": AssetInput}
Response
{
"data": {
"createAsset": {
"_id": "4",
"name": "abc123",
"description": "abc123",
"status": 987,
"fileUrl": "abc123",
"assetcategoryId": 4,
"createdBy": 4,
"updatedBy": "4"
}
}
}
createAssetCategory
Description
It allows to create Asset Catagory
Response
Returns an AssetCategory
Arguments
Name | Description |
---|---|
input - AssetCategoryInput
|
Example
Query
mutation CreateAssetCategory($input: AssetCategoryInput) {
createAssetCategory(input: $input) {
_id
title
description
status
createdBy
updatedBy
}
}
Variables
{"input": AssetCategoryInput}
Response
{
"data": {
"createAssetCategory": {
"_id": 4,
"title": "xyz789",
"description": "xyz789",
"status": 987,
"createdBy": 4,
"updatedBy": 4
}
}
}
createAvenue
Description
It allows to create avenue
Response
Returns an Avenue
Arguments
Name | Description |
---|---|
input - AvenueInput
|
Example
Query
mutation CreateAvenue($input: AvenueInput) {
createAvenue(input: $input) {
_id
name
description
avenueTypeId {
_id
name
description
status
}
status
}
}
Variables
{"input": AvenueInput}
Response
{
"data": {
"createAvenue": {
"_id": 4,
"name": "xyz789",
"description": "abc123",
"avenueTypeId": AvenueType,
"status": 123
}
}
}
createAvenueType
Description
It allows to create avenue Type
Response
Returns an AvenueType
Arguments
Name | Description |
---|---|
input - AvenueTypeInput
|
Example
Query
mutation CreateAvenueType($input: AvenueTypeInput) {
createAvenueType(input: $input) {
_id
name
description
status
}
}
Variables
{"input": AvenueTypeInput}
Response
{
"data": {
"createAvenueType": {
"_id": "4",
"name": "xyz789",
"description": "xyz789",
"status": 987
}
}
}
createCompany
Description
It allows to create Companies
Response
Returns a Company
Arguments
Name | Description |
---|---|
input - CompanyInput
|
Example
Query
mutation CreateCompany($input: CompanyInput) {
createCompany(input: $input) {
_id
name
description
faundationYear
technology {
softwareStack
}
status
}
}
Variables
{"input": CompanyInput}
Response
{
"data": {
"createCompany": {
"_id": 4,
"name": "xyz789",
"description": "abc123",
"faundationYear": 987,
"technology": [softwareStackType],
"status": 123
}
}
}
createEstate
Description
It allows to create Estate
Response
Returns an Estate
Arguments
Name | Description |
---|---|
input - EstateInput
|
Example
Query
mutation CreateEstate($input: EstateInput) {
createEstate(input: $input) {
_id
name
estateId
status
createdBy
updatedBy
}
}
Variables
{"input": EstateInput}
Response
{
"data": {
"createEstate": {
"_id": "4",
"name": "xyz789",
"estateId": "abc123",
"status": 123,
"createdBy": "4",
"updatedBy": "4"
}
}
}
createFile
Description
It allows to create file
Example
Query
mutation CreateFile($input: FileInput) {
createFile(input: $input) {
_id
name
folder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Variables
{"input": FileInput}
Response
{
"data": {
"createFile": {
"_id": "4",
"name": "abc123",
"folder": Folder,
"createdBy": User
}
}
}
createFolder
Description
It allows to create folder
Response
Returns a Folder
Arguments
Name | Description |
---|---|
input - FolderInput
|
Example
Query
mutation CreateFolder($input: FolderInput) {
createFolder(input: $input) {
_id
name
parentFolder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
subfolders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
}
}
Variables
{"input": FolderInput}
Response
{
"data": {
"createFolder": {
"_id": "4",
"name": "abc123",
"parentFolder": Folder,
"createdBy": User,
"subfolders": [Folder]
}
}
}
createGeneralDocument
Description
It allows to create generalDocuments
Response
Returns a GeneralDocument
Arguments
Name | Description |
---|---|
input - GeneralDocumentInput
|
Example
Query
mutation CreateGeneralDocument($input: GeneralDocumentInput) {
createGeneralDocument(input: $input) {
_id
partnerId
name
originalFileName
url
status
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": GeneralDocumentInput}
Response
{
"data": {
"createGeneralDocument": {
"_id": 4,
"partnerId": "4",
"name": "xyz789",
"originalFileName": "xyz789",
"url": "abc123",
"status": 987,
"createdAt": "abc123",
"updatedAt": "xyz789",
"createdBy": "4",
"updatedBy": "4"
}
}
}
createJob
Description
It allows to create job
Response
Returns a Job
Arguments
Name | Description |
---|---|
input - CreateJobInput
|
Example
Query
mutation CreateJob($input: CreateJobInput) {
createJob(input: $input) {
_id
jobTitle
jobType
skills
description
location
status
createdBy
appliedBy
updatedBy
companyId
createdAt
updatedAt
}
}
Variables
{"input": CreateJobInput}
Response
{
"data": {
"createJob": {
"_id": "4",
"jobTitle": "xyz789",
"jobType": "xyz789",
"skills": "xyz789",
"description": "abc123",
"location": "abc123",
"status": 987,
"createdBy": "4",
"appliedBy": [4],
"updatedBy": "4",
"companyId": 4,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
createNode
Description
It allows to create Nodes
Example
Query
mutation CreateNode($input: NodeInput) {
createNode(input: $input) {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": NodeInput}
Response
{
"data": {
"createNode": {
"_id": "4",
"partnerId": "4",
"eNodeAddress": "abc123",
"nodeId": "abc123",
"publicAddress": "abc123",
"name": "abc123",
"description": "abc123",
"status": 987,
"isActive": true,
"type": "abc123",
"publicKey": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"createdBy": 4,
"updatedBy": "4"
}
}
}
createPartner
Description
Create a new partner
Response
Returns a Partner
Arguments
Name | Description |
---|---|
input - PartnerInput
|
Example
Query
mutation CreatePartner($input: PartnerInput) {
createPartner(input: $input) {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Variables
{"input": PartnerInput}
Response
{
"data": {
"createPartner": {
"_id": 4,
"name": "xyz789",
"email": "xyz789",
"partnerCode": "xyz789",
"address": "abc123",
"website": "xyz789",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": [4],
"blockchainChapterName": "xyz789",
"status": 987,
"admin": "4",
"nodeStatus": 987,
"isActive": false,
"createdAt": "abc123",
"updatedAt": "xyz789",
"firstName": "abc123",
"lastName": "xyz789"
}
}
}
createProject
Description
It allows to create project
Response
Returns a Project
Arguments
Name | Description |
---|---|
input - ProjectInput
|
Example
Query
mutation CreateProject($input: ProjectInput) {
createProject(input: $input) {
_id
name
description
folders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
files {
_id
name
folder {
...FolderFragment
}
createdBy {
...UserFragment
}
}
status
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Variables
{"input": ProjectInput}
Response
{
"data": {
"createProject": {
"_id": 4,
"name": "xyz789",
"description": "xyz789",
"folders": [Folder],
"files": [File],
"status": 123,
"createdBy": User
}
}
}
createSupportTicket
Description
It allows to create Support Ticket
Response
Returns a SupportTicket
Arguments
Name | Description |
---|---|
input - CreateSupportTicketInput
|
Example
Query
mutation CreateSupportTicket($input: CreateSupportTicketInput) {
createSupportTicket(input: $input) {
_id
title
description
submittedBy
resolvedBy
status
docUrl
createdAt
updatedAt
}
}
Variables
{"input": CreateSupportTicketInput}
Response
{
"data": {
"createSupportTicket": {
"_id": 4,
"title": "abc123",
"description": "abc123",
"submittedBy": 4,
"resolvedBy": "4",
"status": 123,
"docUrl": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
createUserRole
Description
It allows to create user role
Response
Returns a UserRole
Arguments
Name | Description |
---|---|
input - UserRoleInput
|
Example
Query
mutation CreateUserRole($input: UserRoleInput) {
createUserRole(input: $input) {
_id
name
description
abilities {
_id
name
description
status
}
type
status
}
}
Variables
{"input": UserRoleInput}
Response
{
"data": {
"createUserRole": {
"_id": "4",
"name": "abc123",
"description": "abc123",
"abilities": [Ability],
"type": "abc123",
"status": 987
}
}
}
deleteAbility
Description
It allows to delete abilities group permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteAbility {
deleteAbility {
deletedCount
}
}
Response
{"data": {"deleteAbility": {"deletedCount": 123}}}
deleteAnnouncement
Description
It allows to delete announcements
Response
Returns a DeleteResult
Example
Query
mutation DeleteAnnouncement {
deleteAnnouncement {
deletedCount
}
}
Response
{"data": {"deleteAnnouncement": {"deletedCount": 987}}}
deleteAsset
Description
It allows to delete Asset
Response
Returns a DeleteResult
Example
Query
mutation DeleteAsset {
deleteAsset {
deletedCount
}
}
Response
{"data": {"deleteAsset": {"deletedCount": 123}}}
deleteAssetCategory
Description
It allows to delete Asset Catagory
Response
Returns a DeleteResult
Example
Query
mutation DeleteAssetCategory {
deleteAssetCategory {
deletedCount
}
}
Response
{"data": {"deleteAssetCategory": {"deletedCount": 987}}}
deleteAvenue
Description
It allows to delete Avenue
Response
Returns a DeleteResult
Example
Query
mutation DeleteAvenue {
deleteAvenue {
deletedCount
}
}
Response
{"data": {"deleteAvenue": {"deletedCount": 987}}}
deleteAvenueType
Description
It allows to delete Avenue Type
Response
Returns a DeleteResult
Example
Query
mutation DeleteAvenueType {
deleteAvenueType {
deletedCount
}
}
Response
{"data": {"deleteAvenueType": {"deletedCount": 987}}}
deleteEstate
Description
It allows to delete Estate
Response
Returns a DeleteResult
Example
Query
mutation DeleteEstate {
deleteEstate {
deletedCount
}
}
Response
{"data": {"deleteEstate": {"deletedCount": 987}}}
deleteFile
Description
It allows to user to delete their account permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteFile {
deleteFile {
deletedCount
}
}
Response
{"data": {"deleteFile": {"deletedCount": 123}}}
deleteFolder
Description
It allows to user to delete their account permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteFolder {
deleteFolder {
deletedCount
}
}
Response
{"data": {"deleteFolder": {"deletedCount": 123}}}
deleteGeneralDocument
Description
It allows to delete generalDocuments
Response
Returns a DeleteResult
Example
Query
mutation DeleteGeneralDocument {
deleteGeneralDocument {
deletedCount
}
}
Response
{"data": {"deleteGeneralDocument": {"deletedCount": 123}}}
deleteInviteUser
Description
It allows to user to delete their account permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteInviteUser {
deleteInviteUser {
deletedCount
}
}
Response
{"data": {"deleteInviteUser": {"deletedCount": 987}}}
deleteMyUserAccount
Description
It allows to user to delete their account permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteMyUserAccount {
deleteMyUserAccount {
deletedCount
}
}
Response
{"data": {"deleteMyUserAccount": {"deletedCount": 123}}}
deleteNode
Description
It allows to delete Nodes
Response
Returns a DeleteResult
Example
Query
mutation DeleteNode {
deleteNode {
deletedCount
}
}
Response
{"data": {"deleteNode": {"deletedCount": 123}}}
deleteProject
Description
It allows to user to delete their account permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteProject {
deleteProject {
deletedCount
}
}
Response
{"data": {"deleteProject": {"deletedCount": 123}}}
deleteUserRole
Description
It allows to delete user role permanently
Response
Returns a DeleteResult
Example
Query
mutation DeleteUserRole {
deleteUserRole {
deletedCount
}
}
Response
{"data": {"deleteUserRole": {"deletedCount": 987}}}
fillPartnerInterestForm
Description
It allows to create partnerInterests
Response
Returns a PartnerInterest
Arguments
Name | Description |
---|---|
input - PartnerInterestInput
|
Example
Query
mutation FillPartnerInterestForm($input: PartnerInterestInput) {
fillPartnerInterestForm(input: $input) {
_id
name
email
address
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
website
status
queries
createdAt
updatedAt
}
}
Variables
{"input": PartnerInterestInput}
Response
{
"data": {
"fillPartnerInterestForm": {
"_id": "4",
"name": "abc123",
"email": "xyz789",
"address": "abc123",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"website": "xyz789",
"status": 987,
"queries": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
inviteAdminUser
Description
It allows users to register
Response
Returns a Token
Arguments
Name | Description |
---|---|
input - InviteAdminUserInput
|
Example
Query
mutation InviteAdminUser($input: InviteAdminUserInput) {
inviteAdminUser(input: $input) {
userId
role
token
firstName
lastName
}
}
Variables
{"input": InviteAdminUserInput}
Response
{
"data": {
"inviteAdminUser": {
"userId": "4",
"role": "abc123",
"token": "xyz789",
"firstName": "abc123",
"lastName": "abc123"
}
}
}
invitePartner
Description
Invite a new partner
Response
Returns a Partner
Arguments
Name | Description |
---|---|
input - InvitePartnerInput
|
Example
Query
mutation InvitePartner($input: InvitePartnerInput) {
invitePartner(input: $input) {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Variables
{"input": InvitePartnerInput}
Response
{
"data": {
"invitePartner": {
"_id": "4",
"name": "abc123",
"email": "xyz789",
"partnerCode": "xyz789",
"address": "xyz789",
"website": "abc123",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": [4],
"blockchainChapterName": "abc123",
"status": 123,
"admin": "4",
"nodeStatus": 987,
"isActive": true,
"createdAt": "abc123",
"updatedAt": "xyz789",
"firstName": "abc123",
"lastName": "xyz789"
}
}
}
inviteUser
Description
It allows to create invited user
Response
Returns an InviteUser
Arguments
Name | Description |
---|---|
input - inviteUserInput
|
Example
Query
mutation InviteUser($input: inviteUserInput) {
inviteUser(input: $input) {
_id
firstName
lastName
email
inviteToken
status
userRole
}
}
Variables
{"input": inviteUserInput}
Response
{
"data": {
"inviteUser": {
"_id": 4,
"firstName": "xyz789",
"lastName": "abc123",
"email": "abc123",
"inviteToken": "abc123",
"status": 123,
"userRole": "xyz789"
}
}
}
registerDeveloper
Description
It allows dev user to register
Response
Returns a Developer
Arguments
Name | Description |
---|---|
input - DeveloperInput
|
Example
Query
mutation RegisterDeveloper($input: DeveloperInput) {
registerDeveloper(input: $input) {
_id
firstName
lastName
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{"input": DeveloperInput}
Response
{
"data": {
"registerDeveloper": {
"_id": "4",
"firstName": "xyz789",
"lastName": "abc123",
"email": "abc123",
"password": "abc123",
"mobile": "abc123",
"walletAddress": "xyz789",
"signupMode": "xyz789",
"userRole": UserRole,
"status2FA": false,
"isActive": true,
"deleteStatus": true,
"status": 987,
"profilPicUrl": "xyz789",
"groups": ["xyz789"],
"assetIDs": ["xyz789"],
"lastLogin": "xyz789"
}
}
}
registerUser
Description
It allows users to register
Example
Query
mutation RegisterUser($input: UserInput) {
registerUser(input: $input) {
userId
role
token
firstName
lastName
}
}
Variables
{"input": UserInput}
Response
{
"data": {
"registerUser": {
"userId": 4,
"role": "xyz789",
"token": "abc123",
"firstName": "xyz789",
"lastName": "xyz789"
}
}
}
resendUserInvite
Description
It allows users to authenticate
Response
Returns an InviteUser
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - inviteUserInput
|
Example
Query
mutation ResendUserInvite(
$_id: ID!,
$input: inviteUserInput
) {
resendUserInvite(
_id: $_id,
input: $input
) {
_id
firstName
lastName
email
inviteToken
status
userRole
}
}
Variables
{
"_id": "4",
"input": inviteUserInput
}
Response
{
"data": {
"resendUserInvite": {
"_id": "4",
"firstName": "xyz789",
"lastName": "abc123",
"email": "abc123",
"inviteToken": "xyz789",
"status": 987,
"userRole": "abc123"
}
}
}
resetPassword
Description
It gives the verify-link containing token via mail to reset the password
Response
Returns a Token
Arguments
Name | Description |
---|---|
input - ResetPasswordInput
|
Example
Query
mutation ResetPassword($input: ResetPasswordInput) {
resetPassword(input: $input) {
userId
role
token
firstName
lastName
}
}
Variables
{"input": ResetPasswordInput}
Response
{
"data": {
"resetPassword": {
"userId": "4",
"role": "abc123",
"token": "abc123",
"firstName": "abc123",
"lastName": "abc123"
}
}
}
resetPasswordConfirm
Description
It allows to reset the password
Response
Returns a String
Arguments
Name | Description |
---|---|
input - ResetPasswordConfirmInput
|
Example
Query
mutation ResetPasswordConfirm($input: ResetPasswordConfirmInput) {
resetPasswordConfirm(input: $input)
}
Variables
{"input": ResetPasswordConfirmInput}
Response
{"data": {"resetPasswordConfirm": "xyz789"}}
updateAbilitiesGroup
Description
It allows to update abilities group
Response
Returns an AbilityGroup
Arguments
Name | Description |
---|---|
_id - String!
|
|
input - AbilityGroupInput!
|
Example
Query
mutation UpdateAbilitiesGroup(
$_id: String!,
$input: AbilityGroupInput!
) {
updateAbilitiesGroup(
_id: $_id,
input: $input
) {
_id
name
description
abilities {
_id
name
description
status
}
status
}
}
Variables
{
"_id": "abc123",
"input": AbilityGroupInput
}
Response
{
"data": {
"updateAbilitiesGroup": {
"_id": "4",
"name": "xyz789",
"description": "abc123",
"abilities": [Ability],
"status": 987
}
}
}
updateAbility
Description
It allows users to authenticate
Response
Returns an Ability
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - AbilityInput
|
Example
Query
mutation UpdateAbility(
$_id: ID!,
$input: AbilityInput
) {
updateAbility(
_id: $_id,
input: $input
) {
_id
name
description
status
}
}
Variables
{"_id": 4, "input": AbilityInput}
Response
{
"data": {
"updateAbility": {
"_id": 4,
"name": "abc123",
"description": "xyz789",
"status": 987
}
}
}
updateAnnouncement
Description
It allows to update announcements
Response
Returns an Announcement
Arguments
Name | Description |
---|---|
input - AnnouncementInput
|
Example
Query
mutation UpdateAnnouncement($input: AnnouncementInput) {
updateAnnouncement(input: $input) {
_id
title
description
status
url
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": AnnouncementInput}
Response
{
"data": {
"updateAnnouncement": {
"_id": 4,
"title": "xyz789",
"description": "abc123",
"status": 987,
"url": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": 4
}
}
}
updateAsset
Description
It allows to update Asset
Response
Returns an Asset
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - AssetInput
|
Example
Query
mutation UpdateAsset(
$_id: ID!,
$input: AssetInput
) {
updateAsset(
_id: $_id,
input: $input
) {
_id
name
description
status
fileUrl
assetcategoryId
createdBy
updatedBy
}
}
Variables
{"_id": 4, "input": AssetInput}
Response
{
"data": {
"updateAsset": {
"_id": 4,
"name": "abc123",
"description": "abc123",
"status": 987,
"fileUrl": "xyz789",
"assetcategoryId": "4",
"createdBy": 4,
"updatedBy": "4"
}
}
}
updateAssetCategory
Description
It allows to update Asset Catagory
Response
Returns an AssetCategory
Arguments
Name | Description |
---|---|
_id - String!
|
|
input - AssetCategoryInput!
|
Example
Query
mutation UpdateAssetCategory(
$_id: String!,
$input: AssetCategoryInput!
) {
updateAssetCategory(
_id: $_id,
input: $input
) {
_id
title
description
status
createdBy
updatedBy
}
}
Variables
{
"_id": "xyz789",
"input": AssetCategoryInput
}
Response
{
"data": {
"updateAssetCategory": {
"_id": "4",
"title": "abc123",
"description": "xyz789",
"status": 987,
"createdBy": "4",
"updatedBy": 4
}
}
}
updateAvenue
Description
It allows to update avenue
Response
Returns an Avenue
Arguments
Name | Description |
---|---|
_id - String!
|
|
input - AvenueInput
|
Example
Query
mutation UpdateAvenue(
$_id: String!,
$input: AvenueInput
) {
updateAvenue(
_id: $_id,
input: $input
) {
_id
name
description
avenueTypeId {
_id
name
description
status
}
status
}
}
Variables
{
"_id": "xyz789",
"input": AvenueInput
}
Response
{
"data": {
"updateAvenue": {
"_id": "4",
"name": "abc123",
"description": "abc123",
"avenueTypeId": AvenueType,
"status": 123
}
}
}
updateAvenueType
Description
It allows to update avenue Type
Response
Returns an AvenueType
Arguments
Name | Description |
---|---|
_id - String!
|
|
input - AvenueTypeInput
|
Example
Query
mutation UpdateAvenueType(
$_id: String!,
$input: AvenueTypeInput
) {
updateAvenueType(
_id: $_id,
input: $input
) {
_id
name
description
status
}
}
Variables
{
"_id": "xyz789",
"input": AvenueTypeInput
}
Response
{
"data": {
"updateAvenueType": {
"_id": 4,
"name": "abc123",
"description": "xyz789",
"status": 123
}
}
}
updateCompany
Description
It allows users to authenticate
Response
Returns a Company
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - CompanyInput
|
Example
Query
mutation UpdateCompany(
$_id: ID!,
$input: CompanyInput
) {
updateCompany(
_id: $_id,
input: $input
) {
_id
name
description
faundationYear
technology {
softwareStack
}
status
}
}
Variables
{"_id": 4, "input": CompanyInput}
Response
{
"data": {
"updateCompany": {
"_id": "4",
"name": "abc123",
"description": "xyz789",
"faundationYear": 987,
"technology": [softwareStackType],
"status": 123
}
}
}
updateDeveloper
Description
It allows dev users to register
Response
Returns a Developer
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - UpdateDeveloperInput
|
Example
Query
mutation UpdateDeveloper(
$_id: ID!,
$input: UpdateDeveloperInput
) {
updateDeveloper(
_id: $_id,
input: $input
) {
_id
firstName
lastName
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{
"_id": "4",
"input": UpdateDeveloperInput
}
Response
{
"data": {
"updateDeveloper": {
"_id": 4,
"firstName": "xyz789",
"lastName": "abc123",
"email": "xyz789",
"password": "abc123",
"mobile": "xyz789",
"walletAddress": "xyz789",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": true,
"isActive": true,
"deleteStatus": true,
"status": 123,
"profilPicUrl": "xyz789",
"groups": ["abc123"],
"assetIDs": ["abc123"],
"lastLogin": "abc123"
}
}
}
updateDeveloperProfile
Description
It allows dev user update profiles
Response
Returns a Developer
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - UpdateDeveloperProfileInput
|
Example
Query
mutation UpdateDeveloperProfile(
$_id: ID!,
$input: UpdateDeveloperProfileInput
) {
updateDeveloperProfile(
_id: $_id,
input: $input
) {
_id
firstName
lastName
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{"_id": 4, "input": UpdateDeveloperProfileInput}
Response
{
"data": {
"updateDeveloperProfile": {
"_id": 4,
"firstName": "xyz789",
"lastName": "abc123",
"email": "xyz789",
"password": "xyz789",
"mobile": "xyz789",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": false,
"isActive": false,
"deleteStatus": true,
"status": 123,
"profilPicUrl": "abc123",
"groups": ["abc123"],
"assetIDs": ["xyz789"],
"lastLogin": "xyz789"
}
}
}
updateEstate
Description
It allows to update Estate
Response
Returns an Estate
Arguments
Name | Description |
---|---|
_id - String!
|
|
input - EstateInput!
|
Example
Query
mutation UpdateEstate(
$_id: String!,
$input: EstateInput!
) {
updateEstate(
_id: $_id,
input: $input
) {
_id
name
estateId
status
createdBy
updatedBy
}
}
Variables
{
"_id": "xyz789",
"input": EstateInput
}
Response
{
"data": {
"updateEstate": {
"_id": "4",
"name": "xyz789",
"estateId": "abc123",
"status": 987,
"createdBy": "4",
"updatedBy": "4"
}
}
}
updateFile
Description
It allows users to authenticate
Example
Query
mutation UpdateFile(
$_id: ID!,
$input: FileInput
) {
updateFile(
_id: $_id,
input: $input
) {
_id
name
folder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Variables
{
"_id": "4",
"input": FileInput
}
Response
{
"data": {
"updateFile": {
"_id": 4,
"name": "xyz789",
"folder": Folder,
"createdBy": User
}
}
}
updateFolder
Description
It allows users to authenticate
Response
Returns a Folder
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - FolderInput
|
Example
Query
mutation UpdateFolder(
$_id: ID!,
$input: FolderInput
) {
updateFolder(
_id: $_id,
input: $input
) {
_id
name
parentFolder {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
subfolders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
}
}
Variables
{"_id": 4, "input": FolderInput}
Response
{
"data": {
"updateFolder": {
"_id": 4,
"name": "xyz789",
"parentFolder": Folder,
"createdBy": User,
"subfolders": [Folder]
}
}
}
updateGeneralDocument
Description
It allows to update generalDocuments
Response
Returns a GeneralDocument
Arguments
Name | Description |
---|---|
input - GeneralDocumentInput
|
Example
Query
mutation UpdateGeneralDocument($input: GeneralDocumentInput) {
updateGeneralDocument(input: $input) {
_id
partnerId
name
originalFileName
url
status
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": GeneralDocumentInput}
Response
{
"data": {
"updateGeneralDocument": {
"_id": 4,
"partnerId": "4",
"name": "xyz789",
"originalFileName": "xyz789",
"url": "abc123",
"status": 987,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"createdBy": "4",
"updatedBy": 4
}
}
}
updateJob
Description
It allows to update job
Response
Returns a Job
Arguments
Name | Description |
---|---|
input - UpdateJobInput
|
Example
Query
mutation UpdateJob($input: UpdateJobInput) {
updateJob(input: $input) {
_id
jobTitle
jobType
skills
description
location
status
createdBy
appliedBy
updatedBy
companyId
createdAt
updatedAt
}
}
Variables
{"input": UpdateJobInput}
Response
{
"data": {
"updateJob": {
"_id": 4,
"jobTitle": "xyz789",
"jobType": "abc123",
"skills": "xyz789",
"description": "abc123",
"location": "abc123",
"status": 987,
"createdBy": "4",
"appliedBy": [4],
"updatedBy": "4",
"companyId": "4",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
updateNode
Description
It allows to update Nodes
Example
Query
mutation UpdateNode($input: NodeInput) {
updateNode(input: $input) {
_id
partnerId
eNodeAddress
nodeId
publicAddress
name
description
status
isActive
type
publicKey
createdAt
updatedAt
createdBy
updatedBy
}
}
Variables
{"input": NodeInput}
Response
{
"data": {
"updateNode": {
"_id": "4",
"partnerId": "4",
"eNodeAddress": "abc123",
"nodeId": "abc123",
"publicAddress": "abc123",
"name": "abc123",
"description": "abc123",
"status": 987,
"isActive": false,
"type": "xyz789",
"publicKey": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": "4"
}
}
}
updatePartner
Description
Update a partner
Response
Returns a Partner
Arguments
Name | Description |
---|---|
input - PartnerUpdateInput
|
Example
Query
mutation UpdatePartner($input: PartnerUpdateInput) {
updatePartner(input: $input) {
_id
name
email
partnerCode
address
website
logo
pointOfContact {
name
email
mobile
designation
firstName
lastName
}
signatoryAuthority {
name
designation
email
}
chairDetails {
name
designation
mobile
email
}
studentAmbassador
blockchainChapterName
status
admin
nodeStatus
isActive
createdAt
updatedAt
firstName
lastName
}
}
Variables
{"input": PartnerUpdateInput}
Response
{
"data": {
"updatePartner": {
"_id": "4",
"name": "abc123",
"email": "abc123",
"partnerCode": "abc123",
"address": "xyz789",
"website": "xyz789",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": [4],
"blockchainChapterName": "xyz789",
"status": 123,
"admin": 4,
"nodeStatus": 987,
"isActive": false,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"firstName": "xyz789",
"lastName": "abc123"
}
}
}
updateProject
Description
It allows users to authenticate
Response
Returns a Project
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - ProjectInput
|
Example
Query
mutation UpdateProject(
$_id: ID!,
$input: ProjectInput
) {
updateProject(
_id: $_id,
input: $input
) {
_id
name
description
folders {
_id
name
parentFolder {
...FolderFragment
}
createdBy {
...UserFragment
}
subfolders {
...FolderFragment
}
}
files {
_id
name
folder {
...FolderFragment
}
createdBy {
...UserFragment
}
}
status
createdBy {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
...UserRoleFragment
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
}
Variables
{
"_id": "4",
"input": ProjectInput
}
Response
{
"data": {
"updateProject": {
"_id": 4,
"name": "abc123",
"description": "abc123",
"folders": [Folder],
"files": [File],
"status": 123,
"createdBy": User
}
}
}
updateSupportTicket
Description
It allows to update Support Ticket
Response
Returns a SupportTicket
Arguments
Name | Description |
---|---|
input - UpdateSupportTicketInput
|
Example
Query
mutation UpdateSupportTicket($input: UpdateSupportTicketInput) {
updateSupportTicket(input: $input) {
_id
title
description
submittedBy
resolvedBy
status
docUrl
createdAt
updatedAt
}
}
Variables
{"input": UpdateSupportTicketInput}
Response
{
"data": {
"updateSupportTicket": {
"_id": 4,
"title": "xyz789",
"description": "abc123",
"submittedBy": 4,
"resolvedBy": 4,
"status": 987,
"docUrl": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
updateUser
Description
It allows users to register
Response
Returns a User
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - UpdateUserInput
|
Example
Query
mutation UpdateUser(
$_id: ID!,
$input: UpdateUserInput
) {
updateUser(
_id: $_id,
input: $input
) {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{"_id": 4, "input": UpdateUserInput}
Response
{
"data": {
"updateUser": {
"_id": "4",
"firstName": "xyz789",
"lastName": "abc123",
"uuid": "abc123",
"email": "xyz789",
"password": "xyz789",
"mobile": "xyz789",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": true,
"isActive": false,
"deleteStatus": false,
"status": 123,
"profilPicUrl": "xyz789",
"groups": ["abc123"],
"assetIDs": ["abc123"],
"lastLogin": "abc123"
}
}
}
updateUserRole
Description
It allows to update user role
Response
Returns a UserRole
Arguments
Name | Description |
---|---|
_id - ID!
|
|
input - UserRoleInput
|
Example
Query
mutation UpdateUserRole(
$_id: ID!,
$input: UserRoleInput
) {
updateUserRole(
_id: $_id,
input: $input
) {
_id
name
description
abilities {
_id
name
description
status
}
type
status
}
}
Variables
{"_id": 4, "input": UserRoleInput}
Response
{
"data": {
"updateUserRole": {
"_id": "4",
"name": "abc123",
"description": "abc123",
"abilities": [Ability],
"type": "abc123",
"status": 987
}
}
}
verifyAdminUser
Description
It allows the user to reset password
Response
Returns a User
Arguments
Name | Description |
---|---|
input - VerifyAdminUserInput
|
Example
Query
mutation VerifyAdminUser($input: VerifyAdminUserInput) {
verifyAdminUser(input: $input) {
_id
firstName
lastName
uuid
email
password
mobile
walletAddress
signupMode
userRole {
_id
name
description
abilities {
...AbilityFragment
}
type
status
}
status2FA
isActive
deleteStatus
status
profilPicUrl
groups
assetIDs
lastLogin
}
}
Variables
{"input": VerifyAdminUserInput}
Response
{
"data": {
"verifyAdminUser": {
"_id": 4,
"firstName": "xyz789",
"lastName": "abc123",
"uuid": "xyz789",
"email": "xyz789",
"password": "xyz789",
"mobile": "xyz789",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": UserRole,
"status2FA": false,
"isActive": false,
"deleteStatus": true,
"status": 987,
"profilPicUrl": "abc123",
"groups": ["xyz789"],
"assetIDs": ["abc123"],
"lastLogin": "abc123"
}
}
}
verifyDeveloper
Description
This method used for verify user email
Response
Returns a verifyUser
Arguments
Name | Description |
---|---|
input - verifyEmailInput
|
Example
Query
mutation VerifyDeveloper($input: verifyEmailInput) {
verifyDeveloper(input: $input) {
email
}
}
Variables
{"input": verifyEmailInput}
Response
{
"data": {
"verifyDeveloper": {"email": "xyz789"}
}
}
Types
Ability
AbilityGroup
AbilityGroupInput
AbilityInput
AddCommentInput
AddReplyInput
AdminDetails
Announcement
Example
{
"_id": "4",
"title": "abc123",
"description": "abc123",
"status": 987,
"url": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": 4,
"updatedBy": 4
}
AnnouncementInput
ApplicantDetails
Fields
Field Name | Description |
---|---|
_id - ID
|
|
email - String
|
|
admin - AdminDetails
|
|
status - Int
|
Example
{
"_id": "4",
"email": "xyz789",
"admin": AdminDetails,
"status": 123
}
Asset
Example
{
"_id": 4,
"name": "abc123",
"description": "xyz789",
"status": 987,
"fileUrl": "xyz789",
"assetcategoryId": 4,
"createdBy": 4,
"updatedBy": "4"
}
AssetCategory
AssetCategoryInput
AssetInput
Avenue
Fields
Field Name | Description |
---|---|
_id - ID
|
|
name - String
|
|
description - String
|
|
avenueTypeId - AvenueType
|
|
status - Int
|
Example
{
"_id": "4",
"name": "xyz789",
"description": "xyz789",
"avenueTypeId": AvenueType,
"status": 123
}
AvenueInput
AvenueType
AvenueTypeInput
Boolean
Description
The Boolean
scalar type represents true
or false
.
ChairDetails
ChairDetailsInput
ChangePasswordInput
Comment
Example
{
"_id": 4,
"supportTicketId": "4",
"content": "xyz789",
"superAdmin": "4",
"partner": "4",
"replies": [Reply],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
CommentsAndReplies
Fields
Field Name | Description |
---|---|
_id - ID
|
|
supportTicketId - ID
|
|
content - String
|
|
superAdmin - SuperAdmin
|
|
partner - Partner
|
|
replies - [GetReply]
|
|
createdAt - String
|
|
updatedAt - String
|
Example
{
"_id": 4,
"supportTicketId": 4,
"content": "abc123",
"superAdmin": SuperAdmin,
"partner": Partner,
"replies": [GetReply],
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
Company
CompanyInput
Fields
Input Field | Description |
---|---|
name - String
|
|
description - String
|
|
faundationYear - Int
|
|
technology - [softwareStackInput]
|
|
status - Int
|
Example
{
"name": "abc123",
"description": "abc123",
"faundationYear": 123,
"technology": [softwareStackInput],
"status": 123
}
CreateJobInput
Example
{
"jobTitle": "xyz789",
"jobType": "xyz789",
"skills": "abc123",
"description": "abc123",
"location": "xyz789",
"status": 123,
"createdBy": "4",
"companyId": "4"
}
CreateSupportTicketInput
DeleteResult
Fields
Field Name | Description |
---|---|
deletedCount - Int!
|
Example
{"deletedCount": 123}
Developer
Fields
Field Name | Description |
---|---|
_id - ID!
|
|
firstName - String!
|
|
lastName - String!
|
|
email - String!
|
|
password - String!
|
|
mobile - String
|
|
walletAddress - String
|
|
signupMode - String
|
|
userRole - UserRole
|
|
status2FA - Boolean!
|
|
isActive - Boolean!
|
|
deleteStatus - Boolean!
|
|
status - Int!
|
|
profilPicUrl - String
|
|
groups - [String]
|
|
assetIDs - [String]
|
|
lastLogin - String
|
Example
{
"_id": 4,
"firstName": "abc123",
"lastName": "abc123",
"email": "xyz789",
"password": "xyz789",
"mobile": "abc123",
"walletAddress": "abc123",
"signupMode": "xyz789",
"userRole": UserRole,
"status2FA": true,
"isActive": true,
"deleteStatus": true,
"status": 987,
"profilPicUrl": "abc123",
"groups": ["abc123"],
"assetIDs": ["xyz789"],
"lastLogin": "xyz789"
}
DeveloperInput
Fields
Input Field | Description |
---|---|
firstName - String!
|
|
lastName - String!
|
|
email - String!
|
|
password - String!
|
|
mobile - String
|
|
walletAddress - String
|
|
signupMode - String
|
|
userRole - String
|
|
status2FA - Boolean!
|
|
isActive - Boolean!
|
|
deleteStatus - Boolean!
|
|
status - Int!
|
|
profilPicUrl - String
|
|
groups - [String]
|
|
assetIDs - [String]
|
|
lastLogin - String
|
Example
{
"firstName": "abc123",
"lastName": "xyz789",
"email": "xyz789",
"password": "abc123",
"mobile": "abc123",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": "abc123",
"status2FA": true,
"isActive": true,
"deleteStatus": false,
"status": 123,
"profilPicUrl": "abc123",
"groups": ["xyz789"],
"assetIDs": ["xyz789"],
"lastLogin": "abc123"
}
EducationInput
Estate
EstateInput
ExperienceInput
File
FileInput
Folder
FolderInput
GeneralDocument
Example
{
"_id": "4",
"partnerId": 4,
"name": "xyz789",
"originalFileName": "abc123",
"url": "xyz789",
"status": 987,
"createdAt": "abc123",
"updatedAt": "xyz789",
"createdBy": "4",
"updatedBy": "4"
}
GeneralDocumentInput
GetReply
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
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
InviteAdminUserInput
InvitePartnerInput
Fields
Input Field | Description |
---|---|
_ids - [ID]!
|
Example
{"_ids": ["4"]}
InviteUser
Job
Example
{
"_id": 4,
"jobTitle": "abc123",
"jobType": "xyz789",
"skills": "abc123",
"description": "xyz789",
"location": "xyz789",
"status": 987,
"createdBy": "4",
"appliedBy": ["4"],
"updatedBy": 4,
"companyId": "4",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
Node
Example
{
"_id": 4,
"partnerId": "4",
"eNodeAddress": "xyz789",
"nodeId": "abc123",
"publicAddress": "xyz789",
"name": "xyz789",
"description": "abc123",
"status": 123,
"isActive": true,
"type": "abc123",
"publicKey": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"createdBy": "4",
"updatedBy": 4
}
NodeCount
NodeInput
Example
{
"partnerId": 4,
"eNodeAddress": "abc123",
"nodeId": "xyz789",
"publicAddress": "xyz789",
"name": "xyz789",
"description": "abc123",
"status": 123,
"isActive": false,
"publicKey": "xyz789",
"type": "xyz789",
"createdBy": 4,
"updatedBy": 4
}
Partner
Fields
Field Name | Description |
---|---|
_id - ID!
|
|
name - String
|
|
email - String
|
|
partnerCode - String
|
|
address - String
|
|
website - String
|
|
logo - String
|
|
pointOfContact - PointOfContact
|
|
signatoryAuthority - SignatoryAuthority
|
|
chairDetails - ChairDetails
|
|
studentAmbassador - [ID]
|
|
blockchainChapterName - String
|
|
status - Int
|
|
admin - ID
|
|
nodeStatus - Int
|
|
isActive - Boolean
|
|
createdAt - String
|
|
updatedAt - String
|
|
firstName - String
|
|
lastName - String
|
Example
{
"_id": 4,
"name": "xyz789",
"email": "abc123",
"partnerCode": "abc123",
"address": "abc123",
"website": "xyz789",
"logo": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"chairDetails": ChairDetails,
"studentAmbassador": [4],
"blockchainChapterName": "xyz789",
"status": 123,
"admin": 4,
"nodeStatus": 123,
"isActive": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"firstName": "abc123",
"lastName": "xyz789"
}
PartnerInput
PartnerInterest
Example
{
"_id": 4,
"name": "xyz789",
"email": "xyz789",
"address": "xyz789",
"pointOfContact": PointOfContact,
"signatoryAuthority": SignatoryAuthority,
"website": "xyz789",
"status": 987,
"queries": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
PartnerInterestFilterInput
PartnerInterestInput
Fields
Input Field | Description |
---|---|
name - String
|
|
email - String
|
|
address - String
|
|
pointOfContact - PointOfContactInput
|
|
signatoryAuthority - SignatoryAuthorityInput
|
|
website - String
|
|
status - Int
|
|
queries - String
|
Example
{
"name": "abc123",
"email": "xyz789",
"address": "xyz789",
"pointOfContact": PointOfContactInput,
"signatoryAuthority": SignatoryAuthorityInput,
"website": "abc123",
"status": 987,
"queries": "xyz789"
}
PartnerUpdateInput
Fields
Input Field | Description |
---|---|
name - String
|
|
email - String
|
|
partnerCode - String
|
|
address - String
|
|
website - String
|
|
logo - String
|
|
pointOfContact - PointOfContactInput
|
|
signatoryAuthority - SignatoryAuthorityInput
|
|
chairDetails - ChairDetailsInput
|
|
studentAmbassador - [ID]
|
|
blockchainChapterName - String
|
|
status - Int
|
|
admin - ID
|
|
nodeStatus - Int
|
|
isActive - Boolean
|
|
createdAt - String
|
|
updatedAt - String
|
Example
{
"name": "xyz789",
"email": "abc123",
"partnerCode": "abc123",
"address": "abc123",
"website": "xyz789",
"logo": "abc123",
"pointOfContact": PointOfContactInput,
"signatoryAuthority": SignatoryAuthorityInput,
"chairDetails": ChairDetailsInput,
"studentAmbassador": ["4"],
"blockchainChapterName": "xyz789",
"status": 987,
"admin": "4",
"nodeStatus": 123,
"isActive": false,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
PointOfContact
PointOfContactInput
Project
ProjectInput
Reply
ResetPasswordConfirmInput
ResetPasswordInput
Fields
Input Field | Description |
---|---|
email - String!
|
Example
{"email": "xyz789"}
SignatoryAuthority
SignatoryAuthorityInput
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"
SuperAdmin
SupportTicket
Example
{
"_id": 4,
"title": "abc123",
"description": "abc123",
"submittedBy": 4,
"resolvedBy": "4",
"status": 123,
"docUrl": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
Token
UpdateDeveloperInput
Fields
Input Field | Description |
---|---|
firstName - String!
|
|
lastName - String!
|
|
mobile - String
|
|
walletAddress - String
|
|
signupMode - String
|
|
userRole - String
|
|
status2FA - Boolean
|
|
isActive - Boolean!
|
|
deleteStatus - Boolean
|
|
status - Int
|
|
profilPicUrl - String
|
|
groups - [String]
|
|
assetIDs - [String]
|
|
lastLogin - String
|
Example
{
"firstName": "abc123",
"lastName": "xyz789",
"mobile": "abc123",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": "xyz789",
"status2FA": true,
"isActive": true,
"deleteStatus": false,
"status": 987,
"profilPicUrl": "xyz789",
"groups": ["abc123"],
"assetIDs": ["xyz789"],
"lastLogin": "abc123"
}
UpdateDeveloperProfileInput
Fields
Input Field | Description |
---|---|
address - String
|
|
education - [EducationInput]
|
|
experience - [ExperienceInput]
|
|
skills - String
|
|
resume - String
|
|
coverLater - String
|
|
appliedDate - String
|
|
projects - [String]
|
|
status - Int
|
Example
{
"address": "xyz789",
"education": [EducationInput],
"experience": [ExperienceInput],
"skills": "abc123",
"resume": "xyz789",
"coverLater": "xyz789",
"appliedDate": "xyz789",
"projects": ["xyz789"],
"status": 987
}
UpdateJobInput
Example
{
"_id": "4",
"jobTitle": "abc123",
"jobType": "abc123",
"skills": "xyz789",
"description": "xyz789",
"location": "abc123",
"updatedBy": "4",
"appliedBy": ["4"]
}
UpdateSupportTicketInput
UpdateUserInput
Fields
Input Field | Description |
---|---|
firstName - String!
|
|
lastName - String!
|
|
mobile - String
|
|
walletAddress - String
|
|
signupMode - String
|
|
userRole - String
|
|
status2FA - Boolean
|
|
isActive - Boolean!
|
|
deleteStatus - Boolean
|
|
status - Int
|
|
profilPicUrl - String
|
|
groups - [String]
|
|
assetIDs - [String]
|
|
lastLogin - String
|
Example
{
"firstName": "xyz789",
"lastName": "abc123",
"mobile": "xyz789",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": "xyz789",
"status2FA": false,
"isActive": false,
"deleteStatus": false,
"status": 123,
"profilPicUrl": "xyz789",
"groups": ["abc123"],
"assetIDs": ["abc123"],
"lastLogin": "xyz789"
}
User
Fields
Field Name | Description |
---|---|
_id - ID!
|
|
firstName - String!
|
|
lastName - String!
|
|
uuid - String
|
|
email - String!
|
|
password - String!
|
|
mobile - String
|
|
walletAddress - String
|
|
signupMode - String
|
|
userRole - UserRole
|
|
status2FA - Boolean!
|
|
isActive - Boolean!
|
|
deleteStatus - Boolean!
|
|
status - Int
|
|
profilPicUrl - String
|
|
groups - [String]
|
|
assetIDs - [String]
|
|
lastLogin - String
|
Example
{
"_id": "4",
"firstName": "abc123",
"lastName": "abc123",
"uuid": "abc123",
"email": "xyz789",
"password": "abc123",
"mobile": "xyz789",
"walletAddress": "xyz789",
"signupMode": "xyz789",
"userRole": UserRole,
"status2FA": false,
"isActive": false,
"deleteStatus": false,
"status": 987,
"profilPicUrl": "xyz789",
"groups": ["abc123"],
"assetIDs": ["abc123"],
"lastLogin": "xyz789"
}
UserInput
Fields
Input Field | Description |
---|---|
firstName - String!
|
|
lastName - String!
|
|
email - String!
|
|
password - String!
|
|
mobile - String
|
|
walletAddress - String
|
|
signupMode - String
|
|
userRole - String
|
|
status2FA - Boolean!
|
|
isActive - Boolean!
|
|
deleteStatus - Boolean!
|
|
status - Int
|
|
profilPicUrl - String
|
|
groups - [String]
|
|
assetIDs - [String]
|
|
lastLogin - String
|
Example
{
"firstName": "xyz789",
"lastName": "abc123",
"email": "abc123",
"password": "xyz789",
"mobile": "xyz789",
"walletAddress": "abc123",
"signupMode": "abc123",
"userRole": "xyz789",
"status2FA": false,
"isActive": true,
"deleteStatus": true,
"status": 987,
"profilPicUrl": "xyz789",
"groups": ["xyz789"],
"assetIDs": ["xyz789"],
"lastLogin": "xyz789"
}
UserRole
UserRoleInput
VerifyAdminUserInput
authUser
inviteUserInput
softwareStackInput
Fields
Input Field | Description |
---|---|
softwareStack - String
|
Example
{"softwareStack": "xyz789"}
softwareStackType
Fields
Field Name | Description |
---|---|
softwareStack - String
|
Example
{"softwareStack": "abc123"}
verifyEmailInput
Fields
Input Field | Description |
---|---|
token - String!
|
Example
{"token": "xyz789"}
verifyUser
Fields
Field Name | Description |
---|---|
email - String!
|
Example
{"email": "xyz789"}