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": "9f4ce6af-030b-40b8-b8a0-af68865d8277", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "09ed712c-328b-4177-9614-54565f65ca07", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a8342507-dcc5-429c-9d26-e2c4bc8ebd4a", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e659bb23-fb15-4133-bdb9-73b06c586fc4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d33d0ace-1e1c-413f-a5da-3c09a1b46c74", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "63718db5-da77-42d8-b2a8-45cd045667db", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "93811c2b-1a4f-404c-b813-baacae4f8535", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T04:29:39.1699548-07:00", "MeasurementValueNeededDate": "2024-04-28T04:29:39.1699548-07:00", "SourceSystemId": "sample string 3", "CompanyId": "015d9f09-4555-484d-9308-7661124113e2", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "25d547a4-f8ba-4b0e-a504-d4448cc93e17", "EffectiveDate": "2024-04-28T04:29:39.1699548-07:00", "StateType": { "StateTypeId": "001ebb6b-4c11-45df-b233-023548e50e18", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d33d0ace-1e1c-413f-a5da-3c09a1b46c74", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "63718db5-da77-42d8-b2a8-45cd045667db", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7d884d3b-dde4-44c2-9a45-23606e345c44", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2215e6d9-c48e-4ad7-ad5e-9ab79c4d5d60", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "9ef9f3a7-3736-41ad-b921-a776096a58bb", "EffectiveDate": "2024-04-28T04:29:39.1699548-07:00", "StatusType": { "StatusTypeId": "4ab1d006-34f0-43f7-a906-2ad900a80ac4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d33d0ace-1e1c-413f-a5da-3c09a1b46c74", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "63718db5-da77-42d8-b2a8-45cd045667db", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "cc277f70-26fb-4956-8b30-2918e2976403", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "582ecc0b-e4ce-424a-b4b3-fd4b1fff9b74", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5f83cafd-997a-45dc-ae8d-a43ff6a0bc2b", "EffectiveDate": "2024-04-28T04:29:39.1699548-07:00", "WellPurposeType": { "WellPurposeTypeId": "fc3d3a14-9efb-4417-8c80-5d147592b577", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1492484c-43a3-4a2b-90fa-f4e37628c7d8", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "27aedbf8-8031-4b3e-9d49-50bedebd63f6", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T04:29:39.1699548-07:00", "MeasurementValueNeededDate": "2024-04-28T04:29:39.1699548-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "93c09acf-a9a5-42b1-9e50-f99163c65975", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:39.1699548-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-28T04:29:39.1699548-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "ac7b1ad4-ab07-410c-8d14-e0f2ab6cd00e", "CreateDate": "2024-04-28T04:29:39.1699548-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T04:29:39.1699548-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" }