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.
AttachmentName | 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": "1bf6cb29-4da8-4174-928f-2c05440e0b51", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "27900bd5-389e-48f8-8090-a2ada51b647f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "7056f4f4-5dbe-49f4-baa0-c79af9808d9d", "CreateDate": "2025-07-02T16:51:28.145483-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-02T16:51:28.145483-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "746d8b3d-caa8-4ae6-afdb-b87eed3581d4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "86502f12-422e-4966-b6aa-ddbf59e0e6d8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9daa8506-025a-47b4-b347-781f3c7d040e", "CreateDate": "2025-07-02T16:51:28.145483-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-02T16:51:28.145483-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "19008e25-6fa1-48b7-aef9-38b1c316d325", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-02T16:51:28.145483-07:00", "MeasurementValueNeededDate": "2025-07-02T16:51:28.145483-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e2cba4ac-3e0f-4d9e-a6ec-45f7df4df980", "CreateDate": "2025-07-02T16:51:28.145483-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-02T16:51:28.145483-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-07-02T16:51:28.145483-07:00", "MeasurementValueNeededDate": "2025-07-02T16:51:28.145483-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7f71bbf6-347e-466d-ac17-2fd41322f875", "CreateDate": "2025-07-02T16:51:28.145483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-02T16:51:28.145483-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-02T16:51:28.145483-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "d3204c7f-afb5-49ed-a010-bdab9c1b453b", "CreateDate": "2025-07-02T16:51:28.145483-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-02T16:51:28.145483-07: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" }