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.
Attachment| Name | 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": "52b23614-727b-4c1d-9804-d32a60b33960",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "57b65c58-bbdf-4da3-805f-160fd4e78303",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4ef1b295-7b19-45bc-baad-dfafcd4b6426",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0cb55b3c-7849-46ee-b5a1-e3df930400c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "87f5204c-8553-4b45-bc10-706a8f4c10c7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01281c06-3b8c-478c-bc18-981cdcf7bee7",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "47594c10-7835-423a-a5cd-30430d6604db",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T01:49:25.6944065-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:49:25.6944065-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "018d18de-4da8-47e9-92b0-0cd131e7fdc8",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "adfbe916-0d10-440a-b830-ba82090e01c5",
"EffectiveDate": "2026-06-22T01:49:25.6944065-07:00",
"StateType": {
"StateTypeId": "a41a2101-3479-4912-909a-a42741734168",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "87f5204c-8553-4b45-bc10-706a8f4c10c7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01281c06-3b8c-478c-bc18-981cdcf7bee7",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "165fd377-6a9c-4bbb-aaa8-05eb7ea53503",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bf524edb-7002-40ee-bc8e-f4e5e4d03359",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d7355835-b624-455a-895d-3b21e2b986ab",
"EffectiveDate": "2026-06-22T01:49:25.6944065-07:00",
"StatusType": {
"StatusTypeId": "006a9e87-cc3c-479a-8862-074c25c40cea",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "87f5204c-8553-4b45-bc10-706a8f4c10c7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01281c06-3b8c-478c-bc18-981cdcf7bee7",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "0a9ba34c-5a21-4e5c-bc29-e7839066ef9c",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "002ad830-cd40-48a2-b1f9-4984754eea7f",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "37981fbe-f1a0-40b1-b5fa-b23ee778b06a",
"EffectiveDate": "2026-06-22T01:49:25.6944065-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f2af2439-2640-40d5-9767-f71a9e0ca495",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "17488703-57fd-4615-b5bb-b4efdad65303",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e28602c2-0dad-4dd1-8fb9-58215a614785",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-22T01:49:25.6944065-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:49:25.6944065-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0b51fc2b-b3b0-455c-af75-35f0f4450623",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-22T01:49:25.6944065-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0bd74162-924a-4e77-b10c-d3bc4f0d051b",
"CreateDate": "2026-06-22T01:49:25.6944065-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:49:25.6944065-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"
}