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": "47bc6bba-f7b2-4aaa-8e37-7b5adbfc419c", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3a9e2f9d-410c-440d-850c-465d84527a85", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b149552f-5404-4d2a-99a9-69c53d0755d2", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e50c1df8-c0ef-470e-9a8d-0e159cb3fb69", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ce3ec392-96ab-476b-a9c0-fceaae7c1a71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a9d6c78b-479c-4b52-9406-05ed1b308a5a", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c6f92fed-2503-4408-a365-481ac45bc3de", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T00:19:39.6276912-07:00", "MeasurementValueNeededDate": "2025-06-27T00:19:39.6276912-07:00", "SourceSystemId": "sample string 3", "CompanyId": "42cb29e3-75b5-40d8-a682-8fd401df262f", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "292a2924-0a49-46f2-ba30-b5dbe91e03d8", "EffectiveDate": "2025-06-27T00:19:39.6276912-07:00", "StateType": { "StateTypeId": "dbe23a59-923c-4615-8071-af7a700a9be4", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ce3ec392-96ab-476b-a9c0-fceaae7c1a71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a9d6c78b-479c-4b52-9406-05ed1b308a5a", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "c7aa07f6-b651-424e-82c9-823ada05dd5b", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "daf0eef9-31fe-4bf3-9747-5508f56a86d1", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "85228751-83cb-49b7-b94b-084cf0536d99", "EffectiveDate": "2025-06-27T00:19:39.6276912-07:00", "StatusType": { "StatusTypeId": "fe970b51-82ba-466a-b491-f12a70dcecdd", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ce3ec392-96ab-476b-a9c0-fceaae7c1a71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a9d6c78b-479c-4b52-9406-05ed1b308a5a", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "cabb86d2-1c57-408b-84fe-bd335f6847f3", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3e84c5ea-fd73-4df6-b3f5-dab8bc41d279", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "e4c5b0d8-d7a9-44b6-9fe0-33567d71d2ad", "EffectiveDate": "2025-06-27T00:19:39.6276912-07:00", "WellPurposeType": { "WellPurposeTypeId": "30345827-ed90-49fa-9843-f5e527f21ab2", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4d889371-5713-4a61-9b7d-52e07ef4880c", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d68f01f6-8d96-4b06-8614-32638bbf7f83", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T00:19:39.6276912-07:00", "MeasurementValueNeededDate": "2025-06-27T00:19:39.6276912-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d71a7ead-4baf-4f87-8b7a-cc063d87c39b", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T00:19:39.6276912-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-27T00:19:39.6276912-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "8993729e-72e1-410e-9666-54e3e91afd72", "CreateDate": "2025-06-27T00:19:39.6276912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:19:39.6276912-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" }