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": "88410c0e-4f90-45e1-aba5-ba4fbb126458", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "368fe440-6b2c-4c0b-aacd-294e6f825897", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "badfb91d-4835-4fb9-8840-1ebfee5f4e39", "CreateDate": "2024-04-28T18:36:56.167234-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T18:36:56.167234-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f0ef93ef-6cc1-47ba-98d3-8a83b7318427", "CreateDate": "2024-04-28T18:36:56.167234-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T18:36:56.167234-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": "2d9b4f3b-142d-4f03-9f32-a48bdccfc9d9", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "73272ec8-4f98-42a3-b0c6-a1f8b2cd1541", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "41a82d76-b3fb-49ba-8489-cd4f75496b8e", "CreateDate": "2024-04-28T18:36:56.167234-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T18:36:56.167234-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e4acce28-bb5c-47da-8a10-b25444481d7f", "CreateDate": "2024-04-28T18:36:56.167234-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T18:36:56.167234-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }