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": "65f6fbe5-c40d-4e90-b675-7d0d625007be",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6f88a796-6f88-4bd9-870d-a1078aa7c1f7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8b4165b8-e01a-4617-81c4-56e22e99b03b",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "982871f9-080f-47ac-aeee-02591a92817b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "df4ce746-1c64-4d4d-8c42-1fb3b67c0ac0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60492f78-75cd-4033-b8d5-4c14d7a697dd",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4cd74a8a-73c8-4a79-a646-942f57849353",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T04:59:54.3602425-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:59:54.3602425-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2b56b50f-2b26-4e91-9f21-d3eecdebff99",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "98a9d47f-f947-4d73-90ee-47e26ace618c",
"EffectiveDate": "2026-04-18T04:59:54.3602425-07:00",
"StateType": {
"StateTypeId": "3ddc8c76-d66c-4ee0-9412-2f98dcccbe74",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "df4ce746-1c64-4d4d-8c42-1fb3b67c0ac0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60492f78-75cd-4033-b8d5-4c14d7a697dd",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "aa2582ad-30f7-4856-8e0e-db0881100bca",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d010fcc0-7bc5-47e4-9d3f-4164ab77aed8",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "77233b36-9a41-4ac3-a4ad-9083ec9ba35a",
"EffectiveDate": "2026-04-18T04:59:54.3602425-07:00",
"StatusType": {
"StatusTypeId": "cd66304f-b7e4-4c36-8581-0dc93f2d5bb4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "df4ce746-1c64-4d4d-8c42-1fb3b67c0ac0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60492f78-75cd-4033-b8d5-4c14d7a697dd",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9cfaafdd-1965-44f8-ac8a-2119985b5b57",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "186e6077-658e-4229-afaf-ba418185c211",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "346b48f6-f408-46af-a08a-a46c57416b15",
"EffectiveDate": "2026-04-18T04:59:54.3602425-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5d20c288-dbbc-423b-b797-9141073f03f0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b51d7afe-2e71-4109-8e22-1a2abfa96b85",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "74580ba5-727a-49af-b857-d0d4baaf1a9e",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T04:59:54.3602425-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:59:54.3602425-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f9eadb7-d540-4488-bbf6-9a573250fd27",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-18T04:59:54.3602425-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "05e596c3-066d-4aad-8acb-f63a5bb38d4a",
"CreateDate": "2026-04-18T04:59:54.3602425-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:59:54.3602425-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"
}