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": "083c6c5d-f15a-44d7-91e3-ca077385f9f6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1d92d38d-cd46-44a6-9b7a-80f7611ffe5e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d3afdcf6-83c6-43d6-9850-ecc754604b12", "CreateDate": "2024-12-21T18:52:53.3038386-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:53.3038386-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "30a3c553-92d5-4d00-a7dc-e2376d7dad7d", "CreateDate": "2024-12-21T18:52:53.3038386-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:52:53.3038386-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": "a9b24954-f63f-4392-9b6b-afe355843541", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c81d529d-0005-45b3-8ef3-b0f040f97c6f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9415a375-e1a5-4e4d-b27b-c7fbc770d169", "CreateDate": "2024-12-21T18:52:53.3038386-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:53.3038386-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d34e61f2-9b30-4693-aa3b-565ea0eac323", "CreateDate": "2024-12-21T18:52:53.3038386-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:52:53.3038386-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }