POST api/Exams
Creates a new exam or updates the information of an existent exam.
Request Information
URI Parameters
None.
Body Parameters
ExamModel| Name | Description | Type | Additional 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-10-12T23:26:20.6942126+00:00",
"id": "2deea3d0-1441-4971-acd8-48d655894bc9",
"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">2deea3d0-1441-4971-acd8-48d655894bc9</Id> <Date>2026-10-12T23:26:20.6942126+00:00</Date> <DoctorExternalID>sample string 2</DoctorExternalID> <PatientExternalID>sample string 1</PatientExternalID> </ExamModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ExamModel| Name | Description | Type | Additional 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-10-12T23:26:20.6942126+00:00",
"id": "a2f04f25-452b-47b0-8504-e711ac4c0f55",
"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">a2f04f25-452b-47b0-8504-e711ac4c0f55</Id> <Date>2026-10-12T23:26:20.6942126+00:00</Date> <DoctorExternalID>sample string 2</DoctorExternalID> <PatientExternalID>sample string 1</PatientExternalID> </ExamModel>