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": "23e6c368-321e-4cc9-a54c-d535ecefddc9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e565f2e4-6daf-40cb-8f14-01e76e3398f8",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cbb7e36a-2f16-4429-8461-d56bddd00a1f",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5bd3edaf-27a0-48de-aa83-af2c09587dcb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5ca353eb-07de-43b9-805f-b7156b79f470",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6b1a479a-a7ee-4ea8-9936-55c1afed28a8",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6d410080-2658-4316-bca9-0f4f8d6a4f2a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:59.9726185-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:59.9726185-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "35229629-1207-41e2-ba36-933449b48b08",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "44f3ff49-3366-47b9-b1c8-62398e7f6f86",
"EffectiveDate": "2026-11-22T14:12:59.9726185-08:00",
"StateType": {
"StateTypeId": "00af9c0c-8735-468a-b68f-55009c8691f1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5ca353eb-07de-43b9-805f-b7156b79f470",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6b1a479a-a7ee-4ea8-9936-55c1afed28a8",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "999f6432-37e5-4a0c-868a-2995f4eb065e",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0f760e9f-bc16-415b-815c-36bbd8aa4b96",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "375e33a8-0e43-4c22-bb4f-a511d0c131d2",
"EffectiveDate": "2026-11-22T14:12:59.9726185-08:00",
"StatusType": {
"StatusTypeId": "cc1030db-45cd-4463-974f-dd6caa6d52c5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5ca353eb-07de-43b9-805f-b7156b79f470",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6b1a479a-a7ee-4ea8-9936-55c1afed28a8",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "82ccda2e-0b7a-4ff5-ad0d-824756451cb4",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ae88a303-76c9-40de-acec-332fd5ae509a",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9e9ea2a0-b549-4b04-bbf0-6c3976c59a7e",
"EffectiveDate": "2026-11-22T14:12:59.9726185-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "f6e7fd65-5a60-4b4c-99e6-e4145f4dc4fc",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9b3504fe-93ac-48fb-b92f-9436c3237da0",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9cf377f0-1450-4049-9959-5a226970c5bc",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:59.9726185-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:59.9726185-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "365c13ef-4dcb-4d45-b919-6deaefcee994",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-22T14:12:59.9726185-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0c19b090-b0f7-4f03-94c3-f053aefb719b",
"CreateDate": "2026-11-22T14:12:59.9726185-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.9726185-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"
}