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": "1837e33e-318d-4616-9b6d-ea7165ee12a0", "Asset": { "AssetId": "62e76d29-25ef-4f1e-8ecc-c3372cfb7e46", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d0d7321e-efac-4f36-ba7d-d5ae815336d0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f213f2a4-493c-48f8-99a0-1bcbcc0bd20c", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b4672e4c-2a6a-4305-843e-a39f1e5c724b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T14:58:41.8549604-07:00", "MeasurementValueNeededDate": "2025-06-02T14:58:41.8549604-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c86a5aa3-ff24-43db-8db8-82e9bf6f1cef", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "012fc61e-8eca-4c95-8738-dc2f3bc55370", "EffectiveDate": "2025-06-02T14:58:41.8549604-07:00", "StateType": { "StateTypeId": "b34b7a26-0f22-4f9c-b833-bc4f4648443a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d0d7321e-efac-4f36-ba7d-d5ae815336d0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f213f2a4-493c-48f8-99a0-1bcbcc0bd20c", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "97475fc5-7263-4bfa-b89d-10700b74949e", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "81f2c3ca-e77e-42c2-b950-11ec4c10765e", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b911b24a-985f-49a7-9190-4fac8b87c5d3", "EffectiveDate": "2025-06-02T14:58:41.8549604-07:00", "WellPurposeType": { "WellPurposeTypeId": "350e25c3-b79d-4e40-bccd-d0b04400078a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2934adc1-5bfb-4261-9342-39e7ddc8d220", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a3296ba5-dbe8-4604-8fdd-0b8ea845f06b", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T14:58:41.8549604-07:00", "MeasurementValueNeededDate": "2025-06-02T14:58:41.8549604-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "cfcd603b-495b-40a2-8725-37517c6ef12a", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-06-02T14:58:41.8549604-07:00", "StatusType": { "StatusTypeId": "ae0e0f9f-680c-4e93-88df-4fd14610a5a2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d0d7321e-efac-4f36-ba7d-d5ae815336d0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f213f2a4-493c-48f8-99a0-1bcbcc0bd20c", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2a093f2e-74d0-4f54-b44a-471b6dcbc0e7", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:58:41.8549604-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "97bc4b0c-1717-4b48-a88f-69bc864ea49b", "CreateDate": "2025-06-02T14:58:41.8549604-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T14:58:41.8549604-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": "b6ef64a9-9e08-43bf-b7f5-aa3590290aff", "Asset": { "AssetId": "d7b4be51-6634-4622-8f6b-523973e5ff3b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a52d2a73-877c-46ea-ba47-6addb0a1a159", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22b5d4dc-c8c1-4a5d-bd92-1891e867db8e", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "360fcd3c-48dd-47c3-837e-60c7fad02a53", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T14:58:41.8705806-07:00", "MeasurementValueNeededDate": "2025-06-02T14:58:41.8705806-07:00", "SourceSystemId": "sample string 3", "CompanyId": "98e1b9dd-a06d-4502-b9cb-7584e6dd2391", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1a3d7a3e-ad6d-402f-bdfe-d91cece9058c", "EffectiveDate": "2025-06-02T14:58:41.8705806-07:00", "StateType": { "StateTypeId": "b56ee245-a6b0-43fa-a380-f94c2829f07e", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a52d2a73-877c-46ea-ba47-6addb0a1a159", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22b5d4dc-c8c1-4a5d-bd92-1891e867db8e", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4bbce699-c24e-460f-b2ff-39c5a68cde84", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "fc5a784a-d477-4235-b748-7f7999d86660", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ebb10239-3cfb-4127-afa2-2ed3fe80ce2b", "EffectiveDate": "2025-06-02T14:58:41.8705806-07:00", "WellPurposeType": { "WellPurposeTypeId": "f726ecc0-b224-4c7c-b19b-8c57709f31f2", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e4eff636-7822-4b05-a271-e73bfe87c446", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8062ac4d-c56b-49cb-817a-2be3e0789026", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T14:58:41.8705806-07:00", "MeasurementValueNeededDate": "2025-06-02T14:58:41.8705806-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3a81fca5-863b-43c9-bdd3-6c4714210725", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-06-02T14:58:41.8705806-07:00", "StatusType": { "StatusTypeId": "55df82a9-811e-4ae0-b9a2-3eccccafcf20", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a52d2a73-877c-46ea-ba47-6addb0a1a159", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22b5d4dc-c8c1-4a5d-bd92-1891e867db8e", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "03e51c1c-feb4-4ef4-97d6-465ec795fced", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "82f10b85-5758-4887-ad5a-95418c985f56", "CreateDate": "2025-06-02T14:58:41.8705806-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T14:58:41.8705806-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }