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": "f944ac0b-b957-4b9e-b2b6-083e989ea74f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "acf16033-b5ed-49eb-9593-f4d1b0e78fd4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "78dce208-9efc-4fcd-8a56-10e6cf2095ca", "CreateDate": "2025-09-13T21:10:27.3421986-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-09-13T21:10:27.3421986-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d691a4ac-aff6-43d0-9d11-c40ef783c682", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "390f756a-ca00-40f6-aa55-60eb1afd59ef", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3672bd2d-2ea5-44dd-baae-5d519afcc4d9", "CreateDate": "2025-09-13T21:10:27.3421986-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:10:27.3421986-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "a4302e05-624e-42b0-8616-e2091a20f6fa", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T21:10:27.3421986-07:00", "MeasurementValueNeededDate": "2025-09-13T21:10:27.3421986-07:00", "SourceSystemId": "sample string 3", "CompanyId": "44782b86-e551-4d39-8462-8b90c4f112e3", "CreateDate": "2025-09-13T21:10:27.3421986-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:10:27.3421986-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-09-13T21:10:27.3421986-07:00", "MeasurementValueNeededDate": "2025-09-13T21:10:27.3421986-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3bcd4c2e-84ad-474d-a3da-c7b8fc04e9e8", "CreateDate": "2025-09-13T21:10:27.3421986-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T21:10:27.3421986-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-09-13T21:10:27.3421986-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "2a463256-fd5c-4c09-bc06-fba19ecff5fe", "CreateDate": "2025-09-13T21:10:27.3421986-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:10:27.3421986-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" }