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": "d1ce640a-de0a-4bcd-84e2-d131aaf11de4", "Asset": { "AssetId": "390a7123-0698-4834-aabc-4991c75143c8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ad30da19-eb46-4397-9421-e4351fca7af0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "eea7c0f5-b866-4ca7-a555-451d250e30af", "CreateDate": "2025-01-02T10:41:32.4030853-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4030853-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ce79977e-4301-4d6b-b8cc-9d61d14ad612", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T10:41:32.4030853-08:00", "MeasurementValueNeededDate": "2025-01-02T10:41:32.4030853-08:00", "SourceSystemId": "sample string 3", "CompanyId": "37daa249-34ea-458a-901a-55baccbe1a55", "CreateDate": "2025-01-02T10:41:32.4030853-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:41:32.4030853-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a297ee11-fdf4-463b-8090-9646a85cec3d", "EffectiveDate": "2025-01-02T10:41:32.4030853-08:00", "StateType": { "StateTypeId": "155270d1-8011-4ac3-b0e1-116392dfaeaa", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ad30da19-eb46-4397-9421-e4351fca7af0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "eea7c0f5-b866-4ca7-a555-451d250e30af", "CreateDate": "2025-01-02T10:41:32.4030853-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4030853-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "45bd646d-c2ba-4f96-9f00-c9fbe6978330", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "4b44048e-afd4-46eb-8541-4a4e166bb786", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9f9ff56a-b15a-4421-b18d-4e0b88ccfdee", "EffectiveDate": "2025-01-02T10:41:32.4195338-08:00", "WellPurposeType": { "WellPurposeTypeId": "bb510171-4c46-4d51-9a6c-8a6f0aa6752e", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fff44187-a016-4c4c-b33b-db61a8361bb6", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "40cf4d53-44d4-47c5-8aa9-78c7a1d6f410", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T10:41:32.4195338-08:00", "MeasurementValueNeededDate": "2025-01-02T10:41:32.4195338-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2e0aa47a-3dfa-4d01-9d2b-d59f26e51595", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-02T10:41:32.4195338-08:00", "StatusType": { "StatusTypeId": "0cbc69e2-6730-4321-89e8-6cfa34e74f35", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ad30da19-eb46-4397-9421-e4351fca7af0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "eea7c0f5-b866-4ca7-a555-451d250e30af", "CreateDate": "2025-01-02T10:41:32.4030853-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4030853-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d12f1fb0-53ee-4926-85e8-e7a7f39db19f", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "78de32ef-8485-4111-b054-152feee0f8fd", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08: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": "3fa21f1f-cc71-42bb-a19c-ad4321cb0003", "Asset": { "AssetId": "be9a8ae2-afb5-4020-b405-6c3b5ec89a96", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "717f42d8-22e5-4a31-8237-ebd7e43c05ac", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "11d56466-f40e-487e-99a8-b50d32e56a84", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3813dab7-ea7c-435f-b40a-55a6493eeac8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T10:41:32.4195338-08:00", "MeasurementValueNeededDate": "2025-01-02T10:41:32.4195338-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4c3f8b1b-7614-4f97-901e-e5fc85205832", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "32391577-e63b-41b1-83e2-9f34c162cf67", "EffectiveDate": "2025-01-02T10:41:32.4195338-08:00", "StateType": { "StateTypeId": "322eee3d-dcac-4c1d-a862-305ff1c892b6", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "717f42d8-22e5-4a31-8237-ebd7e43c05ac", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "11d56466-f40e-487e-99a8-b50d32e56a84", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d38b77ea-e594-42d0-bb20-2b99ff59990f", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1fbabf29-9bb1-45be-a480-fd705d550660", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "03c2b74d-b646-499d-b388-bbef84d1d627", "EffectiveDate": "2025-01-02T10:41:32.4195338-08:00", "WellPurposeType": { "WellPurposeTypeId": "30875c83-dc62-4fd4-bc1e-f2b51aaa12a6", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ee51c254-666e-4636-ac80-4cf5cc4cb111", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ad7474a3-8175-44aa-9f55-b30239af5ff8", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T10:41:32.4195338-08:00", "MeasurementValueNeededDate": "2025-01-02T10:41:32.4195338-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f583d1af-c133-4663-b500-7c83f6935dad", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-02T10:41:32.4195338-08:00", "StatusType": { "StatusTypeId": "35567494-e269-4cd6-8605-a36cc6dd728e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "717f42d8-22e5-4a31-8237-ebd7e43c05ac", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "11d56466-f40e-487e-99a8-b50d32e56a84", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "157c666c-5374-4639-96de-28543abd509e", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9dce333c-c38f-4328-9065-4b70391511d1", "CreateDate": "2025-01-02T10:41:32.4195338-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T10:41:32.4195338-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }