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": "6de8b6d5-df75-4414-af94-f208bc1fa034", "Asset": { "AssetId": "208ac1f6-1fe9-43b2-a046-461059368305", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ebf24a60-3696-41b6-93a7-bca33e64e516", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cce64326-61e6-4aa2-a38c-cfebca8d67ff", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6f8504ef-a036-482d-bcc7-c96e05ff4abf", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:24:16.7648655-08:00", "MeasurementValueNeededDate": "2024-11-22T21:24:16.7648655-08:00", "SourceSystemId": "sample string 3", "CompanyId": "02376427-0c82-410c-9e4b-017e0bcc72a6", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cbd790ae-4e2d-415f-a28c-1f26a4971823", "EffectiveDate": "2024-11-22T21:24:16.7648655-08:00", "StateType": { "StateTypeId": "1e4a30d4-484b-4e82-933e-9587f3bed2e9", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ebf24a60-3696-41b6-93a7-bca33e64e516", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cce64326-61e6-4aa2-a38c-cfebca8d67ff", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8644fede-93f9-4047-ac5d-fe44b3cbb752", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "4cc1097e-af78-41d2-992a-c82c3d65674c", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d6e57048-9d8b-410b-a667-2383e2930296", "EffectiveDate": "2024-11-22T21:24:16.7648655-08:00", "WellPurposeType": { "WellPurposeTypeId": "d2bea7d3-701f-408b-ac02-800bc28c28e0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3671136b-486e-49b4-87ab-f82abc513be3", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d4152e5e-bf65-4dd8-9b7b-dcec0e8866e0", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-22T21:24:16.7648655-08:00", "MeasurementValueNeededDate": "2024-11-22T21:24:16.7648655-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "867268b6-073d-46ea-8bd1-215cd968ba27", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-22T21:24:16.7648655-08:00", "StatusType": { "StatusTypeId": "50058944-c074-47c5-83ca-9c6011f658fd", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ebf24a60-3696-41b6-93a7-bca33e64e516", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cce64326-61e6-4aa2-a38c-cfebca8d67ff", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7906aa18-21e8-40a7-846c-8c467613abf2", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:24:16.7648655-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3a6669bf-51cc-4653-8a6f-6ca82c48648a", "CreateDate": "2024-11-22T21:24:16.7648655-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:24:16.7648655-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": "b26bd0a4-fabf-42b2-b364-99f32c88f552", "Asset": { "AssetId": "04b36352-bf95-4fb7-930a-f355cf633976", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "36249d42-aa7f-49a0-928f-00c222946303", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "abf5f870-c10e-4a0f-92ee-1c3fec753f3f", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6a233245-7d42-4abd-b954-e1a45f46a1f5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:24:16.7804832-08:00", "MeasurementValueNeededDate": "2024-11-22T21:24:16.7804832-08:00", "SourceSystemId": "sample string 3", "CompanyId": "28ed27d5-216b-43ff-b6bf-d2514dcccf8a", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "e76d3822-55f9-49c6-ade7-781ddb5e6942", "EffectiveDate": "2024-11-22T21:24:16.7804832-08:00", "StateType": { "StateTypeId": "73c621af-68dd-4c6b-939a-fc12d7e70f9a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "36249d42-aa7f-49a0-928f-00c222946303", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "abf5f870-c10e-4a0f-92ee-1c3fec753f3f", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "fc8c858f-5916-4850-9a95-6070f7ba38d4", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "31f2acc3-88b6-4c4a-a8ba-43c1eebc4de0", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "79fe19e8-68df-4942-bc03-025baea47908", "EffectiveDate": "2024-11-22T21:24:16.7804832-08:00", "WellPurposeType": { "WellPurposeTypeId": "5436c87f-37d4-43fb-88ac-b2f7b43f832f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6af382fc-77ac-4651-81c1-83aaa86acb3e", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "35afa796-80c0-4709-8f2f-e641cce23570", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-22T21:24:16.7804832-08:00", "MeasurementValueNeededDate": "2024-11-22T21:24:16.7804832-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "570fefe0-9629-4f6e-9124-d1f943b6874b", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-22T21:24:16.7804832-08:00", "StatusType": { "StatusTypeId": "835e453b-4e1d-471b-8d0c-f44b8eefe968", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "36249d42-aa7f-49a0-928f-00c222946303", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "abf5f870-c10e-4a0f-92ee-1c3fec753f3f", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "afe75be2-9bb6-4c0f-8c2a-1a23d4d13afc", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c13b0956-53e1-453e-926f-f7526cc15551", "CreateDate": "2024-11-22T21:24:16.7804832-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:24:16.7804832-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }