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": "ce190365-aa29-4c7b-8063-ac9d6e5685b2", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3b9d0622-ab72-4821-bbd4-33aae3c96d71", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "237d9374-8a92-4f48-98c5-079d92cd965c", "CreateDate": "2024-12-21T19:30:14.3696185-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T19:30:14.3696185-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d861161e-3a0f-4fc7-8051-46a7d5fd9007", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "94ec99e7-ff51-483b-80e8-3cbf54631135", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7292d616-2c45-4ddc-9322-1f28004368d0", "CreateDate": "2024-12-21T19:30:14.3696185-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:30:14.3696185-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "a7c8e240-aa28-4dd8-b948-6e5ec419e2d6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:30:14.3696185-08:00", "MeasurementValueNeededDate": "2024-12-21T19:30:14.3696185-08:00", "SourceSystemId": "sample string 3", "CompanyId": "67f77570-fbf4-483b-a54a-61f37b8dc02f", "CreateDate": "2024-12-21T19:30:14.3696185-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:30:14.3696185-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:30:14.3696185-08:00", "MeasurementValueNeededDate": "2024-12-21T19:30:14.3696185-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3435e865-5759-4943-ab9f-5a7bb8f74acb", "CreateDate": "2024-12-21T19:30:14.3696185-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:30:14.3696185-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T19:30:14.3696185-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "c3f8d414-711c-4f9c-ae0d-fcb286b6097c", "CreateDate": "2024-12-21T19:30:14.3696185-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:30:14.3696185-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" }