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": "db02117d-9931-40f5-9c79-db55347b9a71", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "5a20f2b1-2ecf-44ca-926f-dea7f31b59f6", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "99ddde9d-e646-4594-9595-432b1a7f941c", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "13a7eb52-8692-4f5a-bfc7-5292d454c120", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3479e5da-586c-4f0f-8222-bea4b7093b10", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a24c9642-b9bd-4f21-b484-96b1330517de", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "085e15dc-bbce-4a8f-8f3e-8a284184f451", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:41:08.4563902-07:00", "MeasurementValueNeededDate": "2025-04-17T04:41:08.4563902-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4a830247-15e9-4ee3-babc-1d48a3b3152e", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "932a03c2-aec2-4160-87db-20e537efcc56", "EffectiveDate": "2025-04-17T04:41:08.4563902-07:00", "StateType": { "StateTypeId": "46466009-90b2-414e-8ff3-26cc0074810a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "3479e5da-586c-4f0f-8222-bea4b7093b10", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a24c9642-b9bd-4f21-b484-96b1330517de", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "dd06f6f3-87ce-4230-ad6f-d59844dc6bcb", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9b92facf-bcbd-454c-920f-aaceac3bc764", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "235360f9-3038-483c-bbab-9cd01eef11f1", "EffectiveDate": "2025-04-17T04:41:08.4563902-07:00", "StatusType": { "StatusTypeId": "0bd491cf-ec65-4b65-89bd-766432a61549", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "3479e5da-586c-4f0f-8222-bea4b7093b10", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a24c9642-b9bd-4f21-b484-96b1330517de", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "42152512-b02a-410e-84f6-b3da9912cca4", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "53b72b84-d8f2-4d74-8412-b0594e56311d", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "986c149a-a784-403e-be5a-89c78b652a09", "EffectiveDate": "2025-04-17T04:41:08.4563902-07:00", "WellPurposeType": { "WellPurposeTypeId": "5458088d-bb08-490b-b5c1-a42cb15189e7", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "750261b5-dde9-49eb-8fbf-c2f132f44e75", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "54177a4c-40a8-40cc-a91d-7f120b9149ba", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:41:08.4563902-07:00", "MeasurementValueNeededDate": "2025-04-17T04:41:08.4563902-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a2a7f96b-59ea-4224-97c5-0a2ff4e4bb57", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:41:08.4563902-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-17T04:41:08.4563902-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "86da19f7-b876-40c4-b0b7-dd7e7d8c1947", "CreateDate": "2025-04-17T04:41:08.4563902-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:41:08.4563902-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" }