# Returns perioExam which has been created

Creates a resource from the request body. Validation errors return **400**; a successful create returns **201** with the created resource in `data`.

Endpoint: POST /v1/perioexams
Version: 193.0.0
Security: bearerAuth, oAuthSandbox

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

  - `oAuthSandbox` (unknown)
    oauth2

## Header parameters:

  - `Organization-ID` (string, required)
    Organization context for the request. Must match the organization authorized by the access token.

## Request body:

  - `application/json` (unknown)
    PerioExam input data

## Request fields (application/json):

  - `serviceDate` (string, required)
    Example: 2024-05-10

  - `script` (string, required)
    Enum: "FIRST", "SECOND", "THIRD", "FOURTH", "FIFTH", "SIXTH"

  - `finished` (boolean, required)
    Example: true

  - `toothNavigationScript` (string, required)
    Enum: "PD", "GM", "PD_GM"

  - `lagging` (integer)
    Example: 0

  - `hardPalate` (boolean)
    Example: true

  - `skipOptions` (array)

  - `voidStatus` (object)

  - `voidStatus.user` (object)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `voidStatus.user.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `voidStatus.dateVoided` (string)
    Example: 2018-07-09

  - `voidStatus.voidReason` (string)
    Enum: "MISTAKE", "OTHER", "ALLERGIC_REACTION", "OTHER_REACTION", "INEFFECTIVE", "MISTAKE_NOT_PRESCRIBED"

  - `voidStatus.note` (string)

  - `examCopy` (object)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `examCopy.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `lastEditedPerioProbe` (object)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `lastEditedPerioProbe.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `createdByUser` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `createdByUser.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `provider` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `provider.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `patient` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `patient.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `location` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `location.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

## Request examples:

  - `default` (unknown)

## Response 201:

  - `201` (unknown)
    Created

## Response 201 fields (application/json):

  - `data` (object)
    This Endpoint is being rate limited. More information can be found here: https://portal.hs1api.com/guide
    Example: {}

  - `data.serviceDate` (string, required)
    Example: 2024-05-10

  - `data.script` (string, required)
    Enum: "FIRST", "SECOND", "THIRD", "FOURTH", "FIFTH", "SIXTH"

  - `data.finished` (boolean, required)
    Example: true

  - `data.toothNavigationScript` (string, required)
    Enum: "PD", "GM", "PD_GM"

  - `data.lagging` (integer)
    Example: 0

  - `data.hardPalate` (boolean)
    Example: true

  - `data.skipOptions` (array)

  - `data.voidStatus` (object)

  - `data.voidStatus.id` (integer)
    Example: 13596

  - `data.voidStatus.user` (object)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.voidStatus.user.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.voidStatus.user.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.voidStatus.user.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `data.voidStatus.dateVoided` (string)
    Example: 2018-07-09

  - `data.voidStatus.voidReason` (string)
    Enum: "MISTAKE", "OTHER", "ALLERGIC_REACTION", "OTHER_REACTION", "INEFFECTIVE", "MISTAKE_NOT_PRESCRIBED"

  - `data.voidStatus.note` (string)

  - `data.examCopy` (object)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.examCopy.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.examCopy.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.examCopy.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `data.lastEditedPerioProbe` (object)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.lastEditedPerioProbe.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.lastEditedPerioProbe.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.lastEditedPerioProbe.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `data.id` (integer)
    Example: 100002

  - `data.created` (string)
    Example: 2024-05-10T00:00:00.000Z

  - `data.lastModified` (string)
    Example: 2018-07-09T20:30:00.000Z

  - `data.createdByUser` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.createdByUser.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.createdByUser.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.createdByUser.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `data.provider` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.provider.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.provider.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.provider.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `data.patient` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.patient.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.patient.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.patient.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `data.location` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.location.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.location.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.location.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `warnings` (array)

  - `warnings.code` (string)

  - `warnings.title` (string)

  - `warnings.description` (string)

  - `warnings.source` (string)

  - `errors` (array)

## Response 400:

  - `400` (unknown)
    The request was invalid or cannot be processed

## Response 401:

  - `401` (unknown)
    Authentication is required and has failed or has not been provided

## Response 403:

  - `403` (unknown)
    The request is understood, but it has been refused or access is not allowed

## Response 404:

  - `404` (unknown)
    The requested resource is either missing or does not exist

## Response 408:

  - `408` (unknown)
    The server timed out while processing the request

## Response 429:

  - `429` (unknown)
    Rate limit exceeded

## Response 500:

  - `500` (unknown)
    An unexpected error occurred

## Response 201 examples:

  - `default` (unknown)

