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": "d415c78d-fecc-4661-967c-2047244aea78", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ded129b2-82a2-4020-a071-6ae690aa24e6", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "ab5d099b-aa2c-4f32-a12a-4c125d31c015", "CreateDate": "2025-08-30T12:58:09.661837-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-08-30T12:58:09.661837-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "1253cdd6-fce4-4c3b-b15b-0885f2d7f72a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3759d20e-cc40-4315-bdd4-321108456307", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "54e2dedc-2f60-4e5c-9aed-c93f01b1d530", "CreateDate": "2025-08-30T12:58:09.661837-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:58:09.661837-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "845228fd-978e-4564-88e8-4d98a7943983", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:58:09.661837-07:00", "MeasurementValueNeededDate": "2025-08-30T12:58:09.661837-07:00", "SourceSystemId": "sample string 3", "CompanyId": "de443360-9172-4ea6-9dd9-f663657f6a82", "CreateDate": "2025-08-30T12:58:09.661837-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:58:09.661837-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:58:09.661837-07:00", "MeasurementValueNeededDate": "2025-08-30T12:58:09.661837-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "724dc034-f67e-4ba5-9096-b93d5c96105a", "CreateDate": "2025-08-30T12:58:09.661837-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:58:09.661837-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-08-30T12:58:09.661837-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "5492e21c-8419-41df-8440-a2a5cb7ea6bb", "CreateDate": "2025-08-30T12:58:09.661837-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:58:09.661837-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" }