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": "bebec820-9ccf-4c3a-a678-39ca5611e08e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1ddaf477-4faa-4973-8524-fed0f5ece730", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "eaf91a74-68fc-4696-baee-e6e86434b28e", "CreateDate": "2025-06-26T21:34:04.2125556-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-26T21:34:04.2125556-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b20c3b6a-7f9c-40d2-a7dc-fdeb2c8e6518", "CreateDate": "2025-06-26T21:34:04.2125556-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T21:34:04.2125556-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": "8c67a1a2-3889-4c4b-af1a-c65613496dbd", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "98686686-841c-4376-a9b0-a84b107bc889", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f9464b37-a977-467f-944c-8e9986aea3dd", "CreateDate": "2025-06-26T21:34:04.2125556-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-26T21:34:04.2125556-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3c816db0-7ecd-435e-a159-1e06e2f57809", "CreateDate": "2025-06-26T21:34:04.2125556-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T21:34:04.2125556-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }