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": "4d1b4b56-5c0a-41ed-9e6b-431c8b25e184", "Asset": { "AssetId": "3801e5a7-5c60-4839-aa46-cd0623cc3d7a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f7b238f7-4c85-4974-ae72-46ade9672933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "316ac78b-f3e7-4b0f-b8ec-89a6eac44ef5", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c25fce0a-d747-48a0-b8f9-21e7a986be78", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "MeasurementValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "SourceSystemId": "sample string 3", "CompanyId": "84bdfb81-e2ec-4741-bbcb-6196d7673e34", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "b7945aba-018c-47b5-8ec7-ccdfd4851a5e", "EffectiveDate": "2025-08-29T16:53:09.7389229-07:00", "StateType": { "StateTypeId": "66a642f7-11c8-4906-a35c-ad25d5d304b5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f7b238f7-4c85-4974-ae72-46ade9672933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "316ac78b-f3e7-4b0f-b8ec-89a6eac44ef5", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d58a10c4-f3f1-4607-863d-ed7a8d5798aa", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d93bbdcc-36b6-4b46-9525-8b3a679b1df1", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "543a7bbf-d5e1-4fd5-a5e4-90207fd43e3c", "EffectiveDate": "2025-08-29T16:53:09.7389229-07:00", "WellPurposeType": { "WellPurposeTypeId": "6b4f20a4-1fb2-4fb7-b6d1-c574504e4171", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "545c29fa-df60-4d55-b686-4434d56072d2", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cbeae814-81a6-4ca8-b6ae-9f86f091baea", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "MeasurementValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "736c2bbb-8880-4450-a786-32dbd467b09f", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-08-29T16:53:09.7389229-07:00", "StatusType": { "StatusTypeId": "7cb52e97-83ad-4438-a502-a7e76b2fed26", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f7b238f7-4c85-4974-ae72-46ade9672933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "316ac78b-f3e7-4b0f-b8ec-89a6eac44ef5", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b7fb068a-4316-41e4-b66b-301ef83b1676", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "85b31396-4d6f-4fc3-be79-a92cf47c7c69", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:53:09.7389229-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": "e57b4a52-85e7-49e6-bd8d-55c2edf42ac9", "Asset": { "AssetId": "71b631e8-4de3-49d9-9fc3-a7dfe9cfa768", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1e1febd5-d0e0-44a2-b641-2f79fc12bf0e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f97ca896-e828-4e25-86a4-590a3ff311e0", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4ef58266-0d4b-478b-bcf3-a5a5be55ad79", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "MeasurementValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "SourceSystemId": "sample string 3", "CompanyId": "a11fff78-c385-40a2-8618-58f71e242939", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "325f163b-39df-4418-a240-4a2730f27d5a", "EffectiveDate": "2025-08-29T16:53:09.7389229-07:00", "StateType": { "StateTypeId": "fb3162ff-560b-4f78-ae1e-4737c90c6e92", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1e1febd5-d0e0-44a2-b641-2f79fc12bf0e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f97ca896-e828-4e25-86a4-590a3ff311e0", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "48242319-6412-4e22-bb57-cee5581ee773", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c718fc8f-0fd3-45af-8348-d43a751facc9", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5d3699e5-c425-4337-ab35-8630dd2d756f", "EffectiveDate": "2025-08-29T16:53:09.7389229-07:00", "WellPurposeType": { "WellPurposeTypeId": "d024e16a-1626-46c2-8bf8-5da19bf95a6c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "741467f7-728c-4bcc-b666-c109eea8a449", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7aba654c-d2d7-411e-94fe-b4507541dc39", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "MeasurementValueNeededDate": "2025-08-29T16:53:09.7389229-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "600ef3de-d180-4170-a7b8-8723d2491a54", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-08-29T16:53:09.7389229-07:00", "StatusType": { "StatusTypeId": "c40af444-f12a-4c97-beb3-a307da3405ef", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1e1febd5-d0e0-44a2-b641-2f79fc12bf0e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f97ca896-e828-4e25-86a4-590a3ff311e0", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "904e65e9-b3e3-46b4-9412-3bf30472d32a", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e56bce7a-d6ac-40ca-a72c-a019e42c5d5a", "CreateDate": "2025-08-29T16:53:09.7389229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:53:09.7389229-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }