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": "a77b902e-999e-494a-b61f-f97540c85770",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "46334870-e840-4701-b0ba-9f5e4e471470",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "b87a64d0-9ce5-4f03-bea8-7d62dbebae71",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d07d9001-c58f-4e46-9dc3-51e0c16612a1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d83ded32-194d-4ba1-b911-977f9bb6ced4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c1a600fc-a388-4855-914d-ceeedf906925",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c2a71bcb-0880-4cca-8570-75ba5d2c9040",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:50:25.0675779-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:50:25.0675779-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "55a27ae9-8ad9-4356-8ac5-788bebf623b6",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "dc4780dd-eca6-4463-ae91-d3d124d286a5",
"EffectiveDate": "2026-03-30T16:50:25.0675779-07:00",
"StateType": {
"StateTypeId": "7241b4b6-fe78-4a37-b014-268dd55089ac",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d83ded32-194d-4ba1-b911-977f9bb6ced4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c1a600fc-a388-4855-914d-ceeedf906925",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ec6873a6-e520-439f-8389-29ddc2e7dabc",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f9c49ca1-a9fc-4d55-995a-aada0af9e11d",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d3a18fa2-e6ea-436b-a251-eacf734e72f4",
"EffectiveDate": "2026-03-30T16:50:25.0675779-07:00",
"StatusType": {
"StatusTypeId": "28ecda42-cabe-44c3-aa3c-714f1f1c6a68",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "d83ded32-194d-4ba1-b911-977f9bb6ced4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c1a600fc-a388-4855-914d-ceeedf906925",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2658e70e-5423-48fb-9cc9-52030a2c4d9c",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c1d43bc6-c2fb-4095-a1b5-a2997a996f35",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "01c65092-6634-4e43-ab99-75d02f1d206e",
"EffectiveDate": "2026-03-30T16:50:25.0675779-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "757d27cc-ca82-4431-93e9-1201aad3ce86",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0f5b7da5-81a2-4e23-8b8c-71970fd93b70",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9ab2ec98-e91b-463d-9753-da5a48c1551f",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:50:25.0675779-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:50:25.0675779-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5c4ab335-e866-4199-aec3-f1f59330edea",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-30T16:50:25.0675779-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a9665387-10a5-413b-b053-535a4eb8d14e",
"CreateDate": "2026-03-30T16:50:25.0675779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:50:25.0675779-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"
}