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": "bc04fa55-abbd-4c7b-81b0-47a49e85627d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "55fe846c-8d12-4996-96b6-85c44cc6adaf",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "dd26e4c3-0713-4970-b7a2-31bd1666fd3e",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "52ab3c7e-c14b-40f4-9e27-4691277c9575",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2230fe76-b439-4bef-9d5c-2f08b08d4cb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c56031ac-259e-493f-bcd7-14a1604c3d8f",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "841054b8-99be-4c50-8b3b-3a5c8dfb7adf",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-03T03:35:34.9767594-08:00",
"MeasurementValueNeededDate": "2026-02-03T03:35:34.9767594-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "aecff4ef-07eb-44e3-9933-fa7af0f2ef35",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f3ab0ab2-f2f5-432c-aeb4-5b60790b2acd",
"EffectiveDate": "2026-02-03T03:35:34.9767594-08:00",
"StateType": {
"StateTypeId": "28c90542-fd27-4b3a-8c94-083c2b4384df",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2230fe76-b439-4bef-9d5c-2f08b08d4cb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c56031ac-259e-493f-bcd7-14a1604c3d8f",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1dc07368-f465-41cc-9598-b4671fcad959",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9a4024a9-a1c2-444d-bd9e-ffaf20f3b2ce",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e2ca9836-7faf-42db-a50a-9ede9656f0fb",
"EffectiveDate": "2026-02-03T03:35:34.9767594-08:00",
"StatusType": {
"StatusTypeId": "53896012-fa98-4f2c-b9f1-418e752abdb7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2230fe76-b439-4bef-9d5c-2f08b08d4cb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c56031ac-259e-493f-bcd7-14a1604c3d8f",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ce96777b-ea88-4f8d-bd5f-87fb0c0fbdc5",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d71c34fd-b613-456e-8e8c-611a38bb6aaa",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8461c8a9-2363-46ed-9c6b-c1642748f579",
"EffectiveDate": "2026-02-03T03:35:34.9767594-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "7b0f7394-3b57-4377-802d-83feebf8ae75",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cef338f3-1dc3-44ad-a269-5cc5a99e192c",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5a3a698c-e8ff-4e36-b9cc-388bd27ff042",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-03T03:35:34.9767594-08:00",
"MeasurementValueNeededDate": "2026-02-03T03:35:34.9767594-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "86e7abbc-b04d-42ef-8fc4-f15108e7442c",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-03T03:35:34.9767594-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f22969b8-7ae9-41bc-82fb-9f5928cc67c8",
"CreateDate": "2026-02-03T03:35:34.9767594-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-03T03:35:34.9767594-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"
}