DELETE api/cases/{caseId}/attachments/{attachmentId}
Add an attachment
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| attachmentId | globally unique identifier |
Required |
|
| caseId | string |
None. |
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": "b1d7689e-6d78-4eb0-b79c-957099ef2cb3",
"UserId": "b6d3d4a5-b517-4bc9-9b1b-67d5a7563041",
"Description": "sample string 3",
"MimeType": "sample string 4",
"PermittedIds": [
"df5777e6-34aa-4f9b-83dc-3fcf320b7328",
"f3078532-fa97-4ee7-9e2d-28def128939e"
],
"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>b1d7689e-6d78-4eb0-b79c-957099ef2cb3</Id>
<MimeType>sample string 4</MimeType>
<PermittedIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>df5777e6-34aa-4f9b-83dc-3fcf320b7328</d2p1:guid>
<d2p1:guid>f3078532-fa97-4ee7-9e2d-28def128939e</d2p1:guid>
</PermittedIds>
<UserId>b6d3d4a5-b517-4bc9-9b1b-67d5a7563041</UserId>
</AttachmentDetail>