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": "537b6b8b-b072-4a42-bb01-58eaf58bab89",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "18c340e9-20dd-468f-bee9-4be71395eb20",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "11a33e51-efd8-4fcd-a8c9-7ce84887d8f0",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5b473871-fbb7-44f4-a0ad-1687abe4324d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8bd4c7d0-c390-4349-8920-8b79c5c5d200",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "56202b15-38fe-4817-9283-154b0474ccd7",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b1e73828-6d05-4429-97e0-ca07cf6d922e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:30:53.1362824-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:30:53.1362824-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c1830b19-7520-4d6a-b871-439054688fbf",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "454c7319-05ac-4d07-a2ba-e51425cd16b3",
"EffectiveDate": "2026-06-17T17:30:53.1362824-07:00",
"StateType": {
"StateTypeId": "cea99d3a-c555-4f98-97b3-9ca34af4426d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8bd4c7d0-c390-4349-8920-8b79c5c5d200",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "56202b15-38fe-4817-9283-154b0474ccd7",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1a8f8c91-6876-49e9-9713-38f21ae29390",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c0c27e86-414d-4b9f-adb6-2c5252cb72ea",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c02457b0-ac39-4ce7-b64d-be9ec915f7ad",
"EffectiveDate": "2026-06-17T17:30:53.1362824-07:00",
"StatusType": {
"StatusTypeId": "d1c441bd-86da-40c6-a99e-59aaa896c644",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8bd4c7d0-c390-4349-8920-8b79c5c5d200",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "56202b15-38fe-4817-9283-154b0474ccd7",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5db84c2e-e22f-4336-b4ca-3b0ad5142c9b",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "66370ac1-8dfb-4793-9e59-0350f905b15a",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "30d13be6-04a5-49d7-9040-50c1a0672017",
"EffectiveDate": "2026-06-17T17:30:53.1362824-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "7c2b5dec-2cdc-4b20-b551-ae53e3087430",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c37b058f-e892-45f7-a414-23079e7f81f5",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "76e7751e-043d-47ee-9696-a97dcdd06208",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:30:53.1362824-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:30:53.1362824-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "33a1c9af-989f-4c18-b583-f1097d16a33d",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-17T17:30:53.1362824-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a71fe4f2-e86f-4f02-87e7-51a0b4814c8b",
"CreateDate": "2026-06-17T17:30:53.1362824-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:53.1362824-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"
}