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": "1f8397ca-1baf-4acc-80fb-f39a39439e54", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "66bcd8b9-a3a2-4984-ac4f-c46e53c105c9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090a67b6-e57b-42f6-8470-d535e095df8f", "CreateDate": "2023-06-04T02:42:03.5785849-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:42:03.5785849-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "03a66618-36da-4a40-9ff1-fe5f66b7efdc", "CreateDate": "2023-06-04T02:42:03.5785849-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:42:03.5785849-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": "47849a24-193f-479a-ae8d-53c26ab492af", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e6b34cf9-5380-411c-ae62-4bdebc7d3adb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b91f4eeb-d0af-43e5-ac09-e1729ba0681a", "CreateDate": "2023-06-04T02:42:03.5785849-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:42:03.5785849-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6384ab75-eefa-4e96-8155-3ce7d161ebc1", "CreateDate": "2023-06-04T02:42:03.5785849-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:42:03.5785849-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }