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": "01335c0b-5b9e-4ed4-ae6f-6dabebd23ac8", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "9ca3d3db-d71f-470e-b602-9a34f197a73f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "763b4315-744b-4606-998b-74e84c47637e", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "19f49fb8-a871-44de-b837-116378894348", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0d5d702e-a039-4a10-bbae-13cabb743a39", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37479bf2-3244-42e7-be31-df4a771b14bd", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f78e9866-0b73-4ac7-b152-f6797ce6404a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "MeasurementValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8f5604eb-0387-4e9a-b2b8-01e60d845c77", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "c4260956-1846-4102-97c3-2e85b798f67d", "EffectiveDate": "2025-06-02T15:35:13.339882-07:00", "StateType": { "StateTypeId": "94c5c6cb-fd73-44d9-858e-24a879c636d0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0d5d702e-a039-4a10-bbae-13cabb743a39", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37479bf2-3244-42e7-be31-df4a771b14bd", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1dfc1a41-efbe-4e55-a801-cd29e3f35ed9", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0c2adc79-0375-4ec4-8cf8-f81cf5a5e6d8", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0d12a094-9589-4f1b-83f3-958de5963bbb", "EffectiveDate": "2025-06-02T15:35:13.339882-07:00", "StatusType": { "StatusTypeId": "a034c579-c862-4bfb-944f-c2bd8b896b6d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0d5d702e-a039-4a10-bbae-13cabb743a39", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37479bf2-3244-42e7-be31-df4a771b14bd", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "0fd99656-be8d-423f-9256-f15e1929a73d", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "44c43b4c-3295-49ee-8733-02eea370f023", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "6b25b5f6-4d22-4c29-9d64-861c38d51759", "EffectiveDate": "2025-06-02T15:35:13.339882-07:00", "WellPurposeType": { "WellPurposeTypeId": "10228e9e-948c-4b10-8061-e66488a1f911", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "018f6bf5-f961-4083-9111-dec65c09e1c5", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4c978cc4-5b4e-4988-a42b-fe8d60a16d25", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "MeasurementValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "359cb20d-9744-4860-bca1-c1c131a50c45", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-02T15:35:13.339882-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "879cad7b-8edf-43c2-8a26-eca40ab1e5a5", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:35:13.339882-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" }