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": "e31c8fe3-8344-4879-9cb5-1af7b44c4964",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "873354a9-86f3-40ef-ba7d-243a8dbcd1d1",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "19c98195-ad4b-4afc-a399-3134082643bf",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "43aba893-6cff-47fa-9ac0-779d0cdca76a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "495517ca-9c98-474f-8761-6ecd6baa708e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "157981f3-7a95-4a69-b7f9-6bfeb1487868",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4520f01b-d354-4d18-89fc-5e4628a683fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:51:49.1617796-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:51:49.1617796-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ce8a8ad4-e8d8-4931-bf61-a4c4dd806101",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "8ba43627-b628-48f6-a918-a97479e295d3",
"EffectiveDate": "2025-11-04T16:51:49.1617796-08:00",
"StateType": {
"StateTypeId": "971438c3-3281-4bbf-907f-bc2593c87260",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "495517ca-9c98-474f-8761-6ecd6baa708e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "157981f3-7a95-4a69-b7f9-6bfeb1487868",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "baf1e808-4b30-46ad-b408-cd7a1915848c",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "72805def-00ac-4692-85fa-b9c792a4adef",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "6bcb9d7d-0e62-46aa-aed8-53953ca867ec",
"EffectiveDate": "2025-11-04T16:51:49.1617796-08:00",
"StatusType": {
"StatusTypeId": "cf322c21-dc89-4bac-987c-a7b01e180717",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "495517ca-9c98-474f-8761-6ecd6baa708e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "157981f3-7a95-4a69-b7f9-6bfeb1487868",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5a81b392-505b-464f-ba30-c99ecdee8e21",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f26fab27-d20a-4a25-b43f-809eb9861184",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "41a36121-865f-4934-b7f4-b82366f35ff5",
"EffectiveDate": "2025-11-04T16:51:49.1617796-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "6fa2a54d-5587-498b-b5e7-82707ab71c1c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "21fbf12a-9d6e-4dad-82b4-5ae94f450970",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8e58cb6e-b508-4e44-a3a3-84841f81de0d",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:51:49.1617796-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:51:49.1617796-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "70e2afd8-3272-40f6-9c58-8a61f1935d24",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-04T16:51:49.1617796-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "6a53e596-23e8-4af4-9f89-abffc5a2f9a2",
"CreateDate": "2025-11-04T16:51:49.1617796-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:51:49.1617796-08: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"
}