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": "b5a976ba-469c-426d-ab41-8a5874948fee",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ce130ad3-d9ad-4ebd-8bac-6781084b33fb",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4b63554f-6be7-4f00-b0f1-f3f148d202f6",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c45086ac-0111-4fb2-908e-9145238e25de",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bfea43b4-ab79-4ccd-9a99-a2214fef5bec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "69dff937-8854-4fc9-b210-abaed44f6014",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "558755a0-9ef0-4670-8a08-4cc929047cfe",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-12T17:07:07.4748303-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:07:07.4748303-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "dba90981-3bc8-4bae-b81d-20065b9efe37",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "cce5b56b-4d71-42ec-bf92-304ac36a3d39",
"EffectiveDate": "2026-05-12T17:07:07.4748303-07:00",
"StateType": {
"StateTypeId": "377d80f2-4beb-4f33-846d-ad22aecd5d41",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bfea43b4-ab79-4ccd-9a99-a2214fef5bec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "69dff937-8854-4fc9-b210-abaed44f6014",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6ead1b76-f691-4a30-9a9d-235216016cfd",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ba5351dc-acee-4960-9479-5ffda4395e04",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e3729ef3-e3c7-41cb-8f88-b6935f1110ba",
"EffectiveDate": "2026-05-12T17:07:07.4748303-07:00",
"StatusType": {
"StatusTypeId": "6daa294e-a95e-4d83-81ac-8585e09285a8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bfea43b4-ab79-4ccd-9a99-a2214fef5bec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "69dff937-8854-4fc9-b210-abaed44f6014",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8f76207f-07f0-4468-8870-4dbd05226240",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6bb3d3de-7ac5-4208-ac6f-53cce3553f74",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e1e13337-d941-4e11-91b6-5fd186485247",
"EffectiveDate": "2026-05-12T17:07:07.4748303-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "45fe2809-fb30-4276-a722-0c4427f90c0f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f4088744-2b3f-494d-83fa-4f2d1f19db81",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cbc3ef23-bf35-4f9d-a185-ab498ce7b6f5",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-12T17:07:07.4748303-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:07:07.4748303-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ba09fdc7-d26d-4483-9548-007c791df2d6",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-12T17:07:07.4748303-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e592aac5-ee81-488a-8b00-57382f1172b2",
"CreateDate": "2026-05-12T17:07:07.4748303-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:07.4748303-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"
}