> ## Documentation Index
> Fetch the complete documentation index at: https://docs.health-street.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Order

> Create a new Order



## OpenAPI

````yaml post /vLatest/action/glasscore/order
openapi: 3.1.0
info:
  version: 2.0.0
  title: Health Street API
  description: >-
    The Health Street API provides secure and reliable endpoints to manage drug
    tests, background checks, DNA checks, and occupational health tests.
servers:
  - url: https://api.glass.fm
security: []
paths:
  /vLatest/action/glasscore/order:
    post:
      tags:
        - Order
      summary: Create Order
      description: Create a new Order
      operationId: CreateOrder
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                orderItem:
                  type: array
                  items:
                    type: object
                    properties:
                      ApplyTo~OrgId:
                        type: number
                        nullable: true
                        description: >-
                          Indicates the organization ID to which the order item
                          is to be applied.
                      bkgd_courtRecordState:
                        type: string
                        description: >-
                          Indicates the state jurisdiction of the background
                          court record associated with a specific order item.
                      customTwilio:
                        type: string
                        description: >-
                          Indicates whether a custom Twilio communication
                          service is used for the specific order item.
                      descrip:
                        type: string
                        description: Description of record.
                      dna_alternateSpecimenRelationship:
                        type: string
                        description: >-
                          Indicates the relationship between the primary
                          specimen and any alternate specimens used in the DNA
                          testing process.
                      dna_numberAppointment:
                        type: number
                        nullable: true
                        description: >-
                          Represents the number of appointments associated with
                          a specific DNA test in an order.
                      dna_numberPartiesTested:
                        type: number
                        nullable: true
                        description: >-
                          Indicates the number of individuals whose DNA was
                          tested in a specific order.
                      hsBackground:
                        type: array
                        items:
                          type: object
                          properties:
                            degreeAttained:
                              type: string
                              description: >-
                                Represents the highest level of education
                                achieved by the individual from high school.
                            descrip:
                              type: string
                              description: Description of record.
                            OrderItemId:
                              type: number
                              nullable: true
                              description: >-
                                Represents the unique identifier for each item
                                within an order in the HsBackground table.
                            priorEmployerCity:
                              type: string
                              description: >-
                                Represents the city where the high school
                                student previously worked.
                            priorEmployerJobTitle:
                              type: string
                              description: >-
                                Refers to the job title held at the previous
                                place of employment for the individual.
                            priorEmployerMonthEnd:
                              type: string
                              description: >-
                                Represents the month when the individual's
                                employment ended at their previous job.
                            priorEmployerMonthStart:
                              type: string
                              description: >-
                                Represents the month the individual began
                                working at their previous job.
                            priorEmployerName:
                              type: string
                              description: >-
                                Stores the name of the high school student's
                                previous employer.
                            priorEmployerReasonTerm:
                              type: string
                              description: >-
                                Stores the reason why the individual terminated
                                their employment with their previous employer.
                            priorEmployerState:
                              type: string
                              description: >-
                                Represents the state location of the high school
                                student's previous employer.
                            priorEmployerYearEnd:
                              type: string
                              description: >-
                                Represents the year an individual ended their
                                employment with a previous employer in the high
                                school background context.
                            priorEmployerYearStart:
                              type: string
                              description: >-
                                Represents the year the individual began working
                                at their previous job.
                            professionalLicenseNumber:
                              type: string
                              description: >-
                                Stores the unique identifier associated with a
                                healthcare professional's certification or
                                licensure.
                            professionalLicenseState:
                              type: string
                              description: >-
                                Indicates the state where the professional
                                license, related to the high school background,
                                is registered or valid.
                            professionalLicenseType:
                              type: string
                              description: >-
                                Specifies the category or kind of professional
                                certification held by the individual in the
                                health science background.
                            referenceEmail:
                              type: string
                              description: >-
                                Stores the email address of a reference
                                associated with a high school background record.
                            referenceName:
                              type: string
                              description: >-
                                Stores the identifier or title for a specific
                                background in the high school database.
                            referencePhone:
                              type: string
                              description: >-
                                The phone number of a reference associated with
                                the high school background.
                            referenceRelationship:
                              type: string
                              description: >-
                                Indicates the connection or association between
                                the individual and the reference mentioned in
                                their high school background.
                            schoolAttended:
                              type: string
                              description: >-
                                Represents the high school that the individual
                                attended.
                            schoolCity:
                              type: string
                              description: >-
                                Represents the city where the high school,
                                indicated in the HsBackground table, is located.
                            schoolMajor:
                              type: string
                              description: >-
                                The specific subject or discipline a student
                                specialized in during their high school
                                education.
                            schoolMonthEnd:
                              type: string
                              description: >-
                                Indicates the ending month of the school year
                                for the high school in the HsBackground table.
                            schoolMonthStart:
                              type: string
                              description: >-
                                Indicates the month when the academic year
                                begins at the high school.
                            schoolState:
                              type: string
                              description: >-
                                Represents the U.S. state where the high school,
                                mentioned in the background information, is
                                located.
                            schoolYearEnd:
                              type: string
                              description: >-
                                Indicates the year a high school student
                                finished or is expected to finish their studies.
                            schoolYearStart:
                              type: string
                              description: >-
                                Indicates the year a high school student began
                                their education.
                            workersCompState:
                              type: string
                              description: >-
                                Indicates the state in which a worker's
                                compensation claim is filed or managed.
                        description: >-
                          Represents the high school background of the
                          individual who placed the order.
                      hsDna:
                        type: array
                        items:
                          type: object
                          properties:
                            acknowledgeNyReg:
                              type: boolean
                              nullable: true
                              description: >-
                                Indicates whether the New York regulations
                                related to HS DNA have been acknowledged.
                            acknowledgePrenatalLabFee:
                              type: boolean
                              nullable: true
                              description: >-
                                Indicates whether the prenatal lab fee for high
                                sensitivity DNA testing has been acknowledged.
                            alternateSpecimenType:
                              type: string
                              description: >-
                                Indicates a different type of sample used for
                                DNA analysis, other than the primary one.
                            auntUncleInfo:
                              type: string
                              description: >-
                                Contains genetic data related to the
                                individual's maternal and paternal aunts and
                                uncles.
                            childInfo:
                              type: string
                              description: >-
                                Stores data related to the offspring of the DNA
                                sample in the HsDna table.
                            descrip:
                              type: string
                              description: Description of record.
                            DnaStudyId1:
                              type: number
                              nullable: true
                              description: >-
                                Represents the first identifier associated with
                                a specific DNA study in the human DNA table.
                            DnaStudyId2:
                              type: number
                              nullable: true
                              description: >-
                                Secondary identifier for a specific DNA study in
                                the HsDna table.
                            DnaStudyId3:
                              type: number
                              nullable: true
                              description: >-
                                Represents the third identification number
                                associated with a specific DNA study in the
                                human DNA table.
                            fatherInfo:
                              type: string
                              description: >-
                                Contains data related to the paternal genetic
                                information in a high school DNA database.
                            grandparentInfo:
                              type: string
                              description: >-
                                Contains data related to the grandparents of the
                                individual whose DNA sample is stored in the
                                HsDna table.
                            immigrationCountry:
                              type: string
                              description: >-
                                Represents the country from which the individual
                                migrated, in the high school DNA database.
                            labAccount:
                              type: string
                              description: >-
                                Stores the identifier for the laboratory account
                                associated with the human DNA sample.
                            motherInfo:
                              type: string
                              description: >-
                                Contains the genetic information or relevant
                                details about the mother in a high school DNA
                                study.
                            OrderItemId:
                              type: number
                              nullable: true
                              description: >-
                                Represents the unique identifier for each item
                                in an order within the HsDna table.
                            otherPartyInfo:
                              type: string
                              description: >-
                                Contains additional details about the
                                counterpart involved in the HsDna record.
                            preferredApptDate:
                              anyOf:
                                - type: string
                                - type: string
                              description: >-
                                Indicates the date the patient would like to
                                schedule their appointment.
                            sibling1Info:
                              type: string
                              description: >-
                                Contains information related to the first
                                sibling in the high school DNA database.
                            sibling2Info:
                              type: string
                              description: >-
                                Contains details about the second sibling in the
                                high school DNA database.
                        description: >-
                          Indicates the presence or absence of human-specific
                          DNA in the ordered item.
                      hsDrug:
                        type: array
                        items:
                          type: object
                          properties:
                            bkgd_courtRecordState:
                              type: string
                              description: >-
                                Indicates the state where the court record,
                                related to a background check for drug history,
                                is registered.
                            dna_alternateSpecimenRelationship:
                              type: string
                              description: >-
                                Indicates the relationship between the DNA
                                sample and an alternate specimen in the context
                                of a specific drug.
                            dna_numberAppointment:
                              type: number
                              nullable: true
                              description: >-
                                Represents the number of appointments associated
                                with a specific DNA drug in the HsDrug table.
                            dna_numberPartiesTested:
                              type: number
                              nullable: true
                              description: >-
                                Indicates the number of individuals whose DNA
                                was tested in relation to the specific drug
                                record.
                            isBodyHair:
                              type: boolean
                              nullable: true
                              description: >-
                                Indicates whether the drug is related to body
                                hair growth or removal.
                            isObserved:
                              type: boolean
                              nullable: true
                              description: >-
                                Indicates whether the drug in question has been
                                monitored or tracked.
                            isQuantitative:
                              type: boolean
                              nullable: true
                              description: >-
                                Indicates whether the drug in the HsDrug table
                                is measured in quantitative terms.
                            OrderItemId:
                              type: number
                              nullable: true
                              description: Unique identifier for each item in a drug order.
                            passportNotes:
                              type: string
                              description: >-
                                Contains any additional information or comments
                                related to the passport of the drug in the
                                HsDrug table.
                            randomPoolType:
                              type: string
                              description: >-
                                Specifies the category or classification of the
                                randomization method used in drug trials.
                        description: >-
                          Indicates whether the ordered item is a high-security
                          drug.
                      hsVendorId:
                        type: number
                        nullable: true
                        description: >-
                          Identifies the vendor associated with a specific order
                          item.
                      isBodyHair:
                        type: boolean
                        nullable: true
                        description: >-
                          Indicates whether the ordered item is related to body
                          hair products or services.
                      isObserved:
                        type: boolean
                        nullable: true
                        description: >-
                          Indicates whether the order item has been monitored or
                          checked.
                      isQuantitative:
                        type: boolean
                        nullable: true
                        description: >-
                          Indicates whether the OrderItem is measured in
                          numerical quantities or not.
                      MarketplaceLocationId:
                        type: number
                        nullable: true
                        description: >-
                          Identifies the specific location of the marketplace
                          where the order item was purchased.
                      ModalityId:
                        type: number
                        nullable: true
                        description: >-
                          Identifies the specific method or approach used for
                          the order item.
                      notesExternal:
                        type: string
                        description: >-
                          Contains additional information or comments about the
                          order item from external sources or third parties.
                      PersonId:
                        type: number
                        description: >-
                          Unique identifier for the individual who placed the
                          order.
                      ProductId:
                        type: number
                        description: >-
                          Unique identifier for the specific product associated
                          with an order item.
                      quantity:
                        type: number
                        nullable: true
                        description: >-
                          Represents the number of specific items purchased in a
                          single order.
                      ReasonId:
                        type: number
                        nullable: true
                        description: >-
                          Identifies the specific reason associated with an item
                          in an order.
                    required:
                      - PersonId
                      - ProductId
                  description: >-
                    Represents the specific product or service purchased in a
                    transaction.
                PaymentId:
                  type: number
                  nullable: true
                  description: >-
                    Unique identifier for a specific transaction associated with
                    an order.
                PersonId:
                  type: number
                  nullable: true
                  description: Unique identifier for the individual who placed the order.
      responses:
        '200':
          description: Order

````