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": "e9254c7f-41f5-4200-8ca6-f9e38151aecb", "Asset": { "AssetId": "da05a049-6f1d-48d5-86ff-ba2785cc3b83", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f2537989-34d0-49c7-9927-6ea57ee7bc04", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6f8d094d-7226-48f8-b6d8-80d8dd1b921a", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a351342b-784a-481b-a73b-d03a7a7ae546", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "MeasurementValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b32c97ba-fff6-4706-8dc8-2c1dcb554ff7", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "65293796-70d6-41c7-9e34-dbaaf1f5d1ca", "EffectiveDate": "2025-07-01T18:28:41.4374593-07:00", "StateType": { "StateTypeId": "0a473dd2-5900-4372-b285-f6c3e4e8ed32", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f2537989-34d0-49c7-9927-6ea57ee7bc04", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6f8d094d-7226-48f8-b6d8-80d8dd1b921a", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "79219c66-8e26-43f2-9084-2252bb2686a7", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "6eb3023a-7308-422f-889d-8e5ed5ee5531", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "7ffc3a16-4c01-41d1-9846-d9093798518f", "EffectiveDate": "2025-07-01T18:28:41.4374593-07:00", "WellPurposeType": { "WellPurposeTypeId": "4f2b20ce-973d-436d-95b5-ac273cf0db87", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7e53136-3433-4561-bb95-9a1851ef4c31", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9c20061a-2b11-437a-9d37-22f98b297039", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "MeasurementValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c3d27293-a106-4adf-b5fb-80e094a2f800", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-07-01T18:28:41.4374593-07:00", "StatusType": { "StatusTypeId": "f8b35128-c39d-40ee-9950-94101d7ceba5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f2537989-34d0-49c7-9927-6ea57ee7bc04", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6f8d094d-7226-48f8-b6d8-80d8dd1b921a", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "58791cd8-bb2b-4b8f-8ce2-88db3f22dfbb", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a13f802a-bea2-4f25-9deb-65eda6eb66f8", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-01T18:28:41.4374593-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": "940f1694-6a6d-4a2a-964e-a030b2589b93", "Asset": { "AssetId": "6afd6586-b59b-420a-a5e1-3f465dc83e3f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b73e9ee3-89e5-4ed9-858f-55f1cb0d46ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "99b33065-6b32-4d23-a610-7ba1f613d0e9", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7ca50370-6bcf-4001-9fba-6097867357c2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "MeasurementValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5adb8e49-861d-41b5-b4d2-15e2a5e1fd02", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "094bf772-c044-45a0-a8b3-787c4f50be91", "EffectiveDate": "2025-07-01T18:28:41.4374593-07:00", "StateType": { "StateTypeId": "d6ad9911-ee45-4f3d-b89d-858be1afc32d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b73e9ee3-89e5-4ed9-858f-55f1cb0d46ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "99b33065-6b32-4d23-a610-7ba1f613d0e9", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "71f85fde-9e34-48d3-bd97-88e835559579", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "20edd710-b664-4c79-b7f9-26289195b497", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c6d7c512-df82-4284-b606-f3a089ef22fd", "EffectiveDate": "2025-07-01T18:28:41.4374593-07:00", "WellPurposeType": { "WellPurposeTypeId": "bc318605-e3aa-4c14-a010-55cbd914621c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1116469d-1385-4f14-8631-9cd62e919c81", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ecb8fdf2-0e1d-4c12-aaf5-2cf15003cb05", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "MeasurementValueNeededDate": "2025-07-01T18:28:41.4374593-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5bf2b7e5-c879-458e-8135-f2d741ba52b0", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-07-01T18:28:41.4374593-07:00", "StatusType": { "StatusTypeId": "b7319c74-5022-416f-b24c-375e04447892", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b73e9ee3-89e5-4ed9-858f-55f1cb0d46ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "99b33065-6b32-4d23-a610-7ba1f613d0e9", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d462e4c5-7405-49fb-a9b2-2983bf921b76", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a72f4629-fd00-4aea-8d1c-037dde796821", "CreateDate": "2025-07-01T18:28:41.4374593-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-01T18:28:41.4374593-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }