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": "fae021bc-140a-44e6-a5b5-2a3ca5bbc808", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "09178e45-b47b-412b-a72b-7724ae822043", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "f8b530ff-0e13-434c-a061-28bbc63c0283", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a1dcc862-a57a-4a7b-a0f4-a62c04c0069f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1055f4de-cff3-4687-8b83-22b33e32cc78", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dd875f1-407c-4a31-b0bd-2d5728e6c211", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0a631d13-077b-47da-b77d-b8ee8b94aeb7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:25:39.5029955-07:00", "MeasurementValueNeededDate": "2025-10-13T15:25:39.5029955-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c2f8b563-af37-469b-a558-e130bb1083bc", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "3d7b0947-0e09-496f-8f3b-983822f5bf44", "EffectiveDate": "2025-10-13T15:25:39.5029955-07:00", "StateType": { "StateTypeId": "60df6d89-772a-41f8-b969-b20666d758b2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1055f4de-cff3-4687-8b83-22b33e32cc78", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dd875f1-407c-4a31-b0bd-2d5728e6c211", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "44057f2c-90ad-4d1e-a3c3-1de1df250cdc", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "53f1e063-82c3-4e13-9e45-954dd5f3e9ac", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a6775032-a8bc-42b5-9cfa-fd3aa6b2dcdf", "EffectiveDate": "2025-10-13T15:25:39.5029955-07:00", "StatusType": { "StatusTypeId": "a8619298-7fe6-40ab-8e19-63aba59c091a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1055f4de-cff3-4687-8b83-22b33e32cc78", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dd875f1-407c-4a31-b0bd-2d5728e6c211", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a88ec469-d69d-4e1f-b840-b58f0d5bd1a9", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "05f11e0b-fdf9-445e-ba1f-6ec66b27e381", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b8be8251-a5b0-45c0-b491-5b81b6242bba", "EffectiveDate": "2025-10-13T15:25:39.5029955-07:00", "WellPurposeType": { "WellPurposeTypeId": "bc76f897-7eba-4dce-b2fe-64918552ca03", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "33622c96-0029-4037-a7f4-6f30e7521fc5", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2e504908-8913-4381-9a8e-2b08155ed95a", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:25:39.5029955-07:00", "MeasurementValueNeededDate": "2025-10-13T15:25:39.5029955-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f60064fa-2ebb-435a-9b54-c6db17954fb5", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.5029955-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-10-13T15:25:39.5029955-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "cdf328be-e734-40c0-9a97-43a1212a10fd", "CreateDate": "2025-10-13T15:25:39.5029955-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:25:39.5029955-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" }