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": "d52c835e-b319-4e54-9d92-f3f1babb328f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "a8fbd640-0b85-4d88-a5ba-33c5348d25c3", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "458c7bae-0caa-4381-89db-3d4ce9c088db", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "0ed0faf6-2691-42f5-8561-6cd13ec0d3e5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "37728ca8-ecd1-42f3-b633-f80be4f47fda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a1415523-e9e7-4a81-899d-21dc677d8743", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9d6bfabd-80a8-471b-82e6-6fbe37ca3af0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T23:24:02.3596355-07:00", "MeasurementValueNeededDate": "2025-05-08T23:24:02.3596355-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f5979f14-8548-404c-839a-61b35ccffd98", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "21c0994b-41e1-49e1-8588-07f70464f00e", "EffectiveDate": "2025-05-08T23:24:02.3596355-07:00", "StateType": { "StateTypeId": "b0769f52-ea29-4e4c-a627-d6b427143910", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "37728ca8-ecd1-42f3-b633-f80be4f47fda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a1415523-e9e7-4a81-899d-21dc677d8743", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4ec379da-8c30-4bcb-aa8c-66dde3b14815", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3d716e14-2d46-47c7-a075-2697c8241ae6", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "68e83b8d-ee79-4790-ac1b-f47b45bc6199", "EffectiveDate": "2025-05-08T23:24:02.3596355-07:00", "StatusType": { "StatusTypeId": "c366aa7b-303e-4926-9e34-c71881e5075d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "37728ca8-ecd1-42f3-b633-f80be4f47fda", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a1415523-e9e7-4a81-899d-21dc677d8743", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ce7e9af2-9bc7-4969-ab68-b3210e86d9ff", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "24b27cbe-d9ab-49ba-b3c3-ffd28ec45c66", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5f0024c4-5d46-4a32-93a1-3fb8d49d13bc", "EffectiveDate": "2025-05-08T23:24:02.3596355-07:00", "WellPurposeType": { "WellPurposeTypeId": "88d65a7a-0a94-4ca7-b93a-254bfbe241f6", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7b691f73-fbde-45b3-97bd-18952743bbd2", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7add4116-9690-401a-833d-04f6bbdd4728", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T23:24:02.3596355-07:00", "MeasurementValueNeededDate": "2025-05-08T23:24:02.3596355-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d1b85b01-c8b8-4a40-93bf-e0f09c364058", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T23:24:02.3596355-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-08T23:24:02.3596355-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "6ba46ba6-bc8e-4142-9704-28eadc16770b", "CreateDate": "2025-05-08T23:24:02.3596355-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T23:24:02.3596355-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" }