POST StatusTypes
Creates a new status type.
Request Information
URI Parameters
None.
Body Parameters
Status type to create. StatusTypeId should not be filled in.
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": "5ef945b1-55f8-4979-8d55-be457e34b152", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "78e6fd78-7255-40f8-88c3-19d3c9901254", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aabbb08b-886f-4121-b95a-1c6af64c75c1", "CreateDate": "2025-08-29T17:13:14.4338902-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:14.4338902-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "da79ccad-4ffb-428d-b1fd-64d619ecf32f", "CreateDate": "2025-08-29T17:13:14.4338902-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:13:14.4338902-07:00", "LastModifiedUser": "sample string 7" }
Response Information
Resource Description
On success, the created 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": "5294acc2-0f45-4f77-b623-e862f75df2a6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "03c36772-9154-424f-a484-9be781bd464d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6e4df336-79c0-4988-b5d2-def5a2fadd20", "CreateDate": "2025-08-29T17:13:14.4338902-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:14.4338902-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "27cca1e5-a55e-45ab-81d2-627f20cfc4c8", "CreateDate": "2025-08-29T17:13:14.4338902-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:13:14.4338902-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }