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": "a1fa5883-54e6-4d59-9597-07ecf904f5d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "eb41410e-0e88-43fe-b19f-fac157d0dc0b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "adce3620-1c94-4c5d-8bdf-23836ddbc567",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "95bae738-a712-483f-8d15-4586481444eb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5a80a9ec-bda3-4203-af91-47049b91a42d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4d302661-597b-4b45-b86a-0cc9dfeb7aee",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e4965cb0-f140-47c7-96b4-861de941cf37",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:36:40.0329998-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:36:40.0329998-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c64fad65-2a5e-4294-8b63-5019d0201dcb",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "10dfc20d-24d9-4ffb-95a7-cf7f3bbf1c03",
"EffectiveDate": "2026-08-24T21:36:40.0329998-07:00",
"StateType": {
"StateTypeId": "a20998e9-b578-4cac-8214-03546aeae05c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5a80a9ec-bda3-4203-af91-47049b91a42d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4d302661-597b-4b45-b86a-0cc9dfeb7aee",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3326cdac-45b1-4a54-b03b-761fe7c05799",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "17aeb3b4-f989-45c9-a04e-6bba9b816a5e",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7c411048-449f-48ad-9957-54c892fc0174",
"EffectiveDate": "2026-08-24T21:36:40.0329998-07:00",
"StatusType": {
"StatusTypeId": "5c8c6370-a840-4c65-ad10-2ef8e68ea581",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5a80a9ec-bda3-4203-af91-47049b91a42d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4d302661-597b-4b45-b86a-0cc9dfeb7aee",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "7246c4bd-b6e5-498e-a209-05e3d15c7a78",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d45de6c6-0109-4451-83ae-f65aeb87e434",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5d1b54a2-3822-4f51-85c4-db1bdf479bc9",
"EffectiveDate": "2026-08-24T21:36:40.0329998-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "cd6262b8-1f27-4722-b7ec-7ce57a376f71",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "28da96d5-e785-4e7c-84a7-931bcc9a7832",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0bdae6ef-e239-4b5a-9737-21c5713c7f3a",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:36:40.0329998-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:36:40.0329998-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5a17ed72-458a-4ed7-a739-ddca5ade91c7",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-24T21:36:40.0329998-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "1eacae8c-1238-46da-93ca-14dcad854ae9",
"CreateDate": "2026-08-24T21:36:40.0329998-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:36:40.0329998-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"
}