POST api/PatientHospitalizationHistories
Request Information
URI Parameters
None.
Body Parameters
PatientHospitalizationHistoryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CPI | string |
None. |
|
DIV_ID | integer |
None. |
|
HOSPITALIZED | boolean |
None. |
|
ADMISSION | date |
None. |
|
HOSPITAL | string |
None. |
|
REASON | string |
None. |
|
DISCHARGED | date |
None. |
|
ENTR_BY | string |
None. |
|
ENTR_DATE | date |
None. |
|
READMISSION | boolean |
None. |
|
OLD | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "CPI": "sample string 2", "DIV_ID": 3, "HOSPITALIZED": true, "ADMISSION": "2025-08-29T02:54:44.9619206+00:00", "HOSPITAL": "sample string 6", "REASON": "sample string 7", "DISCHARGED": "2025-08-29T02:54:44.9619206+00:00", "ENTR_BY": "sample string 8", "ENTR_DATE": "2025-08-29T02:54:44.9619206+00:00", "READMISSION": true, "OLD": 1 }
application/octet-stream
Sample:
{"ID":1,"CPI":"sample string 2","DIV_ID":3,"HOSPITALIZED":true,"ADMISSION":"2025-08-29T02:54:44.9619206+00:00","HOSPITAL":"sample string 6","REASON":"sample string 7","DISCHARGED":"2025-08-29T02:54:44.9619206+00:00","ENTR_BY":"sample string 8","ENTR_DATE":"2025-08-29T02:54:44.9619206+00:00","READMISSION":true,"OLD":1}
application/xml, text/xml
Sample:
<PatientHospitalizationHistory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <CPI>sample string 2</CPI> <DIV_ID>3</DIV_ID> <HOSPITALIZED>true</HOSPITALIZED> <ADMISSION>2025-08-29T02:54:44.9619206+00:00</ADMISSION> <HOSPITAL>sample string 6</HOSPITAL> <REASON>sample string 7</REASON> <DISCHARGED>2025-08-29T02:54:44.9619206+00:00</DISCHARGED> <ENTR_BY>sample string 8</ENTR_BY> <ENTR_DATE>2025-08-29T02:54:44.9619206+00:00</ENTR_DATE> <READMISSION>true</READMISSION> <OLD>1</OLD> </PatientHospitalizationHistory>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PatientHospitalizationHistoryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CPI | string |
None. |
|
DIV_ID | integer |
None. |
|
HOSPITALIZED | boolean |
None. |
|
ADMISSION | date |
None. |
|
HOSPITAL | string |
None. |
|
REASON | string |
None. |
|
DISCHARGED | date |
None. |
|
ENTR_BY | string |
None. |
|
ENTR_DATE | date |
None. |
|
READMISSION | boolean |
None. |
|
OLD | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "CPI": "sample string 2", "DIV_ID": 3, "HOSPITALIZED": true, "ADMISSION": "2025-08-29T02:54:44.9775273+00:00", "HOSPITAL": "sample string 6", "REASON": "sample string 7", "DISCHARGED": "2025-08-29T02:54:44.9775273+00:00", "ENTR_BY": "sample string 8", "ENTR_DATE": "2025-08-29T02:54:44.9775273+00:00", "READMISSION": true, "OLD": 1 }
application/octet-stream
Sample:
{"ID":1,"CPI":"sample string 2","DIV_ID":3,"HOSPITALIZED":true,"ADMISSION":"2025-08-29T02:54:44.9775273+00:00","HOSPITAL":"sample string 6","REASON":"sample string 7","DISCHARGED":"2025-08-29T02:54:44.9775273+00:00","ENTR_BY":"sample string 8","ENTR_DATE":"2025-08-29T02:54:44.9775273+00:00","READMISSION":true,"OLD":1}
application/xml, text/xml
Sample:
<PatientHospitalizationHistory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <CPI>sample string 2</CPI> <DIV_ID>3</DIV_ID> <HOSPITALIZED>true</HOSPITALIZED> <ADMISSION>2025-08-29T02:54:44.9775273+00:00</ADMISSION> <HOSPITAL>sample string 6</HOSPITAL> <REASON>sample string 7</REASON> <DISCHARGED>2025-08-29T02:54:44.9775273+00:00</DISCHARGED> <ENTR_BY>sample string 8</ENTR_BY> <ENTR_DATE>2025-08-29T02:54:44.9775273+00:00</ENTR_DATE> <READMISSION>true</READMISSION> <OLD>1</OLD> </PatientHospitalizationHistory>