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": "21059feb-cb72-4571-a7df-1496a3585d6f",
"type_txt": "sample string 1",
"patient_id": "c185e9dc-bf9b-497f-8af6-0234adca1540",
"description_txt": "sample string 2",
"path_resource_txt": "sample string 3",
"file_dat": "QEA=",
"active_ind": true,
"sharing_attachment_id": "14b9519e-cdfc-46d2-81ff-61cb450e3c0b",
"record_id": "8d727513-59aa-42cf-bb5c-ce19eb6899f8",
"record_type_txt": "sample string 5",
"created_dt": "2026-11-04T19:48:39.79401+00:00",
"created_by": "02bf19bb-d2cc-4320-ba56-936cc70a87d6",
"updated_dt": "2026-11-04T19:48:39.79401+00:00",
"updated_by": "a5f9bb57-9e53-4b9c-9323-54cad31529c1",
"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. |