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": "c52b4fa7-c3c7-49e7-9aa7-048de956b849", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "c940e547-1abb-45f1-aaec-a294cc183b1b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "d17ef2b7-8b3b-45b7-ba59-e2a7d390e2f5", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e4a2b864-c62b-4961-8fb3-1148c0b3c6c8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "91a61c82-af5d-4762-b40c-184c16f1349b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fc754fe7-a0fb-4f2e-9187-c0fa0bbc9946", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "81f60e28-6225-4d37-99bf-34e7faa3973d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T16:34:01.3585721-07:00", "MeasurementValueNeededDate": "2025-05-09T16:34:01.3585721-07:00", "SourceSystemId": "sample string 3", "CompanyId": "582c3ea4-1651-4a84-be65-f33a32e65e26", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "627c423e-17f4-45bc-99a1-3c1db5596de3", "EffectiveDate": "2025-05-09T16:34:01.3585721-07:00", "StateType": { "StateTypeId": "4a408b2c-ef0a-4b2f-84c0-72a70e0e4d22", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "91a61c82-af5d-4762-b40c-184c16f1349b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fc754fe7-a0fb-4f2e-9187-c0fa0bbc9946", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b0b1b230-d1da-4421-bb59-f5e400f7748a", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2baba10c-c1ca-4903-9f9f-920595222dc4", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f62f9742-3848-4f6c-84d1-6d2c1de27c5a", "EffectiveDate": "2025-05-09T16:34:01.3585721-07:00", "StatusType": { "StatusTypeId": "41ed2c87-2a3d-4359-8bf2-f0c6255db72f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "91a61c82-af5d-4762-b40c-184c16f1349b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fc754fe7-a0fb-4f2e-9187-c0fa0bbc9946", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7590d790-98c7-4822-b60a-1d3da7f65c7f", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "0ce9e3dd-c07a-491c-b927-fcb602149175", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "10a2fa24-b557-48e4-aad7-9a05660dc278", "EffectiveDate": "2025-05-09T16:34:01.3585721-07:00", "WellPurposeType": { "WellPurposeTypeId": "e77d3ec7-dc43-44e3-9e43-6f51299b8395", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a9d37e09-45f4-4ede-afb6-82014ae5dabb", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1fd313f6-a5c2-46f0-867c-df8ce008faa3", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T16:34:01.3585721-07:00", "MeasurementValueNeededDate": "2025-05-09T16:34:01.3585721-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dce5b809-b70e-4f73-8a81-ccebe51e53f5", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:34:01.3585721-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-09T16:34:01.3585721-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "9d2a6694-5a76-4c5d-8e71-a50590ad0c6b", "CreateDate": "2025-05-09T16:34:01.3585721-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:34:01.3585721-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" }