mutation CreatePerson {
  createPerson(
    input: {
      firstName: "John",
      surname: "Doe",
      middleName: "Michael",
      sexCode: "M",
      personRef: "REF12345",
      personTag: "TAG001",
      fatherName: "Robert",
      motherName: "Jane",
      countryCode: "US",
      nationalIdentityId: "12345678901",
      birthPlace: "New York",
      birthDate: "1990-01-01T00:00:00.000Z",
      taxNo: "987654321",
      birthname: "Johnathan"
    }
  ) {
    _id
    firstName
    surname
    birthDate
  }
}

mutation CreatePerson($input: CreatePersonInput!) {
  createPerson(input: $input) {
    firstName
    surname
    birthDate
  }
}

Variables:
{
  "input": {
    "firstName": "John1",
    "surname": "Doe2",
    "middleName": "Michael2",
    "sexCode": "M",
    "personRef": "REF12345",
    "personTag": "TAG001",
    "fatherName": "Robert",
    "motherName": "Jane",
    "countryCode": "US",
    "nationalIdentityId": "12345678903",
    "birthPlace": "New York",
    "birthDate": "1990-01-01T00:00:00.000Z",
    "taxNo": "987654321",
    "birthname": "Brithan"
  }
}

query {
  Persons {
    firstName
    surname
    middleName
    sexCode
    personRef
    personTag
    fatherName
    motherName
    countryCode
    nationalIdentityId
    birthPlace
    birthDate
    taxNo
    birthname
  }
}

query GetPerson {
  Person(id: "AnID") {
    _id
    uuid
    expiryStarts
    expiryEnds
    isConfirmed
    deleted
    active
    crypUuId
    createdCredentialsToken
    updatedCredentialsToken
    confirmedCredentialsToken
    isNotificationSend
    isEmailSend
    refInt
    refId
    replicationId
    createdAt
    updatedAt

    firstName
    surname
    middleName
    sexCode
    birthDate
  }
}