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": "dff18c3e-3140-4c0b-a778-bc39bb6388f7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f21cb42d-3bb0-4cf1-a728-f699b015f601", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "951abdc4-40b9-45f1-82d8-392fd397d984", "CreateDate": "2025-03-09T08:21:14.2126824-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:21:14.2126824-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6f37d184-34b2-488d-8d4d-ab1e615dc958", "CreateDate": "2025-03-09T08:21:14.2126824-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:21:14.2126824-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": "3db4a8c0-8870-4151-982f-6a8dec75faf7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c438cbcf-d658-4c88-9ceb-434d3307cd4e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2f6ef937-7789-4103-9038-2f6afb893fc6", "CreateDate": "2025-03-09T08:21:14.2126824-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:21:14.2126824-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "441c9f0a-9dbf-45fb-97eb-057fd2f11d20", "CreateDate": "2025-03-09T08:21:14.2126824-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:21:14.2126824-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }