DELETE Attachments
Deletes the given attachment.
Request Information
URI Parameters
None.
Body Parameters
The attachment to delete. The Content field does not need to be filled in.
Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AttachmentCategory | AttachmentCategory |
None. |
|
| Asset | Asset |
None. |
|
| FileType | string |
None. |
|
| FileSize | integer |
None. |
|
| UploadDate | date |
None. |
|
| Content | Collection of byte |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentId": "b94c716f-3deb-4867-b05c-f0ac1a6a2570",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "71471e9b-5227-4560-8ca7-a5dcf2bfdf84",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f82a9baf-ff85-4ec0-baff-c2c33061a3ff",
"CreateDate": "2025-12-05T06:21:24.6213491-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-05T06:21:24.6213491-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "bd5bead5-955d-475a-a3ac-6de0ddd9c408",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "39ec0d8a-8a8a-4185-a101-1d1e02bd5a09",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e00641c6-68a5-4195-9e79-097dfaedb61e",
"CreateDate": "2025-12-05T06:21:24.6213491-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T06:21:24.6213491-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c3e877a9-baa5-48b5-93da-d511d1262aa9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-05T06:21:24.6213491-08:00",
"MeasurementValueNeededDate": "2025-12-05T06:21:24.6213491-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "711e1d6d-a17a-4f96-9a0c-516b38a13ac4",
"CreateDate": "2025-12-05T06:21:24.6213491-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-05T06:21:24.6213491-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-05T06:21:24.6213491-08:00",
"MeasurementValueNeededDate": "2025-12-05T06:21:24.6213491-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6d57170e-08fc-4247-81bb-643d0220f92d",
"CreateDate": "2025-12-05T06:21:24.6213491-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-05T06:21:24.6213491-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-05T06:21:24.6213491-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c0cca8c1-7f80-4a6c-9686-c23232efe100",
"CreateDate": "2025-12-05T06:21:24.6213491-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T06:21:24.6213491-08:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"Total": 1,
"Message": "sample string 2"
}