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": "30c9cc36-4ae7-42c4-9d7c-dcbb31fcfc3c", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "09d55fa6-98cf-4b1d-8763-816da2ecac1c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "6887619e-4b50-4ed9-982d-e2a21bb72950", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "c6088f67-e958-4587-881f-629a05ed221d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c6c3cc86-685c-42a6-b58a-55f1b135fc06", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "819d61a0-f1eb-4643-8c9b-61142804ead2", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e3c994c5-eb61-4852-99a5-e116d4c30ce3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T10:43:02.4174433-08:00", "MeasurementValueNeededDate": "2025-01-02T10:43:02.4174433-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3758afab-9ae7-4c03-a065-1235db2c1493", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "08736534-4bba-4a17-9a0e-f472f063a1e7", "EffectiveDate": "2025-01-02T10:43:02.4174433-08:00", "StateType": { "StateTypeId": "369a29d3-643e-4210-a4cd-9482fcf63044", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c6c3cc86-685c-42a6-b58a-55f1b135fc06", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "819d61a0-f1eb-4643-8c9b-61142804ead2", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b71ca024-7889-4e4b-b611-5af40a498749", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "40db7103-6d25-44f4-9c3f-beaabdce140b", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "6b08f93f-6107-4c00-8142-695c016fcb0a", "EffectiveDate": "2025-01-02T10:43:02.4174433-08:00", "StatusType": { "StatusTypeId": "aa602a1b-d238-4230-bf16-ea9b74688c39", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c6c3cc86-685c-42a6-b58a-55f1b135fc06", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "819d61a0-f1eb-4643-8c9b-61142804ead2", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "bc15ed15-0739-4a62-975d-9aefe79e3fa6", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8ebd09a3-dbf2-4cb5-9c57-c7ec75fdbe19", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9ea81a18-fba0-4c0f-8c42-7caa168f0889", "EffectiveDate": "2025-01-02T10:43:02.4174433-08:00", "WellPurposeType": { "WellPurposeTypeId": "5bf5a9e9-62e1-4bae-9d8e-ed97f9b30c19", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2be3e5cb-034b-4265-b5cd-5e3d862e2a37", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "123ff759-d94b-49a4-bbfa-dce5c97ea8ec", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T10:43:02.4174433-08:00", "MeasurementValueNeededDate": "2025-01-02T10:43:02.4174433-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a6963026-38fa-4108-9474-c10d24bade2f", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-01-02T10:43:02.4174433-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "e9598647-6ae6-4f31-9fc4-d336537ae6f0", "CreateDate": "2025-01-02T10:43:02.4174433-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:43:02.4174433-08: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" }