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": "710bc69c-7d44-4bb4-b898-db2cda44c12f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "345eb800-4e4a-4285-89e9-dd519d7f1326",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1fd0c095-7ee1-4780-abae-652d550cd4d4",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5828ecd6-cd96-4086-9129-edce339ada9e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "828030b5-5e58-48c1-b39a-1a5d0ba9f3ec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f738dd22-627a-47c2-bb1f-566df3703db0",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "50a886f9-61ab-4b9a-a48f-a2dabfe789b0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T13:22:46.2076193-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:22:46.2076193-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4f06f2f2-21e5-4525-a689-cfbf2e701a07",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e372e237-ee75-42b8-b32e-5a60e7f44a1b",
"EffectiveDate": "2026-07-15T13:22:46.2076193-07:00",
"StateType": {
"StateTypeId": "6f86f2e9-e735-4985-bd3f-e7b9853666ce",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "828030b5-5e58-48c1-b39a-1a5d0ba9f3ec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f738dd22-627a-47c2-bb1f-566df3703db0",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "44389f25-055e-4f5e-be3b-b8a12d45d5c0",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e02284e0-82c1-4e34-9d97-81ab1de77de5",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a4fe2ae6-0b09-4576-a42f-d02239774dfd",
"EffectiveDate": "2026-07-15T13:22:46.2076193-07:00",
"StatusType": {
"StatusTypeId": "b43e1b12-3c91-4dca-8b81-b90530aaed74",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "828030b5-5e58-48c1-b39a-1a5d0ba9f3ec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f738dd22-627a-47c2-bb1f-566df3703db0",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4c7dfd6b-2fdc-43dc-8dbf-14727c44a9d4",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9fd5ab35-369a-45fa-80d3-d0e4788d9d57",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "a4be3a93-852c-429b-b122-1535a4607490",
"EffectiveDate": "2026-07-15T13:22:46.2076193-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "80be7d23-1a98-43bc-9602-5b83eba1bf98",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b51cdef3-2e76-4429-afb9-4d39ce9cdd46",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "10292481-a160-428a-8c34-d96e15e032b3",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T13:22:46.2076193-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:22:46.2076193-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a518c150-d050-4d21-b173-e6ee57e992a6",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-15T13:22:46.2076193-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cc58a29d-d231-4f85-9651-513ae659f06a",
"CreateDate": "2026-07-15T13:22:46.2076193-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:22:46.2076193-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"
}