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": "9e43947e-ae55-4ddc-b326-9b23701e0a0e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "12a5dfc0-1eb5-4e6c-9535-968c4ea95991",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4c304103-9409-424c-b850-3b8ba21c19a5",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a5f38811-0177-4367-a82b-508eb006b724",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b4cfa58b-3fda-4a72-8a34-8dfc2228c673",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b1089bc6-f1a2-4a39-864a-000196c49d75",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4fbf66f7-ef2e-421b-8b66-00644e9c4158",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:26:23.7367706-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:26:23.7367706-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a76d8fae-5094-4ed9-bc1b-015065b71f65",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d52e3016-42a1-41d3-b1da-7d2e190cab62",
"EffectiveDate": "2026-06-01T20:26:23.7367706-07:00",
"StateType": {
"StateTypeId": "8b06b425-d2f9-4704-809a-95be09ce0e69",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b4cfa58b-3fda-4a72-8a34-8dfc2228c673",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b1089bc6-f1a2-4a39-864a-000196c49d75",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "03610102-5f83-45a9-aa62-f8c30b9038f5",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9ed78224-19b9-4096-b1b9-acc6ee226bd9",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "1deed5e8-397e-42d5-a6c2-a52b0dac4521",
"EffectiveDate": "2026-06-01T20:26:23.7367706-07:00",
"StatusType": {
"StatusTypeId": "e0db07fd-19eb-4312-8f02-4e48602f8a01",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b4cfa58b-3fda-4a72-8a34-8dfc2228c673",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b1089bc6-f1a2-4a39-864a-000196c49d75",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cde40f67-78b9-431b-856c-920a9621373b",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8e033980-c69b-4696-8008-d211c9444c6c",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "05386395-ae49-4e28-aca8-45d31584f1c7",
"EffectiveDate": "2026-06-01T20:26:23.7367706-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ea67b360-08d0-4f65-8b49-b9ea74df9c32",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f4235ec5-4bce-450d-807d-03a3749dd42f",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5dd4a516-3527-463f-847a-083452bf81f8",
"CreateDate": "2026-06-01T20:26:23.7367706-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:23.7367706-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:26:23.7523957-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:26:23.7523957-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a21e0567-9dbd-4eb8-bee5-e69bc04d40fb",
"CreateDate": "2026-06-01T20:26:23.7523957-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:23.7523957-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-01T20:26:23.7523957-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0c0a9c03-cb17-4aa9-9a83-9728c69a395d",
"CreateDate": "2026-06-01T20:26:23.7523957-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:23.7523957-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"
}