PUT Statuses
Updates the given status.
Request Information
URI Parameters
None.
Body Parameters
The status to update
StatusName | Description | Type | Additional information |
---|---|---|---|
StatusId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
EffectiveDate | date |
None. |
|
StatusType | StatusType |
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:
{ "StatusId": "eca05800-4826-48b4-8bef-7d4ba8e171e8", "Asset": { "AssetId": "42d2ef6d-5e4d-44b3-b96e-0b70ad95dc8b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "85967265-1a0f-469a-8d5e-4a6200dabee2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7e1787c0-5e5f-45ef-911b-28b77e9b4885", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ff0f0d1e-5e0e-4d28-bc53-16cf0b368f9f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "MeasurementValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1677c252-2bc8-4b2b-a512-887f6b334db9", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5226c8c3-b3ec-4210-8177-24eb39c25c6d", "EffectiveDate": "2025-04-25T15:24:57.1898331-07:00", "StateType": { "StateTypeId": "5ee687d8-4a55-41f7-a875-8b8babb5ca32", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "85967265-1a0f-469a-8d5e-4a6200dabee2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7e1787c0-5e5f-45ef-911b-28b77e9b4885", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "15c95f5c-d31f-4018-a26b-aa080905abc5", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "55f6a2b1-1540-43e6-98f4-173cdaf5bac4", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "882f2bd5-9c06-4b50-a9f0-c591e60c94ca", "EffectiveDate": "2025-04-25T15:24:57.1898331-07:00", "WellPurposeType": { "WellPurposeTypeId": "ab80a5df-71b7-4f02-8a32-d7c566476b7b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f84aaab2-a39a-4254-a3ad-bbbb22624926", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b1025d96-594f-42f0-b721-313294b839ee", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "MeasurementValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "af21b555-5526-4af9-8565-f419ef23510f", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-25T15:24:57.1898331-07:00", "StatusType": { "StatusTypeId": "5a1bdc00-fa30-499e-b7c3-86ea2f7c293c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "85967265-1a0f-469a-8d5e-4a6200dabee2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7e1787c0-5e5f-45ef-911b-28b77e9b4885", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "025545c1-0b3c-4bfc-9cb1-eeea2f7fa701", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1dd3db14-2d91-4466-84f7-8ef0ecbe5bc9", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 4" }
Response Information
Resource Description
On success, the updated status.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Status |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "StatusId": "53b7e179-ddab-4f4c-9790-9033eee52c49", "Asset": { "AssetId": "7c453362-710c-4925-9bc7-82f00bdec722", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "15e3ae99-62c8-472c-990c-af73772edf7a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c583b065-01e8-4e11-b29c-b86caf73c802", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "73db20a1-05db-4827-a95e-de6cde0e47fc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "MeasurementValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "SourceSystemId": "sample string 3", "CompanyId": "95586985-5d82-4cc6-9859-10319562dae2", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "ff19f689-49fb-42b0-bdbe-d8ab88d4229c", "EffectiveDate": "2025-04-25T15:24:57.1898331-07:00", "StateType": { "StateTypeId": "8dc838e7-0245-4691-a2ff-a33bc8fbe7e3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "15e3ae99-62c8-472c-990c-af73772edf7a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c583b065-01e8-4e11-b29c-b86caf73c802", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0af410d4-ecc4-425f-94ef-8589cc3401dd", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "420f851e-077c-4c38-b6f6-17b73278d579", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "11260990-5f86-4ef0-b926-a758855fd849", "EffectiveDate": "2025-04-25T15:24:57.1898331-07:00", "WellPurposeType": { "WellPurposeTypeId": "4503f5ac-14b9-466b-b861-7655ab37fb9f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ed20df59-bb6c-4ed5-beea-b14f1d24ad83", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b99ee0c5-f477-4519-8811-efe209f9a0c6", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "MeasurementValueNeededDate": "2025-04-25T15:24:57.1898331-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2a0482b2-b5ff-4804-99d4-c26519496714", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-25T15:24:57.1898331-07:00", "StatusType": { "StatusTypeId": "97d7c570-e45a-4eac-b213-6de1ea1dbee6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "15e3ae99-62c8-472c-990c-af73772edf7a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c583b065-01e8-4e11-b29c-b86caf73c802", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f47169ea-8b55-435f-becd-66cf928b4f4f", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5df8a85f-5d3e-446b-9024-dbf6e2246718", "CreateDate": "2025-04-25T15:24:57.1898331-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-25T15:24:57.1898331-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }