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": "2b54a3a4-b454-4a8c-b75c-33c753aee427",
"type_txt": "sample string 1",
"patient_id": "30de28a6-812c-48ef-8b46-40c3fdce414d",
"description_txt": "sample string 2",
"path_resource_txt": "sample string 3",
"file_dat": "QEA=",
"active_ind": true,
"sharing_attachment_id": "3f7e3ace-e2b8-4e14-b8b6-d53579fa876c",
"record_id": "37e37c42-1d7d-4b1d-aa0c-582ce080112d",
"record_type_txt": "sample string 5",
"created_dt": "2026-05-06T12:28:07.3455519+00:00",
"created_by": "a87a69d6-e120-47a2-b9aa-3e664839e76e",
"updated_dt": "2026-05-06T12:28:07.3455519+00:00",
"updated_by": "1b3281b7-5d84-41a7-a4b4-d1a03951e8b2",
"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. |