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": "1fd7052a-4a9c-4e4a-8077-18e86b80ab4e", "Asset": { "AssetId": "91bb2b24-0650-4965-a0f9-9bad619b93a2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4b8c49de-36ef-42ec-8a5d-c9890a83be92", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cbcf0ffc-068b-40eb-902c-c50f9d9198fc", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "266e8e2c-e7cc-4a89-9267-638dac8c59de", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "MeasurementValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c036ff21-1a3f-4927-8086-99b2d17e65c1", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "aff10593-0af5-4c23-b243-31881479fb4c", "EffectiveDate": "2024-04-28T15:05:28.85474-07:00", "StateType": { "StateTypeId": "76515339-9186-434a-9e7f-edd10d53488b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "4b8c49de-36ef-42ec-8a5d-c9890a83be92", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cbcf0ffc-068b-40eb-902c-c50f9d9198fc", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8b47b3f1-a91a-45e0-92ff-81ea8e9f92ff", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a680b625-d120-4089-9225-5e42c66b7d71", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "50361bf7-cbaf-49c5-a855-4ce855db27b1", "EffectiveDate": "2024-04-28T15:05:28.85474-07:00", "WellPurposeType": { "WellPurposeTypeId": "632b8dc2-a19e-4d7b-8915-e438e81bacf5", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "08b257bb-f3bd-403a-9663-b12246d04e2d", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3b046db1-f6a5-4ac9-8099-feda2b3a6fc8", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "MeasurementValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c0b3fbaa-6d0f-410d-8d8f-2e1507d0e9ab", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-04-28T15:05:28.85474-07:00", "StatusType": { "StatusTypeId": "f3da63c2-8e27-4a49-881d-dadf7d8b609d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "4b8c49de-36ef-42ec-8a5d-c9890a83be92", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cbcf0ffc-068b-40eb-902c-c50f9d9198fc", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "dbf7f214-b3bd-43d8-8f61-ee654c922bf2", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f937f585-f39b-4cfc-a2f0-91c9ffb4255d", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T15:05:28.85474-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": "de064307-4cb2-4dd4-9f57-a64c41d2171a", "Asset": { "AssetId": "913df9e9-a116-4344-9391-69c4f3154dec", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2d32b474-4057-480e-8ab1-da7e8abb7bc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1e4d246f-811b-4201-ae9c-a4a7eebd4b3b", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "765534e2-84ee-4b74-9dfe-ce1f7022bc1c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "MeasurementValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fb99ab4a-90aa-4847-85e8-bac96e87943d", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "fe44debe-38d2-446b-9eba-6730edb86ebb", "EffectiveDate": "2024-04-28T15:05:28.85474-07:00", "StateType": { "StateTypeId": "7fc523d7-5b14-4c39-bcae-39d658da8caa", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "2d32b474-4057-480e-8ab1-da7e8abb7bc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1e4d246f-811b-4201-ae9c-a4a7eebd4b3b", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cb6e954b-3d48-4362-8fa2-ace5aa999dd1", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d33e1f3c-f81c-42da-8c5b-ce2756d8c742", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3973b214-21b4-4192-829a-8bf6daa8efb6", "EffectiveDate": "2024-04-28T15:05:28.85474-07:00", "WellPurposeType": { "WellPurposeTypeId": "43619dd0-cc65-40a6-a38a-d1acea45dbf5", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "aed8e0b7-4ffc-4d78-a8a5-97ccf77c0e81", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "64dee8e9-5db6-43c5-830f-4d87fdec6d46", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "MeasurementValueNeededDate": "2024-04-28T15:05:28.85474-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b7dd1cf0-a802-4da5-a0da-9a8e48c0a06a", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-04-28T15:05:28.85474-07:00", "StatusType": { "StatusTypeId": "1869ee37-1e73-44d1-9c81-6ebe83eb69f5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "2d32b474-4057-480e-8ab1-da7e8abb7bc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1e4d246f-811b-4201-ae9c-a4a7eebd4b3b", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5aaf3c71-2f9b-43ae-a441-62ee32aee332", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f8d0e08f-206e-4fda-bceb-4164aa1f523f", "CreateDate": "2024-04-28T15:05:28.85474-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T15:05:28.85474-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }