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": "b6df726a-102d-4913-a072-494b41b6fb8d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a96fdbd4-e680-4de9-ad9f-4509c1d88545",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f88e4fcc-ab70-460d-bf8b-95539b23b233",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "27a8ac06-31e0-42c8-b9cc-e973da340b04",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "91a9e819-8674-4d43-b63e-bd3849757b8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "edbf4038-d190-457c-8329-fcc112263567",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6bf6a42a-3daf-479f-975c-f4c180833c3c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:57:00.7969164-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:57:00.7969164-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6ab129ad-26f4-47d4-a6ba-833b8ff23883",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "262122a1-1404-40e1-a0fb-869a5ea9f734",
"EffectiveDate": "2026-01-07T15:57:00.7969164-08:00",
"StateType": {
"StateTypeId": "ce6b1a90-fe88-49ee-bbcf-d3f4f6f97604",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "91a9e819-8674-4d43-b63e-bd3849757b8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "edbf4038-d190-457c-8329-fcc112263567",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7c01e894-402c-4495-a0be-fa62c573d93a",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "86c4b2d8-eb87-4240-95dc-0aea0e93fb19",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0820cccd-476a-4b28-81af-bce9532eb030",
"EffectiveDate": "2026-01-07T15:57:00.7969164-08:00",
"StatusType": {
"StatusTypeId": "39ebd3e4-06a2-41bb-90ea-b6aa7a612aa3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "91a9e819-8674-4d43-b63e-bd3849757b8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "edbf4038-d190-457c-8329-fcc112263567",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4cfa2407-1b3f-4681-a6c3-216c7a727f58",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d621955c-21a1-4098-9618-e34e982c157e",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "13b22494-06c7-4bda-97cb-6224ed80f6ac",
"EffectiveDate": "2026-01-07T15:57:00.7969164-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "1cb515c9-5848-44c1-bd9c-4a631531e7ae",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c7c4681f-90dc-4276-a0d0-344844fd6ecd",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "86947eb4-afa2-459e-80d6-d74879916fd8",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:57:00.7969164-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:57:00.7969164-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fa29d93a-2465-49b2-bc6d-a4d97dd199d7",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-07T15:57:00.7969164-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "1ae35255-6429-412d-b5e6-a868c3cbfa16",
"CreateDate": "2026-01-07T15:57:00.7969164-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:57:00.7969164-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"
}