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": "1080f510-7064-48d6-baec-8d2f0bd29fe9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d3c7364b-858e-49e0-921f-8ca476751956",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d6abfb43-f17e-4346-8c7a-81b009fe6ffd",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7fcb2b7c-5ea7-44ea-9426-f23e8f460832",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7571d41a-835a-4e9d-abc6-b2191669d561",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4f836c46-0188-4a49-8724-b69811c7a86c",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d295650b-abfb-44fa-bf71-bec98bfc728e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-21T11:57:14.3907198-08:00",
"MeasurementValueNeededDate": "2026-11-21T11:57:14.3907198-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0946547b-7de2-474c-a4e7-26434eddbe19",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5f6c5043-7354-4194-86cb-3939b365b2f0",
"EffectiveDate": "2026-11-21T11:57:14.3907198-08:00",
"StateType": {
"StateTypeId": "ba511303-913f-4a66-9b23-7d7a08b750b8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7571d41a-835a-4e9d-abc6-b2191669d561",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4f836c46-0188-4a49-8724-b69811c7a86c",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f6f0266e-b201-4330-bbe9-383cb045c372",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "227dcdd4-e517-4c18-bd9a-2229d627ded8",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "65310354-1c2b-4334-ae65-09dec7f88bb2",
"EffectiveDate": "2026-11-21T11:57:14.3907198-08:00",
"StatusType": {
"StatusTypeId": "f649b4ca-c28d-4603-a455-1674e17b22cf",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7571d41a-835a-4e9d-abc6-b2191669d561",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4f836c46-0188-4a49-8724-b69811c7a86c",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "417a85da-8690-40a9-bba4-b34c6746bf0b",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d9864fda-e34d-402b-a72a-265ab4a43b6e",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3a2c1cf6-0b7a-4134-8e39-b3ca363d11e0",
"EffectiveDate": "2026-11-21T11:57:14.3907198-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "3bec841b-2f41-46b4-816a-257a36b442b0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3b641dda-57c4-4590-9b82-76d7747f2534",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3bf92f37-5f8d-4436-99e7-20d4e7b8af74",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-21T11:57:14.3907198-08:00",
"MeasurementValueNeededDate": "2026-11-21T11:57:14.3907198-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f5231fe-8a35-4dac-9a8a-fb4808532085",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-21T11:57:14.3907198-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b79285c7-41c9-48ae-bdf3-55d17e47ff99",
"CreateDate": "2026-11-21T11:57:14.3907198-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:14.3907198-08: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"
}