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": "7de3847f-57d9-4d07-bca6-d58cac880e67",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4308055b-6e2a-4bef-8239-825fec842c2b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1b789f4d-f34f-4410-860b-a2b3868915fa",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6ce7e4b7-2f0d-473b-85f9-55f7a707066b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c1412f66-9dac-41f8-aabd-371f28617e1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7d91f84c-0cca-4258-8413-0727b2793131",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "640d4769-bb09-4a27-85a9-3ebee1c3f9a4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:27:48.0853445-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:27:48.0853445-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "433cff5f-c1c6-4ec7-b322-2e9d11aafc85",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "bef788d0-6b9e-4620-96d2-0773adfd0a3b",
"EffectiveDate": "2026-08-04T17:27:48.0853445-07:00",
"StateType": {
"StateTypeId": "b7c54263-b27b-4e10-a4b3-82e3d795c9b8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "c1412f66-9dac-41f8-aabd-371f28617e1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7d91f84c-0cca-4258-8413-0727b2793131",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ded773c7-dd49-42e8-870a-a7a3c5e4cbfd",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2c1c4652-92bf-4657-9b52-0ab3d66444f3",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "85ff39cc-2a69-4c5b-8a08-fe4d5e101a23",
"EffectiveDate": "2026-08-04T17:27:48.0853445-07:00",
"StatusType": {
"StatusTypeId": "424bdd49-3c86-41e9-af8b-413ef8f4485f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "c1412f66-9dac-41f8-aabd-371f28617e1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7d91f84c-0cca-4258-8413-0727b2793131",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2e2481e0-c6ca-4420-8638-da683784e986",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7fe635c2-a2a9-4151-aa94-bfc3c032055e",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7cec52a0-06d1-4059-85d3-a8417b878f1a",
"EffectiveDate": "2026-08-04T17:27:48.0853445-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "77fbadcf-2731-4687-b584-48c79462dc09",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a4253031-78ed-4272-81d6-ec4b1f74f556",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "569169d2-f2b2-401d-845c-14de72f22951",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:27:48.0853445-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:27:48.0853445-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "26539b92-92c1-40a4-a464-559abe9faa9f",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-04T17:27:48.0853445-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "268fe018-0af0-4a82-a281-871395e76faa",
"CreateDate": "2026-08-04T17:27:48.0853445-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:27:48.0853445-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"
}