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": "6c13ea35-1843-4e3b-afaa-5e7f5929f509", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "5165239c-5273-4335-99d1-0c5ee116fafb", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "d7209f20-3cfb-4d94-8fcc-39308467bffa", "CreateDate": "2024-12-22T02:48:10.5832959-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-22T02:48:10.5832959-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "0c62e2f6-8048-4d73-87d8-aee3ee19b303", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "27668b26-9a5d-4a8d-87e3-7f4c9acbaed1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b419ef41-13db-4825-9314-bf7a4b487730", "CreateDate": "2024-12-22T02:48:10.5832959-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:10.5832959-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "aeb4cf6c-3234-4613-b92c-6011de55a1f4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:48:10.5832959-08:00", "MeasurementValueNeededDate": "2024-12-22T02:48:10.5832959-08:00", "SourceSystemId": "sample string 3", "CompanyId": "8c4dad20-bbf7-466c-b3f4-358cc3f628e3", "CreateDate": "2024-12-22T02:48:10.5832959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:10.5832959-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:48:10.5832959-08:00", "MeasurementValueNeededDate": "2024-12-22T02:48:10.5832959-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2d86552f-2265-406e-8113-05c777710e43", "CreateDate": "2024-12-22T02:48:10.5832959-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:48:10.5832959-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-22T02:48:10.5832959-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "404e79a7-d92d-4a67-ba94-96ddfec78394", "CreateDate": "2024-12-22T02:48:10.5832959-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:10.5832959-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" }