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": "26534ba3-c2bc-454f-a3e3-4b548541fdda", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "770ca010-1265-4e01-930b-4f18a4f801ea", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d4ca9c22-3e6c-42ac-b1bd-0fff01e868d3", "CreateDate": "2024-11-21T04:40:06.4993989-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:40:06.4993989-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d6dfd1ea-1c48-49e3-b097-e14c5ffe07c2", "CreateDate": "2024-11-21T04:40:06.4993989-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:40:06.4993989-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": "6651e714-270f-4993-9625-68169715498b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6686aad7-5e6b-4662-b601-e283861e8ae4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6229f225-bc40-4275-afa6-dd0b31502e3f", "CreateDate": "2024-11-21T04:40:06.4993989-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:40:06.4993989-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "681bc9c4-f832-488d-9bad-e236c3486289", "CreateDate": "2024-11-21T04:40:06.4993989-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:40:06.4993989-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }