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": "0a68ec61-70a5-4d3c-9e41-e39c9d40ff32", "Asset": { "AssetId": "57d321ed-b710-4e14-8f0e-3b38eb788154", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8032cc22-fbcf-4e9f-a806-5d5cfd18fa70", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "48378a8a-896b-4fd2-95f9-be63c1b13933", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "422978c9-972b-4c8a-a9b3-d5505c562fc9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T08:19:32.9656603-07:00", "MeasurementValueNeededDate": "2025-03-09T08:19:32.9656603-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ed02b196-07dd-4443-be68-a12b552df46b", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2fcf8e1e-db93-45dc-86c2-23d25a16e306", "EffectiveDate": "2025-03-09T08:19:32.9656603-07:00", "StateType": { "StateTypeId": "1c908d33-ea47-4965-8682-2a5777b8d9c4", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8032cc22-fbcf-4e9f-a806-5d5cfd18fa70", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "48378a8a-896b-4fd2-95f9-be63c1b13933", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8cfe431d-09ca-4df8-92a2-4f60c38ff7ff", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b3cc30e9-97a6-43b9-afa0-16abbd3d2f20", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b5182336-11ad-4ebd-974a-80975881379c", "EffectiveDate": "2025-03-09T08:19:32.9656603-07:00", "WellPurposeType": { "WellPurposeTypeId": "3be75844-2970-4985-b5c6-edacf577f9ac", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "561373d9-f3cc-4b82-a082-b7dfcded29a7", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c78c1d0d-4627-4a5f-83cf-f9f86841c8d9", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T08:19:32.9656603-07:00", "MeasurementValueNeededDate": "2025-03-09T08:19:32.9656603-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4474c34b-0f24-44d8-a46c-f1be43a55062", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-03-09T08:19:32.9656603-07:00", "StatusType": { "StatusTypeId": "9f3e547e-b2b3-4ca0-be20-bb6aaaeba50c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8032cc22-fbcf-4e9f-a806-5d5cfd18fa70", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "48378a8a-896b-4fd2-95f9-be63c1b13933", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "9e20701d-31b6-4de8-8ad8-ad6068cb7f3b", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:19:32.9656603-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d23f2db5-243f-43c7-a4c3-7631251fd803", "CreateDate": "2025-03-09T08:19:32.9656603-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:19:32.9656603-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": "e69cfe8f-1fba-40dc-abf1-fa00c20f965c", "Asset": { "AssetId": "97bdb40a-80ff-4ecf-a0bb-4a0662a7ab76", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6d0b196f-9b20-4e87-b105-929561c3e324", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4a7caa2b-3eab-4344-95d3-175958256cf3", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7a7b1af6-3567-4262-bb33-782f3c6b1eaf", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T08:19:32.9812712-07:00", "MeasurementValueNeededDate": "2025-03-09T08:19:32.9812712-07:00", "SourceSystemId": "sample string 3", "CompanyId": "0bd62ea0-8f60-4ab6-938e-b365989e5e07", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "be1e73d9-dd8c-4ec7-9082-8f32d7d7d585", "EffectiveDate": "2025-03-09T08:19:32.9812712-07:00", "StateType": { "StateTypeId": "7e57d678-a6ba-41d3-82bd-36c606e1f57d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6d0b196f-9b20-4e87-b105-929561c3e324", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4a7caa2b-3eab-4344-95d3-175958256cf3", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4b23926f-b478-461a-add9-d49c0a158cfa", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f1f37219-2fc6-47de-ba49-db830386aca0", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d1a15f0b-5380-4842-a205-3e3eda065b45", "EffectiveDate": "2025-03-09T08:19:32.9812712-07:00", "WellPurposeType": { "WellPurposeTypeId": "281e384f-dcea-4687-9795-002a4c755136", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b77e0346-bffb-4e2d-943e-88334ebba615", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "91ae6790-1e6d-4516-b11a-356b7344d8f7", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T08:19:32.9812712-07:00", "MeasurementValueNeededDate": "2025-03-09T08:19:32.9812712-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7cfc3c07-07a1-40c1-af26-9ba90c9b5994", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-03-09T08:19:32.9812712-07:00", "StatusType": { "StatusTypeId": "e1c01db1-6872-4bf5-b2d8-1eadeb11344b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6d0b196f-9b20-4e87-b105-929561c3e324", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4a7caa2b-3eab-4344-95d3-175958256cf3", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "dad9b27c-9cdd-4c19-bff2-6ba84a3f2b88", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ee391a5d-f2e2-4e13-9fb0-2f7af2e66620", "CreateDate": "2025-03-09T08:19:32.9812712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:19:32.9812712-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }