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": "a11ab2f3-8f02-4bcc-9598-e8a0865735ef", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "db678796-c343-45d4-aa41-34d68a6d7318", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "99816533-67f5-4b33-8087-523de3fb0f2f", "CreateDate": "2025-05-09T15:24:37.6133228-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:24:37.6133228-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "05a5d2c3-4d0b-40bd-9e90-4f8d5beabfcb", "CreateDate": "2025-05-09T15:24:37.6133228-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:24:37.6133228-07: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": "221fcfc8-8ef0-40e5-949e-115e9a2ea3a3", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1fa76b01-9aa1-48fe-858f-b2177236b3cb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c682ff6a-7c83-439f-a6e6-74a11f7b7c6a", "CreateDate": "2025-05-09T15:24:37.6133228-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:24:37.6133228-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "39b22847-3a2e-495b-8049-afbe5e9a8885", "CreateDate": "2025-05-09T15:24:37.6133228-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:24:37.6133228-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }