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": "d424f7a0-2a18-4e9e-962e-b8f9e869adc5", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ec8fc0ca-abd2-497f-90d4-654ad4f64e58", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "3b80852f-12d8-486a-afa2-9ded52f6a19a", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-03T15:32:06.3119861-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "edf8a7f3-b224-4713-93a0-1e265052ef79", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d2c9d0c5-6fd1-489a-b7ff-0c01e5785fc8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8fd58a88-91a1-4b68-a950-a0f248991460", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:32:06.3119861-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "711d7243-f4fa-42aa-925e-b2f1920a933c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:32:06.3119861-07:00", "MeasurementValueNeededDate": "2025-04-03T15:32:06.3119861-07:00", "SourceSystemId": "sample string 3", "CompanyId": "2eaa5418-cf48-4f9f-8547-bc578e90dadd", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:32:06.3119861-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:32:06.3119861-07:00", "MeasurementValueNeededDate": "2025-04-03T15:32:06.3119861-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "15f86e53-aaa4-4ee9-a405-52f9567db449", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:32:06.3119861-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-03T15:32:06.3119861-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "725de300-1821-472f-98d3-475214c69f58", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:32:06.3119861-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" }