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": "373099ba-221e-49c8-9bc3-bdd9d1aa70f3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "18f209f3-c11f-4246-9523-8a5e0970c900",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "bf3cb2ee-dfc6-4d06-b2fe-4865819b41eb",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5fe0cfa7-f634-4c9b-bbba-1c08444ed248",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f99cc562-cef6-4244-b20e-acc59b38bcff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "748852e7-ee52-4a62-ae15-6f83c6e7e624",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9fea62b1-cbf7-41f6-9888-fc354c375d09",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-16T23:42:20.5987381-08:00",
"MeasurementValueNeededDate": "2025-12-16T23:42:20.5987381-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "47874630-f78e-4f1e-816f-05ac08d78b10",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "4015cbc7-c3b2-4a39-8b75-20512491c704",
"EffectiveDate": "2025-12-16T23:42:20.5987381-08:00",
"StateType": {
"StateTypeId": "c1a88563-3f86-4748-a30e-4834c4f64bf3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f99cc562-cef6-4244-b20e-acc59b38bcff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "748852e7-ee52-4a62-ae15-6f83c6e7e624",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6393ebef-e474-46e4-a264-7800232a0457",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3611dd6f-54cc-470f-b0fe-e8fcfbd7e031",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "246446aa-bad3-46c1-8d8b-0c5df272f994",
"EffectiveDate": "2025-12-16T23:42:20.5987381-08:00",
"StatusType": {
"StatusTypeId": "aa9b4555-3bd0-42c1-aab1-c4ecb9fbd703",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f99cc562-cef6-4244-b20e-acc59b38bcff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "748852e7-ee52-4a62-ae15-6f83c6e7e624",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "242bd2e7-ac39-4bff-afbc-2f1281a65231",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6360ee1d-de1b-4f53-ab1e-9b53826a050d",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "eab366ff-98e0-46a8-b06b-8aeb71ca5cb2",
"EffectiveDate": "2025-12-16T23:42:20.5987381-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "7340b123-f6af-43a7-9ca4-ae0dc20b5d1c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cb1c0c04-3ce3-4475-b0c2-8ed54cfd36ca",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8871c341-0e69-40cc-8951-8c02bb6bb607",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-16T23:42:20.5987381-08:00",
"MeasurementValueNeededDate": "2025-12-16T23:42:20.5987381-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2347c02f-fb78-43f5-844d-2e5d3ce08b35",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-16T23:42:20.5987381-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c88e9f9a-90af-46cf-a708-f433cf7351a8",
"CreateDate": "2025-12-16T23:42:20.5987381-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T23:42:20.5987381-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"
}