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": "b5487e0b-0206-4659-bb2c-b1040327228c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d024bc8c-9cb1-4b5d-bca0-42ef697fd275", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "13123f80-d4e0-43ed-9661-b98f54a198d9", "CreateDate": "2024-04-23T03:47:43.0715957-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T03:47:43.0715957-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b02adf19-b250-4d5e-9826-1493f04403e5", "CreateDate": "2024-04-23T03:47:43.0715957-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T03:47:43.0715957-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": "07e4f640-f2ab-43e2-8d65-806be25d4588", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5948e26e-9977-4eb9-80a2-dc7f681ee7ca", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "44444802-b133-4121-bc04-b4a74f98a8ca", "CreateDate": "2024-04-23T03:47:43.0715957-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T03:47:43.0715957-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "37d41a9c-94be-4ded-a97b-fbdf6d5699b2", "CreateDate": "2024-04-23T03:47:43.0715957-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T03:47:43.0715957-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }