POST api/ConvertPortalPatientToPatient
Converts a portal patient into a patient. If the patient does not exist, a new patient will be created. All the data of the portal patient will be transferred to the patient.
Request Information
URI Parameters
None.
Body Parameters
ConvertPortalPatientToPatientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalPatientId |
Unique ID of the portal patient that will be converted to patient (Required). |
globally unique identifier |
None. |
| PatientExternalId |
Unique ID of the converted patient in the integrating system (Required). |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"portalPatientId": "1ced482a-b451-4806-9c39-f4be5cfe675f",
"patientExternalId": "sample string 2"
}
application/xml, text/xml
Sample:
<ConvertPortalPatientToPatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.PortalPatients"> <PatientExternalId>sample string 2</PatientExternalId> <PortalPatientId>1ced482a-b451-4806-9c39-f4be5cfe675f</PortalPatientId> </ConvertPortalPatientToPatientModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ConvertPortalPatientToPatientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalPatientId |
Unique ID of the portal patient that will be converted to patient (Required). |
globally unique identifier |
None. |
| PatientExternalId |
Unique ID of the converted patient in the integrating system (Required). |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"portalPatientId": "831da9cd-33a3-49e1-a0ab-0680db2e806f",
"patientExternalId": "sample string 2"
}
application/xml, text/xml
Sample:
<ConvertPortalPatientToPatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.PortalPatients"> <PatientExternalId>sample string 2</PatientExternalId> <PortalPatientId>831da9cd-33a3-49e1-a0ab-0680db2e806f</PortalPatientId> </ConvertPortalPatientToPatientModel>