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": "abace7b7-d426-4a05-94cb-c58f021e9c46",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ca58f918-a010-4a1c-b90b-5a16df1e6e1f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "6e7a2068-ee23-432a-ad33-59cbe4cbada9",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1b88128e-8c4a-4e27-a31d-1cf942395c95",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4e3841dc-0bd0-41b1-a36f-31cd4e4fea0b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de1c8d59-3e9a-44ae-b245-3bd53d148503",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bc299a75-48f7-434c-8bc4-6b929eec477d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:40:08.546844-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:40:08.546844-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "38a2db72-7326-4c50-80a1-f697d33e884b",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1850012e-a0f8-4f3a-a310-c2194331083b",
"EffectiveDate": "2026-09-13T23:40:08.546844-07:00",
"StateType": {
"StateTypeId": "8453d1b1-9e15-4036-8edf-3426d8fac7a5",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4e3841dc-0bd0-41b1-a36f-31cd4e4fea0b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de1c8d59-3e9a-44ae-b245-3bd53d148503",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d79202d8-818c-4dd2-a251-47a3ac463fe4",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b88f26c5-9ec1-48b2-b753-040a507fb6b6",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d7299866-2416-4796-93e0-e7d083b87d0a",
"EffectiveDate": "2026-09-13T23:40:08.546844-07:00",
"StatusType": {
"StatusTypeId": "8e6d0e40-4d91-4860-9bb7-3bac78f958a4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4e3841dc-0bd0-41b1-a36f-31cd4e4fea0b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de1c8d59-3e9a-44ae-b245-3bd53d148503",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "078488d7-655f-4143-a93d-8ca5267b1186",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "34019b77-5725-463b-a9d3-4b054f9c581b",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "45188234-4ba1-4516-aba0-7b7c4ab6baba",
"EffectiveDate": "2026-09-13T23:40:08.546844-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "d7829b15-8967-492d-b83a-5dfe9237ab1b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4099257f-a208-40c2-9549-3821033ca5e9",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c0091ac8-fe24-4afb-b543-502b46e6ce0d",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:40:08.546844-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:40:08.546844-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f42c92c2-4498-44f2-bef4-9397554e8eeb",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:40:08.546844-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-13T23:40:08.546844-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "55a60e05-dbda-4eac-b1d8-85ce3b96191e",
"CreateDate": "2026-09-13T23:40:08.546844-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:40:08.546844-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"
}