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": "188a8a77-5201-4b92-80fa-2a9b71cea158", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "21010158-e768-474c-80f4-2b687a57da1c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d600471b-2f1a-4b41-875b-3b46199de9f2", "CreateDate": "2025-04-17T04:04:58.7654978-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:04:58.7654978-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5fc37bb7-ebb9-4f6c-bf7a-23704eeeb0d6", "CreateDate": "2025-04-17T04:04:58.7654978-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:04:58.7654978-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": "ddb916ca-e106-47e7-9de6-5d8a75193adf", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "2300189c-449c-4f62-84c3-899cc8ec1e92", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f55c1666-6994-4d66-a786-e8ad5ef7d38d", "CreateDate": "2025-04-17T04:04:58.7654978-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:04:58.7654978-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "471dd8f0-962d-4551-bbef-ffd3b31cabc8", "CreateDate": "2025-04-17T04:04:58.7654978-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:04:58.7654978-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }