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.
AttachmentName | 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": "402c61d1-27e5-4f54-b4d9-637cfdfa07f8", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b2949e37-7265-4903-a65d-3ab2d4dcd6e8", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "bd8a3dd5-b8a8-420c-b3e6-119c1d15a764", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "51efda08-e786-48cb-bb6c-7d2d3f88c897", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "267528d4-495c-410e-8ad2-d07016004c9d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "97afd855-00a6-4f8e-97c1-2f653f0bc200", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "03b3f31b-ca24-465c-9bde-1d48c94c3abf", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-19T01:12:47.2115105-07:00", "MeasurementValueNeededDate": "2025-07-19T01:12:47.2115105-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6be7f13c-e13a-48d4-86f2-52e4145bfd7f", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "40147a4e-8029-48c2-8584-8bc129198cad", "EffectiveDate": "2025-07-19T01:12:47.2115105-07:00", "StateType": { "StateTypeId": "36a6a6d2-e235-4764-8b20-535414fc6362", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "267528d4-495c-410e-8ad2-d07016004c9d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "97afd855-00a6-4f8e-97c1-2f653f0bc200", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0ca4ae24-d38d-460c-91eb-c3960d7d7aa2", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "31702397-cdf4-46a3-bbc1-1cd79c0d9e40", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "36c8a25d-4749-47ab-a4a4-38e6344ed715", "EffectiveDate": "2025-07-19T01:12:47.2115105-07:00", "StatusType": { "StatusTypeId": "30ccfb1f-2b73-4935-bfb2-7580b187eba6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "267528d4-495c-410e-8ad2-d07016004c9d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "97afd855-00a6-4f8e-97c1-2f653f0bc200", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "379d2c7c-83b4-4e52-9ed4-11ee85a1dc42", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ef7faf21-1f4d-4ba4-a2dc-9b0688c4e55b", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a7d9d806-ba86-4a5b-ab21-675bc8d16cb6", "EffectiveDate": "2025-07-19T01:12:47.2115105-07:00", "WellPurposeType": { "WellPurposeTypeId": "9c77f705-0602-4f35-86bd-4ce545abe8c8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c9e64c82-b9e6-46f9-8f7c-3350ece4e351", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "62bd815a-5603-4a4f-a4d4-1d38a44fbbed", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-19T01:12:47.2115105-07:00", "MeasurementValueNeededDate": "2025-07-19T01:12:47.2115105-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f9158ca4-1ca8-47c3-9c52-f770ce6cf6d4", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T01:12:47.2115105-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-19T01:12:47.2115105-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "d3cd2146-dacc-4b4f-8e4e-188bd317e31a", "CreateDate": "2025-07-19T01:12:47.2115105-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T01:12:47.2115105-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" }