DELETE States
Deletes the given state.
Request Information
URI Parameters
None.
Body Parameters
The state to delete.
StateName | Description | Type | Additional information |
---|---|---|---|
StateId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
EffectiveDate | date |
None. |
|
StateType | StateType |
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:
{ "StateId": "704890cb-0769-4208-a483-45d85c032e0b", "Asset": { "AssetId": "778ce5d0-b41a-4a7e-9ef7-ab4b6d09e146", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c58ace00-11fb-4084-856c-24f7060305ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "509bcb7d-ae0f-4155-9b93-bc72d8791339", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "dc9c956b-21e0-475e-aa19-b9ebb8eeb211", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:56:36.3073846-08:00", "MeasurementValueNeededDate": "2025-01-30T16:56:36.3073846-08:00", "SourceSystemId": "sample string 3", "CompanyId": "96f5d8b0-8ab9-43dc-b8a1-f0150ce01643", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "f74095dc-c190-43ad-9641-96d44a5aa70c", "EffectiveDate": "2025-01-30T16:56:36.3073846-08:00", "StatusType": { "StatusTypeId": "0b50dc9e-e0d9-49ea-871b-b508860eb9c4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c58ace00-11fb-4084-856c-24f7060305ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "509bcb7d-ae0f-4155-9b93-bc72d8791339", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c813ad3e-5dc9-4eb8-bab3-d86474a2b03b", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "817150be-0bd4-4e68-9d92-372f56b93ff2", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "be17d34f-259d-4c8a-8f24-71cd188e7034", "EffectiveDate": "2025-01-30T16:56:36.3073846-08:00", "WellPurposeType": { "WellPurposeTypeId": "f1f2cacf-47a1-4072-ad4e-1c4d57f40475", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3b1ea0b4-cd32-4162-bb7e-34c66ad9b33e", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6ded60c3-b461-4ae9-83e8-7655560c38b0", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:56:36.3073846-08:00", "MeasurementValueNeededDate": "2025-01-30T16:56:36.3073846-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "07bcf213-b35c-4233-b6b8-c4cd71939fd3", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-30T16:56:36.3073846-08:00", "StateType": { "StateTypeId": "e9452992-952d-4139-96d9-d7aac53d84cc", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c58ace00-11fb-4084-856c-24f7060305ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "509bcb7d-ae0f-4155-9b93-bc72d8791339", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "c097ee95-f012-4c98-98d2-8db4b138a074", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d8e0b7f4-1006-4292-b815-41b9f365c6be", "CreateDate": "2025-01-30T16:56:36.3073846-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:56:36.3073846-08:00", "LastModifiedUser": "sample string 4" }
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" }