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": "760ff53c-c61b-4ac0-8aae-ace6c79006da", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "7f02a165-228a-4138-a393-cf08733ad15a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "8ebb70c4-6215-48f9-b59f-cb69f76ff85a", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "7d819a68-f7bc-452e-b773-ed7a581f03fd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8f25d39b-0050-40e2-aeea-21085fe724e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8e8489f-91c4-4264-9d45-c461bfe7e913", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f9a19c89-09ca-4d43-a9ac-4e95dfecdb3e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-03-27T20:18:13.925132-07:00", "MeasurementValueNeededDate": "2024-03-27T20:18:13.925132-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1e8c0d5d-b109-4d4a-934c-fe8b0f4b21ab", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cfc4dad2-e0e6-4a43-8e4e-93b8aa944a9a", "EffectiveDate": "2024-03-27T20:18:13.925132-07:00", "StateType": { "StateTypeId": "0aa071b6-93b1-40a3-a88d-6959ba900f40", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8f25d39b-0050-40e2-aeea-21085fe724e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8e8489f-91c4-4264-9d45-c461bfe7e913", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "76ab99e8-1b33-4104-a74a-dad96919f9a8", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b6634378-049e-4b4e-afc8-7057803cf4a7", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e831fd54-4d55-4ef1-8c7b-dc666d71fd7d", "EffectiveDate": "2024-03-27T20:18:13.925132-07:00", "StatusType": { "StatusTypeId": "3464f7c3-4048-4753-b3a0-a42f8abc7ca1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8f25d39b-0050-40e2-aeea-21085fe724e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8e8489f-91c4-4264-9d45-c461bfe7e913", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d217ac2b-c35e-47f6-a7d9-773ac52c2de8", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d9574d68-bc4f-4e02-b534-19a1fbeb5f32", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "7b16a0bb-8d85-4c52-b63e-70436c7695ec", "EffectiveDate": "2024-03-27T20:18:13.925132-07:00", "WellPurposeType": { "WellPurposeTypeId": "1a9eeada-de8d-4664-8835-9cab69b84134", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1e8fa010-c9b3-46dc-a796-4e9964cc9588", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "0fcaf0ba-bcc3-43c7-8260-749c9c0731a8", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-03-27T20:18:13.925132-07:00", "MeasurementValueNeededDate": "2024-03-27T20:18:13.925132-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "73c7b0d3-e5ae-47cd-ac12-5e8d391f3b97", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:18:13.925132-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-03-27T20:18:13.925132-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "94219b88-a71a-42d6-a4d3-d07a016d2d0f", "CreateDate": "2024-03-27T20:18:13.925132-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:18:13.925132-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" }