POST api/Exams

Creates a new exam or updates the information of an existent exam.

Request Information

URI Parameters

None.

Body Parameters

ExamModel
NameDescriptionTypeAdditional information
PatientExternalID

Patient number of the exam (Required).

string

None.

DoctorExternalID

Doctor number of the exam.

string

None.

Date

Date of the exam (Required).

date

None.

Id

Unique ID of the model in the portal (Read only).

globally unique identifier

None.

ExternalId

Unique ID of the model on integrating system (Required).

string

None.

Request Formats

application/json, text/json

Sample:
{
  "patientExternalID": "sample string 1",
  "doctorExternalID": "sample string 2",
  "date": "2026-05-29T16:57:20.4063093+00:00",
  "id": "c811b6f1-91ec-4b34-8771-6b5811e5901f",
  "externalId": "sample string 5"
}

application/xml, text/xml

Sample:
<ExamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.Exams">
  <ExternalId xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">sample string 5</ExternalId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">c811b6f1-91ec-4b34-8771-6b5811e5901f</Id>
  <Date>2026-05-29T16:57:20.4063093+00:00</Date>
  <DoctorExternalID>sample string 2</DoctorExternalID>
  <PatientExternalID>sample string 1</PatientExternalID>
</ExamModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ExamModel'.

Response Information

Resource Description

ExamModel
NameDescriptionTypeAdditional information
PatientExternalID

Patient number of the exam (Required).

string

None.

DoctorExternalID

Doctor number of the exam.

string

None.

Date

Date of the exam (Required).

date

None.

Id

Unique ID of the model in the portal (Read only).

globally unique identifier

None.

ExternalId

Unique ID of the model on integrating system (Required).

string

None.

Response Formats

application/json, text/json

Sample:
{
  "patientExternalID": "sample string 1",
  "doctorExternalID": "sample string 2",
  "date": "2026-05-29T16:57:20.4063093+00:00",
  "id": "9db56633-ba98-4cbd-aacf-5ad0f43a3e6f",
  "externalId": "sample string 5"
}

application/xml, text/xml

Sample:
<ExamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.Exams">
  <ExternalId xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">sample string 5</ExternalId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">9db56633-ba98-4cbd-aacf-5ad0f43a3e6f</Id>
  <Date>2026-05-29T16:57:20.4063093+00:00</Date>
  <DoctorExternalID>sample string 2</DoctorExternalID>
  <PatientExternalID>sample string 1</PatientExternalID>
</ExamModel>