GET api/cases/{caseId}/attachments/{attachmentId}
Return the referenced attachment
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| caseId | globally unique identifier |
Required |
|
| attachmentId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
AttachmentDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| Description | string |
None. |
|
| MimeType | string |
None. |
|
| PermittedIds | Collection of globally unique identifier |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "18092022-d3bb-4134-ab47-a71e77f09b88",
"UserId": "049a5c81-5c75-4f80-8263-ba5abed2672c",
"Description": "sample string 3",
"MimeType": "sample string 4",
"PermittedIds": [
"e39b349f-1540-47dd-9620-70b7d44594f9",
"a14ce625-e655-4217-bc98-cc912be0be59"
],
"Data": "sample string 5"
}
application/xml, text/xml
Sample:
<AttachmentDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.DTO">
<Data>sample string 5</Data>
<Description>sample string 3</Description>
<Id>18092022-d3bb-4134-ab47-a71e77f09b88</Id>
<MimeType>sample string 4</MimeType>
<PermittedIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e39b349f-1540-47dd-9620-70b7d44594f9</d2p1:guid>
<d2p1:guid>a14ce625-e655-4217-bc98-cc912be0be59</d2p1:guid>
</PermittedIds>
<UserId>049a5c81-5c75-4f80-8263-ba5abed2672c</UserId>
</AttachmentDetail>