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": "01b396dd-085b-4b39-9ea2-f6289f481217", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "29fb0c62-617d-4901-b34f-ad4bba8a09a1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6ada19a2-7cdb-4892-bb52-301b5d3eac09", "CreateDate": "2025-03-09T08:43:30.3050579-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:43:30.3050579-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c40c9326-e859-428a-8efd-d02a01e66426", "CreateDate": "2025-03-09T08:43:30.3050579-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:43:30.3050579-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": "041f0292-546b-42a2-8e6c-a9a2231c0f7b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "95ed67fa-aca5-49c9-a563-e93da9188632", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d85c4d29-d3e3-4daa-84ca-db58955a47e4", "CreateDate": "2025-03-09T08:43:30.3050579-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:43:30.3050579-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c632c1f9-b3e9-4d51-ab2d-73d823e9e20a", "CreateDate": "2025-03-09T08:43:30.3050579-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:43:30.3050579-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }