PUT StatusTypes
Updates the given status type.
Request Information
URI Parameters
None.
Body Parameters
Status type to update
StatusTypeName | Description | Type | Additional information |
---|---|---|---|
StatusTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
IsProducing | boolean |
None. |
|
IsInjecting | boolean |
None. |
|
AssetType | AssetType |
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:
{ "StatusTypeId": "16337039-0568-4ed0-9f9e-a729b1b52579", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b0b98dc8-ec32-48b3-bcb6-9e1e5d09da71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "45f0e7e0-d109-49a0-8ec6-4c6c2aad15bc", "CreateDate": "2025-01-30T17:10:48.9474321-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:10:48.9474321-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a13015f5-64d2-4db0-8550-3df0bff02e21", "CreateDate": "2025-01-30T17:10:48.9474321-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:10:48.9474321-08:00", "LastModifiedUser": "sample string 7" }
Response Information
Resource Description
On success, the updated status type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | StatusType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "StatusTypeId": "4fffbc4c-99cc-48c2-af81-b7eb5c877092", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9654812d-fc21-40de-8ef0-3fe5c4172c9f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "52733cc5-4ba0-4a45-a143-fdfb1560539a", "CreateDate": "2025-01-30T17:10:48.9474321-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:10:48.9474321-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7b6a29db-2bf6-45d7-a63c-79065b386b63", "CreateDate": "2025-01-30T17:10:48.9474321-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:10:48.9474321-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }