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": "87352d8d-1898-4ad5-b55e-f38acd4d9bf0",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "21b543da-c357-4729-82a4-1192f3f1d65b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "87a827da-bb32-4d24-84d4-fb0965b10b72",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "012d815a-38b9-4779-bc45-4990ff2d20b1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ff8b0ed0-c9c6-4b18-b0d3-60794494d78e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6e18bc79-1564-41d2-86a1-4dc367495075",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "25677bf3-6c5a-48b1-ab9c-0e8ff6cdc272",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-03T14:50:28.4958694-07:00",
"MeasurementValueNeededDate": "2026-10-03T14:50:28.4958694-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d81b643c-36d1-40af-b8dc-b40aeae661ef",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "15587429-30e0-46a6-96f6-64c0802e82a9",
"EffectiveDate": "2026-10-03T14:50:28.4958694-07:00",
"StateType": {
"StateTypeId": "bff13b3d-e693-4f4f-9371-29e257bccdc8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ff8b0ed0-c9c6-4b18-b0d3-60794494d78e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6e18bc79-1564-41d2-86a1-4dc367495075",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "017582b9-445d-4fb7-9479-890bdb158685",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b399ae76-3242-4730-aeac-b485b193b952",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "1b1c0481-508b-4cb6-9f2b-4431884d2b2e",
"EffectiveDate": "2026-10-03T14:50:28.4958694-07:00",
"StatusType": {
"StatusTypeId": "fb44f116-4b50-4205-91d3-d93bdfcd2225",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ff8b0ed0-c9c6-4b18-b0d3-60794494d78e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6e18bc79-1564-41d2-86a1-4dc367495075",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "27f9acc3-a112-40ad-a494-c7d402aa664c",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4c088572-8c81-40f1-b5ee-f67300182942",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "10e57e28-85c3-416e-bd5f-3052ab7d007f",
"EffectiveDate": "2026-10-03T14:50:28.4958694-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "33a3659b-04ce-4e29-8aff-086fa743639b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e8ed68f3-7616-4e3e-bb9c-03dc89902201",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e798ab82-e070-4b72-89a2-4f65684cda92",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-03T14:50:28.4958694-07:00",
"MeasurementValueNeededDate": "2026-10-03T14:50:28.4958694-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "232f1310-9c95-4bc6-b54c-cbfe0791a668",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-03T14:50:28.4958694-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "65d26c86-6509-48ea-ab0b-a6a4f29d997d",
"CreateDate": "2026-10-03T14:50:28.4958694-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-03T14:50:28.4958694-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"
}