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": "ac91dfce-8d4c-446b-b640-c76a4e3f6f0a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "da8f2bef-028c-4fd4-adb3-f08ff06ee167", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e617c7ea-3c65-4657-b256-66cacc3111b4", "CreateDate": "2025-07-02T18:01:05.8726569-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-02T18:01:05.8726569-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "24d98195-5e46-40ac-a86b-5a096c48500d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1b451a4a-a6a6-4b76-b27f-ccfc480f3246", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6f838263-9f6c-4480-8b88-f68bcc6deeb4", "CreateDate": "2025-07-02T18:01:05.8726569-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-02T18:01:05.8726569-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "26939f08-03e4-4345-b058-71882194660e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-02T18:01:05.8726569-07:00", "MeasurementValueNeededDate": "2025-07-02T18:01:05.8726569-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e16a1c8b-44e9-4496-8de7-edbb92a627d3", "CreateDate": "2025-07-02T18:01:05.8726569-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-02T18:01:05.8726569-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-07-02T18:01:05.8726569-07:00", "MeasurementValueNeededDate": "2025-07-02T18:01:05.8726569-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f0afc61d-db7a-48a5-a14e-0669497c9ae0", "CreateDate": "2025-07-02T18:01:05.8726569-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-02T18:01:05.8726569-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-02T18:01:05.8726569-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "5591e285-ba60-4d24-9a27-dfc61dcb528f", "CreateDate": "2025-07-02T18:01:05.8726569-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-02T18:01:05.8726569-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" }