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": "8e337fdc-f7b0-4095-8b2a-94e425959602",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d393c9b0-bee4-428a-9b05-99d02f4920d9",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "b0ece218-5eb4-4675-bdbc-76918b6c8138",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "8b057a00-72f7-4eaa-a5b8-b71323f5c934",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1be6fb10-6d9f-4f38-bef7-c941d7e381a8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a4acf4af-fa47-493a-a134-43a8156e0561",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1a4e7a22-e217-4c75-b5f1-deb662166e9f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-26T14:00:14.4382124-07:00",
"MeasurementValueNeededDate": "2026-09-26T14:00:14.4382124-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d2301607-6c04-47aa-8e08-db878afe26ed",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "c6d80302-6927-4290-8942-13b3286d0ac8",
"EffectiveDate": "2026-09-26T14:00:14.4382124-07:00",
"StateType": {
"StateTypeId": "5eef70f4-3aa0-4fb9-8882-6e2f46840c0e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1be6fb10-6d9f-4f38-bef7-c941d7e381a8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a4acf4af-fa47-493a-a134-43a8156e0561",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a1441d36-f7f0-41f3-aa5b-367cfba5461c",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "39cc348d-3fab-4182-b426-a11d16927d17",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9f660205-8b07-41a4-a17d-a70a965411ec",
"EffectiveDate": "2026-09-26T14:00:14.4382124-07:00",
"StatusType": {
"StatusTypeId": "2935cfa8-7698-4566-86af-101f824334d4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1be6fb10-6d9f-4f38-bef7-c941d7e381a8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a4acf4af-fa47-493a-a134-43a8156e0561",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f9b456dc-e8f3-41e3-98fa-6136ae7f9342",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7e94e1ad-dac6-4039-8ed3-5173d0b5d24e",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "f7d109db-7ebc-450c-a937-6dc7458de4bf",
"EffectiveDate": "2026-09-26T14:00:14.4382124-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b01cac9b-ad25-4089-b09e-bc9b4e4a0866",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d7b132fd-888c-4d45-895e-3328ed42bb1c",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b308a020-a3b5-4d03-9cc8-44acc959eb9c",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-26T14:00:14.4382124-07:00",
"MeasurementValueNeededDate": "2026-09-26T14:00:14.4382124-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bd32d752-1cc7-46f0-83b1-59dfe7bb60bd",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-26T14:00:14.4382124-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "4337cb7f-60b4-4977-90a0-4835f3f614be",
"CreateDate": "2026-09-26T14:00:14.4382124-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:14.4382124-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"
}