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": "223b09f9-a60a-4471-864d-149c7d7f4d69", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3332d1bb-45b9-4f37-a596-6552e9aaac3a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "62170085-e716-4335-a415-4d7e6739b160", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "b9cfb353-14d3-4059-85f3-21ff467600c5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1acc2908-4928-4a74-bc36-9d254555095a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0c6d4776-733a-431a-97e9-8c2d5345757a", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7ba30a3b-56ff-4139-81d0-c615dbbc4620", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:19:23.5215736-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:23.5215736-07:00", "SourceSystemId": "sample string 3", "CompanyId": "bc893b7f-dbe2-4b19-8164-ea6b660bec98", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "11f32d51-ad6a-46fe-8ced-0bb1e8f196f3", "EffectiveDate": "2025-08-29T17:19:23.5215736-07:00", "StateType": { "StateTypeId": "3296a356-bf6f-4c2a-aa7b-1025764f0def", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1acc2908-4928-4a74-bc36-9d254555095a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0c6d4776-733a-431a-97e9-8c2d5345757a", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "c004678d-9b3d-48ce-b3ea-14d301d88f79", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1c86d7dc-e319-4c70-94b8-4ebf12129e68", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "09e2cd3d-7e15-4c54-96cf-12d02feb62d1", "EffectiveDate": "2025-08-29T17:19:23.5215736-07:00", "StatusType": { "StatusTypeId": "33fdb6be-42e2-4a1a-a6f3-4c08d362020f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1acc2908-4928-4a74-bc36-9d254555095a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0c6d4776-733a-431a-97e9-8c2d5345757a", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2162443e-0110-4ad4-9796-e3c3fe3903b9", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "04e6e2cc-5d8b-4cb9-a170-a0fabbeae907", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "92e778a1-76b4-4f58-a1a7-37406bb81582", "EffectiveDate": "2025-08-29T17:19:23.5215736-07:00", "WellPurposeType": { "WellPurposeTypeId": "7586d879-7503-4d83-a4b5-0e72deec79f7", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0f905421-86ea-4557-992b-38d7410117bc", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9fc5229c-dde8-4160-9cff-233a6aa504fb", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:19:23.5215736-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:23.5215736-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1cf4c9b8-04bd-4938-a664-91755b9af4e9", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.5215736-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-08-29T17:19:23.5215736-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "56957c32-f391-4d4f-95ea-219f19f5d8d2", "CreateDate": "2025-08-29T17:19:23.5215736-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.5215736-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" }