createApplicant

This mutation creates a new applicant to your organization.

Sample Mutation

Register an applicant to an organization:

mutation{
  createApplicant(orgID:"a1dc174d-abf4-47d3-be3c-9281c6eba456"
  input:{
    firstName:"Satoru"
    lastName:"Gojo"
    email:"[email protected]"
    dob:"December 7 1989"
    idNumbers:{
      type:"member"
      value:"ss"
      stateCode:"TX"
    }
    address:{
      flatNumber:"089"
      buildingName:"Shibuya"
      buildingNumber:"031"
      street:"MemoryLane"
      subStreet:"Lane"
      town:"Tokyo"
      postcode:"100 0000"
      country:"JPN"
      line1:"Shibuya Building Flat nr 089"
      line2:"Memory Lane Street 31"
      line3:"Tokyo, JPN"
      state:"Tokyo"
    }
  }){
    id
    firstName
    lastName
    email
    dob
    href
  }
}

Arguments

Name

Type

Description

Required

orgID

UUID

The organization ID.

Yes

input

Object

An onject that contains all information about ApplicantRequest object.

Yes

Returns

Name

Type

Description

ApplicantResponse

Object

An object

Mutation Schema

type Mutation{

createApplicant(orgID: UUID1! input: ApplicantRequest!): ApplicantResponse!

}