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": "a3089d58-09aa-4f2e-931a-56fddb6dd3e7", "Asset": { "AssetId": "2d494054-de53-4182-8751-25f64ddb5109", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c6026658-9a33-46cd-bd66-45c062aa8e66", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cd33b1a5-1036-4a7a-9819-eacd6282e83f", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a420e0e3-0994-4e60-9c99-49603f0115a3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "MeasurementValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d2c4b2ee-47fe-4ec5-9651-66b7d8912711", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "8e33571c-0220-4e98-92c8-af5a594a57da", "EffectiveDate": "2025-04-17T04:17:58.348276-07:00", "StateType": { "StateTypeId": "4be89bbf-037b-4213-a819-70c96b9734b5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c6026658-9a33-46cd-bd66-45c062aa8e66", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cd33b1a5-1036-4a7a-9819-eacd6282e83f", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "039a5051-5505-42b5-9ea3-b2bb9f0f4aa4", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "aa062246-f6e9-4887-961e-0e320d721163", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2ce62ce2-b136-4456-8f43-fb8baa118771", "EffectiveDate": "2025-04-17T04:17:58.348276-07:00", "WellPurposeType": { "WellPurposeTypeId": "cbf19404-61c9-4c9d-a2ac-16769fc8e498", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c72ac80d-2677-44f2-9cf3-41b05d06e083", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "67fd6dc3-50bf-4765-b7da-d07d7c284047", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "MeasurementValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d54ffca4-cc6d-4bc3-a191-b623622510d0", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-17T04:17:58.348276-07:00", "StatusType": { "StatusTypeId": "8aec7244-ead2-4075-8865-bd9148e082f6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c6026658-9a33-46cd-bd66-45c062aa8e66", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cd33b1a5-1036-4a7a-9819-eacd6282e83f", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ce7686b5-b78b-4ee2-a7a6-5b150c688c66", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a56479cf-2ce1-409b-a3ac-e4400ca415d0", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:17:58.348276-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": "d120be15-070e-4394-b334-aa6e58be2908", "Asset": { "AssetId": "b6b7c85e-d06a-4e0d-9229-f194b760a391", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ae62898b-a405-4b94-8c48-4a45901913cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "95e14b10-2e88-42ef-9bfa-84df3239fe58", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9759d7f7-5615-4857-8311-97e07596e2d3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "MeasurementValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5b280fbe-50a7-4f05-94d8-67d8cad616c7", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "aec6d5b2-fced-4650-8634-c5ab60016782", "EffectiveDate": "2025-04-17T04:17:58.348276-07:00", "StateType": { "StateTypeId": "1717a024-a3e6-4965-b5e6-b98f4ecfc18a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ae62898b-a405-4b94-8c48-4a45901913cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "95e14b10-2e88-42ef-9bfa-84df3239fe58", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "dd784518-6d12-4c2c-8e87-ab8d7a378ffe", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "4db818c9-c789-40f9-95f0-645c9384e3da", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4ba63f51-01d0-4a16-be85-23ba5a3bd30a", "EffectiveDate": "2025-04-17T04:17:58.348276-07:00", "WellPurposeType": { "WellPurposeTypeId": "87024e2a-178e-47d9-8210-28e746a40205", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "874bdfb8-a573-4ca6-ac1e-54efc2500963", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "0736a810-df16-49aa-bc8a-32cc92267352", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "MeasurementValueNeededDate": "2025-04-17T04:17:58.348276-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f8cc6c07-e47f-4e2e-bb90-348f804d304f", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-17T04:17:58.348276-07:00", "StatusType": { "StatusTypeId": "2bf3c5b7-fe0c-4f68-93b6-b74463b3eb16", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ae62898b-a405-4b94-8c48-4a45901913cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "95e14b10-2e88-42ef-9bfa-84df3239fe58", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a6fd0bb8-7ecf-402a-aeec-6d31971264b3", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "27b34ce9-e7db-4546-a023-8b6be5212fed", "CreateDate": "2025-04-17T04:17:58.348276-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:17:58.348276-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }