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": "5c046b6c-0609-410c-8835-b1af03f5205b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ebb70b87-61ab-4786-9990-b810af17f6af",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1f67bbc9-f31f-4919-a52c-586beb5b290d",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b8112242-dec1-4b61-babb-4151083fcabf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "cbb9873c-3494-4a77-bbc5-727e0ae8623d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "028c591e-ddc0-41a3-920d-c9b4bf58ef3c",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4c847b31-2c7f-43ab-8da1-db23b47ee775",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:26:56.1031231-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:56.1031231-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fb73dd55-0483-42b3-9b25-ad8684ea5bf9",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "fbe020d7-4fca-404c-9174-3467514a7fe2",
"EffectiveDate": "2026-08-11T22:26:56.1031231-07:00",
"StateType": {
"StateTypeId": "5a6471d8-4c07-4905-92d3-f0af248da26d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "cbb9873c-3494-4a77-bbc5-727e0ae8623d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "028c591e-ddc0-41a3-920d-c9b4bf58ef3c",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ec5e4bf3-dc1c-42d3-aa7a-da2eda54b820",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "86d0f5eb-88bb-48db-860b-875a7af016e4",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3346042f-481c-4902-a57d-faa3a3e73912",
"EffectiveDate": "2026-08-11T22:26:56.1031231-07:00",
"StatusType": {
"StatusTypeId": "e33c863a-9385-4720-99a9-a5a35c1292ce",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "cbb9873c-3494-4a77-bbc5-727e0ae8623d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "028c591e-ddc0-41a3-920d-c9b4bf58ef3c",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "95559c33-583a-4473-8f0d-361f7052a0c6",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2715dfb8-b45d-4317-957e-6d0e4a4acc83",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6648b391-dab4-4134-b853-b540e2267839",
"EffectiveDate": "2026-08-11T22:26:56.1031231-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "860fd976-0f8a-4d88-b736-e7d52070e168",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "743d6fd6-0001-46df-bf53-6aca38ddd830",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0f16dad8-a4d2-4b33-a794-f7a21b1b3978",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:26:56.1031231-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:56.1031231-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fd318d6a-8166-4185-a01d-e82e2c93a305",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-11T22:26:56.1031231-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3b2f2a3a-2e33-4d4d-a091-329194e93bb3",
"CreateDate": "2026-08-11T22:26:56.1031231-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:56.1031231-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"
}