Skip to main content
POST
/
v2
/
action
/
glasscore
/
person
Create Person
curl --request POST \
  --url https://api.glass.fm/v2/action/glasscore/person \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nameFirst": "<string>",
  "nameLast": "<string>",
  "OrgId": 123,
  "zip": "<string>",
  "alias": [
    {
      "PersonId": 123,
      "AliasTypeId": 123,
      "nameFirst": "<string>",
      "nameLast": "<string>"
    }
  ],
  "applicant": [
    {
      "PersonId": 123,
      "aliasNameFirst": "<string>",
      "aliasNameLast": "<string>",
      "applicationDate": "<string>",
      "currentAddressYearStart": "<string>",
      "georgia_race": "<string>",
      "info": [
        {
          "OrderItemId": 123,
          "descrip": "<string>",
          "infoItem": [
            {
              "FeatureSetId": 123,
              "AttributeId": "<string>",
              "choice": "<string>",
              "featureSetDescrip": "<string>",
              "featureSetName": "<string>",
              "InfoId": 123,
              "PersonId": 123,
              "valueDate": "<string>",
              "valueFeatureId": 123,
              "valueNumber": 123,
              "valueText": "<string>"
            }
          ],
          "isSubmitted": 123,
          "PersonId": 123,
          "ProductId": 123
        }
      ],
      "priorAddressCity": "<string>",
      "priorAddressCounty": "<string>",
      "priorAddressState": "<string>",
      "priorAddressStreetPrimary": "<string>",
      "priorAddressStreetSecondary": "<string>",
      "priorAddressYearEnd": "<string>",
      "priorAddressYearStart": "<string>",
      "priorAddressZip": "<string>",
      "ssn": "<string>"
    }
  ],
  "author": [
    {
      "PersonId": 123,
      "affiliation": "<string>",
      "avatarUploadCare": "<string>",
      "bio": "<string>",
      "birthPlace": "<string>",
      "ContentId": 123,
      "isActive": true,
      "jobTitle": "<string>",
      "nationality": "<string>",
      "o_dateOfBirth": "<string>",
      "o_gender": "<string>",
      "o_nameFirst": "<string>",
      "o_nameLast": "<string>",
      "override": "<string>",
      "slug": "<string>",
      "telephone": "<string>",
      "url": "<string>",
      "worksFor": "<string>"
    }
  ],
  "CategoryId": 123,
  "city": "<string>",
  "dateOfBirth": "<string>",
  "email": "<string>",
  "gender": "<string>",
  "lat": 123,
  "lng": 123,
  "nameMiddle": "<string>",
  "phone": "<string>",
  "phoneOffice": "<string>",
  "phoneOfficeExt": "<string>",
  "Preferred~HsVendorId": 123,
  "RandomPoolStatusId": 123,
  "staff": [
    {
      "PersonId": 123,
      "CategoryId": 123,
      "dateOfHire": "<string>",
      "dateOfTermination": "<string>",
      "jobTitle": "<string>",
      "JobTitleId": 123,
      "salary": 123,
      "SalaryPeriodId": 123
    }
  ],
  "state": "<string>",
  "streetPrimary": "<string>",
  "streetSecondary": "<string>",
  "tagJoin": [
    {
      "parentEntity": "<string>",
      "ParentId": 123,
      "TagId": 123
    }
  ],
  "user": [
    {
      "nameFirst": "<string>",
      "nameLast": "<string>",
      "RoleId": 123,
      "avatar": "<string>",
      "email": "<string>",
      "getInvoiceEmail": true,
      "getMarketingEmail": true,
      "getMarketingText": true,
      "getOrderItemRegistrationEmail": true,
      "getOrderItemRegistrationText": true,
      "getOrderItemResultEmail": true,
      "getOrderItemResultText": true,
      "getOrderItemStatusEmail": true,
      "getOrderItemStatusText": true,
      "getOrgMonthRandomsEmail": true,
      "isInvited": true,
      "isSuspended": true,
      "nickname": "<string>",
      "PersonId": 123,
      "phone": "<string>",
      "UserOverride": [
        {
          "EntityId": 123,
          "UserId": 123,
          "add": "<string>",
          "blockDrop": true,
          "delete": "<string>",
          "edit": "<string>",
          "get": "<string>"
        }
      ]
    }
  ],
  "UserId": 123
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
nameFirst
string
required

Contains the first name of the individual in the Person table.

Minimum string length: 1
nameLast
string
required

Stores the surname of the individual.

Minimum string length: 1
OrgId
number
required

Represents the unique identifier for the organization to which the individual belongs.

zip
string
required

Stores the postal code associated with each individual's residential address.

Minimum string length: 1
alias
object[]

Stores an alternate name or nickname that the individual goes by.

applicant
object[]

Refers to the individual who has submitted an application or request.

author
object[]

Indicates the individual who has written a book or a publication.

CategoryId
number | null

Represents the unique identifier for the category to which a person belongs.

city
string

Represents the urban area or municipality where the individual resides.

dateOfBirth

Records the day, month, and year when the individual was born.

email
string

Stores the electronic mail address of the individual.

gender
string

Indicates the sex of the individual as male, female, or other.

lat
number | null

Stores the latitude coordinate of a person's location.

lng
number | null

Stores the longitude coordinate of a person's location.

nameMiddle
string

Stores the middle name of an individual.

phone
string

Stores the contact number of the individual.

phoneOffice
string

Contains the office contact number of the individual.

phoneOfficeExt
string

Represents the extension number for the individual's office telephone.

Preferred~HsVendorId
number | null

Indicates the ID of the preferred home services vendor for the individual.

RandomPoolStatusId
number | null

Indicates the status of a person's association with a random pool in a system, typically represented by a unique identifier.

staff
object[]

Indicates whether the person is an employee of the organization or not.

state
string

Indicates the U.S. state or territory where the individual resides.

streetPrimary
string

Contains the main street address for an individual.

streetSecondary
string

Contains additional information about the person's street address such as apartment or suite number.

tagJoin
object[]

Associates a person with specific labels or categories for easier search and organization.

user
object[]

Contains the unique identifier or username associated with each individual in the Person table.

UserId
number | null

A unique identifier assigned to each individual in the Person table.

Response

200

Person