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": "663c7852-6d0a-430e-8f8d-e0ab0bdbef5e",
"type_txt": "sample string 1",
"patient_id": "23bc121c-f38a-4972-96c9-9958431178c8",
"description_txt": "sample string 2",
"path_resource_txt": "sample string 3",
"file_dat": "QEA=",
"active_ind": true,
"sharing_attachment_id": "f68978c3-2eb0-4367-b444-21bd663f1a7b",
"record_id": "81b6701e-3f3f-4e57-a52b-2850093be999",
"record_type_txt": "sample string 5",
"created_dt": "2026-08-04T22:22:29.2736886+00:00",
"created_by": "21c72976-9207-481c-ab44-644a46c5abc6",
"updated_dt": "2026-08-04T22:22:29.2736886+00:00",
"updated_by": "30392ed0-f9a9-4b82-a6de-e85d688d0ab9",
"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. |