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": "bba3b031-b64d-4fa5-b2a3-8e090557e1a7",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3681ade7-8659-4dca-82a2-a564f9505b2e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d1712dd3-224e-40ca-a5b4-29cac67285a8",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f9ce8e4c-d365-4a0b-b611-d4bfff6feb01",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "64e2ba7e-0a71-4927-8a10-286a84ec9396",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1c5d0fcf-539a-40f7-909b-5662a6df0092",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ac924f83-85d3-4254-9aad-9e1eb367e962",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:56:49.2112447-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:49.2112447-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b9d94e85-3278-4f4b-9853-68f1a3a99544",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "42519f7a-46a5-403e-98be-89e3d7c407c5",
"EffectiveDate": "2026-11-01T08:56:49.2112447-08:00",
"StateType": {
"StateTypeId": "08762356-fd03-4510-80c0-b6fdeae0c600",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "64e2ba7e-0a71-4927-8a10-286a84ec9396",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1c5d0fcf-539a-40f7-909b-5662a6df0092",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3f1f2c13-6c25-4acd-bf09-4bd29278742e",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9bacdb90-4c84-435f-a96b-824395614032",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "6812e1dc-4399-4c48-adb8-72cb5958a6b0",
"EffectiveDate": "2026-11-01T08:56:49.2112447-08:00",
"StatusType": {
"StatusTypeId": "37b68b17-be81-4f45-9f34-83033c863e96",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "64e2ba7e-0a71-4927-8a10-286a84ec9396",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1c5d0fcf-539a-40f7-909b-5662a6df0092",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6bbf9ebc-2646-43c5-8e73-c5795fc20a66",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "90e2cda7-62c3-4b90-a8de-29fd2713c7d9",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "69af74fc-4bf0-4a6c-9517-6532cea09911",
"EffectiveDate": "2026-11-01T08:56:49.2112447-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a82165c1-1595-444d-b80c-be672092fecc",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "90379f1b-4b7e-41f4-81b2-7b47e3b15192",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8c86f779-3911-4566-8f2a-d0d768062cd8",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:56:49.2112447-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:49.2112447-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "240bceb9-a983-4979-8804-0a3dad9f0bac",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-01T08:56:49.2112447-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8ee8a2bf-7a8c-41f6-bfe0-aec21b2657a4",
"CreateDate": "2026-11-01T08:56:49.2112447-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:49.2112447-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"
}