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": "e9907c42-6d60-4a77-8350-c2e62ee656f6", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "836618f8-4e62-487a-84c1-a0ceb02f064a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "acfd4bdf-b47c-47c5-b23b-2475f1c7e587", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "7d800770-1031-4fae-bd22-540311c1f8b0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8e4d1a16-761a-415a-b65d-85557bb9e82b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7a55ef75-009a-496e-b1b6-dfc54fc45046", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "09684ccc-4823-4870-8d73-b95378d02e96", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-30T23:28:08.9347884-07:00", "MeasurementValueNeededDate": "2025-07-30T23:28:08.9347884-07:00", "SourceSystemId": "sample string 3", "CompanyId": "25a565d4-c0ec-4a0e-8af1-8f8e870567a5", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "abb40c85-62db-4e73-89f7-031358a735cf", "EffectiveDate": "2025-07-30T23:28:08.9347884-07:00", "StateType": { "StateTypeId": "8be0f3be-f06d-443f-aac9-839a1c758e4f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8e4d1a16-761a-415a-b65d-85557bb9e82b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7a55ef75-009a-496e-b1b6-dfc54fc45046", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "26d977ca-a6a8-4e7f-bd41-9be5cae4a450", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "7035264e-f8de-4af3-aaa9-cf5f813bb9f6", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "20d29cf9-8527-4381-afc8-bb05b42166f7", "EffectiveDate": "2025-07-30T23:28:08.9347884-07:00", "StatusType": { "StatusTypeId": "f19c5029-e50e-4f4f-9af8-95d6f86f6670", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8e4d1a16-761a-415a-b65d-85557bb9e82b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7a55ef75-009a-496e-b1b6-dfc54fc45046", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b555bb5b-4cde-4ace-a249-b2b2105676e7", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8ce54083-ed85-4355-80aa-4be06d9861a3", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "15fbed0d-d968-4e25-9e9b-d86e6de3541f", "EffectiveDate": "2025-07-30T23:28:08.9347884-07:00", "WellPurposeType": { "WellPurposeTypeId": "2344178c-f0ea-41ac-9090-b6bd1bfed8fd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "80c25d91-2dfe-46d6-be89-52c670b3c167", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f126d9ba-7952-48e7-88e0-81bab6d34b8f", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-30T23:28:08.9347884-07:00", "MeasurementValueNeededDate": "2025-07-30T23:28:08.9347884-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e2108b1e-5e7e-4561-a9ba-74c2cc496a37", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:28:08.9347884-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-30T23:28:08.9347884-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "ea4b27a9-bbb5-4fc2-ac73-67c754c49788", "CreateDate": "2025-07-30T23:28:08.9347884-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:28:08.9347884-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" }