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": "4d5909d1-4bd7-48cf-9c8d-4f3a550eec9f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "2b154759-2b27-4b47-964e-840724a40f5b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "7f2983ce-0cbd-4839-ba71-dc0408caf8b5", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "f566ea3a-001a-4a52-ac69-61b9d9186cf3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f5d5b362-96be-4eef-acdf-77617f74dd36", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "330ed675-016c-419a-a162-dec077542f47", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3b2ce16e-874f-493c-8638-0403a7ffa1f0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T08:30:27.898032-07:00", "MeasurementValueNeededDate": "2025-03-09T08:30:27.898032-07:00", "SourceSystemId": "sample string 3", "CompanyId": "a90219ee-630b-4095-9943-b2601ab380c4", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "fce3924c-99d2-4cda-8e83-71ce2956c39c", "EffectiveDate": "2025-03-09T08:30:27.898032-07:00", "StateType": { "StateTypeId": "ad756962-06cd-4502-bacd-2b714cd076b2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f5d5b362-96be-4eef-acdf-77617f74dd36", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "330ed675-016c-419a-a162-dec077542f47", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "9d152727-db91-4938-8d1b-ab380e09514d", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "07bc5f66-3aea-49d4-b549-47aed0ad05f5", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e34f4826-188f-453b-872a-727c1989bf11", "EffectiveDate": "2025-03-09T08:30:27.898032-07:00", "StatusType": { "StatusTypeId": "2d06e624-d1a3-42a4-9f4b-6c8ad28d22ae", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f5d5b362-96be-4eef-acdf-77617f74dd36", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "330ed675-016c-419a-a162-dec077542f47", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e64e36bf-40dc-4333-96e7-71bbd7cbfe23", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cd9f018e-ab5a-425e-801a-60555b4e9275", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f5da8451-f16e-46fb-91be-33cb4c9ac3e7", "EffectiveDate": "2025-03-09T08:30:27.898032-07:00", "WellPurposeType": { "WellPurposeTypeId": "dfbf47b7-39a7-4559-a72c-25ff98bf6499", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "540d9d42-9776-429d-ba74-87b394302dd0", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2c3eb93c-5578-4237-9317-40e87bd2e8ca", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T08:30:27.898032-07:00", "MeasurementValueNeededDate": "2025-03-09T08:30:27.898032-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ecedfe91-4501-44bd-b49f-96bfe7b58c6c", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:30:27.898032-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-03-09T08:30:27.898032-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "7c2e5a27-4627-41f0-a71e-8de068a2f2ac", "CreateDate": "2025-03-09T08:30:27.898032-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:30:27.898032-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" }