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": "beef48a5-8265-45a5-9a4f-3697f78bb837", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ab8cf790-f18e-4db5-86be-e4786f710ec3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3c0faa45-761b-44b1-8860-ff1886b58f30", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7316a465-5202-4638-9889-ab7f0778380e", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:22:31.756018-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": "3364c3ed-bbcf-4478-a41a-a5c23b796462", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7042a367-814d-461e-a33e-6133d30af678", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fc6d6f5a-3d05-45a5-a493-ab0cf0f08dba", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "1fbfcf68-6e4b-4796-98f9-6387b97c2a62", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }