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": "38e6d72b-7200-4dd6-8b59-c2b0d1096afe",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "c527fa7a-93e1-45fa-b865-985c837e9c66",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a192da95-2e8e-44ed-8e0c-bbd69330ca2b",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a6e41d5b-aaf8-47e1-bcd1-f086046bef6c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "de31e719-6eed-43f6-b7f2-d070278a96e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "108ea34f-d916-4a27-816f-5d2210ff9e7a",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c3ac292d-f914-470d-abeb-7e81b7d9e575",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:58:43.0785884-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:58:43.0785884-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "78d50e73-5d7c-42b0-b169-ff8687b19dd3",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "245f72bf-dfaa-4818-9ea6-7fcf7829a278",
"EffectiveDate": "2025-11-17T18:58:43.0785884-08:00",
"StateType": {
"StateTypeId": "128743b2-524e-4ba5-bb58-9f4ea2537a2b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "de31e719-6eed-43f6-b7f2-d070278a96e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "108ea34f-d916-4a27-816f-5d2210ff9e7a",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "90e249f8-8979-439d-bc2a-b71bbbc715da",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5f0fd085-0fc7-43a6-9246-3a8369989d97",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8293d66d-6426-49fc-9b04-38ba39bb6583",
"EffectiveDate": "2025-11-17T18:58:43.0785884-08:00",
"StatusType": {
"StatusTypeId": "835af897-bedc-4768-a0c7-e129653b96e5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "de31e719-6eed-43f6-b7f2-d070278a96e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "108ea34f-d916-4a27-816f-5d2210ff9e7a",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "3593bb6a-8a82-4b25-b3b8-be9cadd510db",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bbe55ac5-f539-4d8a-a444-5345e2bb87ca",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "38876a07-b946-45a6-ab59-9806af45ce2e",
"EffectiveDate": "2025-11-17T18:58:43.0785884-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "64c4fc16-0548-47ee-b06b-8dbd59b4bb71",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bd084c79-91c7-4423-bde1-6ed44f882e0d",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "62ad7e6b-b314-4cfa-84cf-305f8121381e",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:58:43.0785884-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:58:43.0785884-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3760b1da-9202-40e1-b644-40097ba61009",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-17T18:58:43.0785884-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "eba79c63-1a11-44f0-868b-d0a25af21748",
"CreateDate": "2025-11-17T18:58:43.0785884-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:58:43.0785884-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"
}