---
title: "Get a test. Roles: admin, member."
method: GET
path: "/api/tests/{testId}"
tags: ["Tests"]
---

# Get a test. Roles: admin, member.

`GET /api/tests/{testId}`

## Path parameters

- `testId` integer, required

## Response `200`

OK

- TestResponseTestFullWithEventRegistration
  - `success` boolean
  - `error` string
  - `test` TestFullWithEventRegistration
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `testId` integer
    - `testType` TestTypeCore
      - `audit` Audit
        - `createdTime` string, date-time
        - `modifiedTime` string, date-time
        - `modifiedBy` string
      - `testTypeId` integer
      - `membershipId` integer
      - `code` string
      - `name` string
      - `description` string
      - `external` boolean
    - `member` MemberSlim
      - `userMembershipId` integer
      - `membershipId` integer
      - `username` string
      - `firstName` string
      - `middleName` string
      - `lastName` string
      - `email` string
      - `phone` string
      - `membershipNumber` string
      - `fullName` string
      - `isPrimary` boolean
    - `testSteps` TestStepFull[]
      - `audit` Audit
        - `createdTime` string, date-time
        - `modifiedTime` string, date-time
        - `modifiedBy` string
      - `testStepId` integer
      - `stepNumber` integer
      - `name` string
      - `runDateTime` string, date-time
      - `observations` TestStepObservationCore[]
        - `audit` Audit
          - `createdTime` string, date-time
          - `modifiedTime` string, date-time
          - `modifiedBy` string
        - `valueNumber` number
        - `valueString` string
        - `valueBoolean` boolean
        - `valueDate` string, date
        - `valueDateTime` string, date-time
        - `testVariable` TestVariableCore
          - `audit` Audit
            - `createdTime` string, date-time
            - `modifiedTime` string, date-time
            - `modifiedBy` string
          - `testVariableId` integer
          - `uomId` integer
          - `code` string
          - `contextCode` 'STEP' | 'TEST'
          - `datatypeCode` 'BOOLEAN' | 'DATE' | 'DATETIME' | 'HTML' | 'NUMBER' | 'STRING' | 'TIME'
          - `required` boolean
          - `name` string
          - `abbr` string
          - `seq` integer
          - `numScale` integer
        - `testObservationId` integer
    - `observations` TestObservationCore[]
      - `audit` Audit
        - `createdTime` string, date-time
        - `modifiedTime` string, date-time
        - `modifiedBy` string
      - `testObservationId` integer
      - `valueNumber` number
      - `valueString` string
      - `valueBoolean` boolean
      - `valueDate` string, date
      - `valueDateTime` string, date-time
      - `testVariable` TestVariableCore
        - `audit` Audit
          - `createdTime` string, date-time
          - `modifiedTime` string, date-time
          - `modifiedBy` string
        - `testVariableId` integer
        - `uomId` integer
        - `code` string
        - `contextCode` 'STEP' | 'TEST'
        - `datatypeCode` 'BOOLEAN' | 'DATE' | 'DATETIME' | 'HTML' | 'NUMBER' | 'STRING' | 'TIME'
        - `required` boolean
        - `name` string
        - `abbr` string
        - `seq` integer
        - `numScale` integer
    - `eventRegistration` EventRegistrationCoreWithEvent
      - `audit` Audit
        - `createdTime` string, date-time
        - `modifiedTime` string, date-time
        - `modifiedBy` string
      - `eventRegistrationId` integer
      - `rsvpStatus` 'NONE' | 'ACCEPTED' | 'TENTATIVE' | 'DECLINED'
      - `confirmDateTime` string, date-time
      - `checkInDateTime` string, date-time
      - `creditsEarned` number
      - `event` EventSlim
        - `audit` Audit
          - `createdTime` string, date-time
          - `modifiedTime` string, date-time
          - `modifiedBy` string
        - `alternateLocales` object
          - `empty` boolean
        - `eventId` integer
        - `membershipId` integer
        - `attendanceTypeCode` 'IN_PERSON' | 'VIRTUAL'
        - `registrationTypeCode` 'OPEN' | 'REGISTRATION' | 'REGISTRATION_WITH_RSVP' | 'TICKETED'
        - `eventSeries` EventSeriesFull
          - `audit` Audit
            - `createdTime` string, date-time
            - `modifiedTime` string, date-time
            - `modifiedBy` string
          - `eventSeriesId` integer
          - `period` 'DAILY' | 'WEEKLY'
          - `stepSize` integer
          - `endDate` string, date
          - `endCount` integer
        - `title` string
        - `description` string
        - `body` string
        - `externalBody` string
        - `location` string
        - `startDateTime` string, date-time
        - `endDateTime` string, date-time
        - `registrationOpenDateTime` string, date-time
        - `registrationCloseDateTime` string, date-time
        - `timeZoneId` string
        - `allDay` boolean
        - `credits` number
        - `published` boolean
        - `unlisted` boolean
        - `allowViewRegistrations` boolean
        - `registrationTicketingEnabled` boolean
        - `dependentRegistrationEnabled` boolean
        - `cancelled` boolean
        - `external` boolean
        - `imageUuid` string, uuid
        - `contactLabel` string
        - `contactUrl` string
        - `audienceId` integer
        - `audiencePromo` AudiencePromo
          - `contentId` integer
          - `actionText` string
          - `localizedValues` AudiencePromoLocaleValues
            - `actionText` string
        - `reminder1Minutes` integer
        - `reminder2Minutes` integer
        - `emailRemindersEnabled` boolean
        - `registrationsMax` integer
        - `registrationsMaxWarningThreshold` integer
        - `previewing` boolean
        - `locale` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/f2568e11c0ab/schema)
