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": "a9239fb6-5238-41c3-9834-8b84acfff945", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "821ceada-b6fc-438e-b49f-87e4fa52189f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a5d3d3b8-cccd-47df-8ac2-6fca35722988", "CreateDate": "2024-12-08T16:34:48.1383628-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-08T16:34:48.1383628-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "34c902bd-f817-4b16-bec0-7bf10ad2d3cd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2acac4cd-5648-4319-bef8-838142d59c21", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f467f0a9-1799-477f-a886-445aee82ca7e", "CreateDate": "2024-12-08T16:34:48.1383628-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T16:34:48.1383628-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2bb8cb1d-97c9-4d64-ba31-46decb04b9cd", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T16:34:48.1383628-08:00", "MeasurementValueNeededDate": "2024-12-08T16:34:48.1383628-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4fc051f8-d877-4b03-b52d-8397631a5ea6", "CreateDate": "2024-12-08T16:34:48.1383628-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T16:34:48.1383628-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T16:34:48.1383628-08:00", "MeasurementValueNeededDate": "2024-12-08T16:34:48.1383628-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "897033bc-2f72-487a-a972-c80957adb0bc", "CreateDate": "2024-12-08T16:34:48.1383628-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T16:34:48.1383628-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-08T16:34:48.1383628-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "16b02501-48cf-4531-b9b9-0b4341160462", "CreateDate": "2024-12-08T16:34:48.1383628-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T16:34:48.1383628-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" }