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": "ced53989-7976-40cd-938b-12419c98fa48", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3f1bb00b-6939-4368-b663-f909000c969e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "35c8815c-5681-45f7-ad26-b057e4d3076c", "CreateDate": "2024-10-10T03:57:56.7927024-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T03:57:56.7927024-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "fc360303-392e-489c-8c89-e2082422f45d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a097ed09-76ee-4f49-a412-758032df1a9f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5a429089-9c48-4ab2-aaff-5edbdf41629d", "CreateDate": "2024-10-10T03:57:56.7927024-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:57:56.7927024-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "afee5506-6ec9-4ad0-ad9d-a4dcb782bb10", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T03:57:56.7927024-07:00", "MeasurementValueNeededDate": "2024-10-10T03:57:56.7927024-07:00", "SourceSystemId": "sample string 3", "CompanyId": "37544213-651c-4ace-ada9-986967bb6fb9", "CreateDate": "2024-10-10T03:57:56.7927024-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:57:56.7927024-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T03:57:56.7927024-07:00", "MeasurementValueNeededDate": "2024-10-10T03:57:56.7927024-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2feaa536-318f-4c92-a46e-1c217b61e146", "CreateDate": "2024-10-10T03:57:56.7927024-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T03:57:56.7927024-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-10-10T03:57:56.7927024-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "a231ca80-3b3a-4f21-a752-a8e3ae96e70f", "CreateDate": "2024-10-10T03:57:56.7927024-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:57:56.7927024-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" }