POST api/attachment/getfile
Request Information
URI Parameters
None.
Body Parameters
AttachmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| attachment_id | globally unique identifier |
None. |
|
| type_txt | string |
None. |
|
| patient_id | globally unique identifier |
None. |
|
| description_txt | string |
None. |
|
| path_resource_txt | string |
None. |
|
| file_dat | Collection of byte |
None. |
|
| active_ind | boolean |
None. |
|
| sharing_attachment_id | globally unique identifier |
None. |
|
| record_id | globally unique identifier |
None. |
|
| record_type_txt | string |
None. |
|
| created_dt | date |
None. |
|
| created_by | globally unique identifier |
None. |
|
| updated_dt | date |
None. |
|
| updated_by | globally unique identifier |
None. |
|
| hash_txt | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"attachment_id": "2801744f-0644-4091-958e-71375881dc36",
"type_txt": "sample string 1",
"patient_id": "b35bc734-316b-429e-8fa9-cf4c7eb06339",
"description_txt": "sample string 2",
"path_resource_txt": "sample string 3",
"file_dat": "QEA=",
"active_ind": true,
"sharing_attachment_id": "8c047b07-b5f6-4d40-a6d1-4484fb478de9",
"record_id": "f60f831b-cbb8-4e4d-b0d1-eb574225adf1",
"record_type_txt": "sample string 5",
"created_dt": "2026-09-19T10:56:39.0488338+00:00",
"created_by": "93c34c74-2b74-472e-8330-d512f29fa5f2",
"updated_dt": "2026-09-19T10:56:39.0488338+00:00",
"updated_by": "7eadd3d3-2170-446c-a57d-7805c7f459dd",
"hash_txt": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |