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": "dd88c8cc-7b26-4593-86db-50cf14765a2d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e50c4ba4-52bd-4e41-a85d-5f5e6310c401",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "9ac6bfb5-9fdd-46c7-a101-346e64c53fa4",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3fa908af-6140-4e42-8f2e-d7f8ae05620f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "70e49e2d-e95f-4e86-b466-c611cbff5a02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b2d228f1-0156-4aa0-9718-3079601a950a",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3bcc0fed-0d3e-46b2-8c1e-449c15168fc0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-22T19:43:03.4626246-08:00",
"MeasurementValueNeededDate": "2026-02-22T19:43:03.4626246-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4ce98724-9f52-4fec-841c-2b47ceb99f7c",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "620d2e30-170f-4e76-94f4-ac88c4806f4a",
"EffectiveDate": "2026-02-22T19:43:03.4626246-08:00",
"StateType": {
"StateTypeId": "91abc914-2fa4-4c14-8f47-1f5b34e7bd85",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "70e49e2d-e95f-4e86-b466-c611cbff5a02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b2d228f1-0156-4aa0-9718-3079601a950a",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a7f9958b-6a00-4be2-ab23-6f6f37899bba",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1a0f96a5-c567-4303-99b9-88d28390bc09",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f7352e0e-af50-4f4d-a5b6-e9e69cea32a7",
"EffectiveDate": "2026-02-22T19:43:03.4626246-08:00",
"StatusType": {
"StatusTypeId": "fd414182-1f01-4d06-9bf8-da090d32b3b5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "70e49e2d-e95f-4e86-b466-c611cbff5a02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b2d228f1-0156-4aa0-9718-3079601a950a",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "3821e0ea-8710-4037-9aca-01004ce5eda2",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bb0a4cd0-8e8e-40c6-9c69-3d3bba817af8",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d64d5f15-b1d9-4589-a3b2-b012c9903eb8",
"EffectiveDate": "2026-02-22T19:43:03.4626246-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "528b8b43-94b8-409a-b3b7-1a6172ae17e1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "75ebe09b-0d0c-46d5-aa56-75de38a5907d",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ac049750-ed09-48e0-8205-81f48367b6fc",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-22T19:43:03.4626246-08:00",
"MeasurementValueNeededDate": "2026-02-22T19:43:03.4626246-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "09e5e692-6656-44cd-9035-061becc46988",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-22T19:43:03.4626246-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "1ff90f7d-973e-4b63-9601-524d8bdc2d4a",
"CreateDate": "2026-02-22T19:43:03.4626246-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-22T19:43:03.4626246-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"
}