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": "380be685-55e2-4f5e-8824-77dd290d8014", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "76597ecf-00aa-450d-bf40-fa44724c8731", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "cb2791bc-6172-4e68-8f39-1575213260b4", "CreateDate": "2025-10-19T21:10:19.3772784-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-10-19T21:10:19.3772784-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "1e720d2b-b869-4542-8a83-4f7f4651c68e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6055f272-1946-4274-83b5-117f2403e0e6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7916c698-9a5e-40d0-bc32-bb357f4bb52b", "CreateDate": "2025-10-19T21:10:19.3772784-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-19T21:10:19.3772784-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3d9bf4f8-6059-4cb8-ba48-a1c2df6f8c9d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-19T21:10:19.3772784-07:00", "MeasurementValueNeededDate": "2025-10-19T21:10:19.3772784-07:00", "SourceSystemId": "sample string 3", "CompanyId": "26261130-1e99-4992-b636-b24d5e48387d", "CreateDate": "2025-10-19T21:10:19.3772784-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-19T21:10:19.3772784-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-10-19T21:10:19.3772784-07:00", "MeasurementValueNeededDate": "2025-10-19T21:10:19.3772784-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f0b867c4-90af-4eed-a39e-66a60b47ff48", "CreateDate": "2025-10-19T21:10:19.3772784-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-19T21:10:19.3772784-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-10-19T21:10:19.3772784-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "54d7acba-1fdd-4267-bb19-f96e502fb751", "CreateDate": "2025-10-19T21:10:19.3772784-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-19T21:10:19.3772784-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" }