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": "a6e30fa7-cf81-4f2a-8812-7f46674f5d3b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "eeff0a6b-fde1-4b1e-93cb-d12d8d60f4f2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "124a3d12-8b2c-4ec6-b3da-baec0db91727", "CreateDate": "2025-07-03T20:25:38.2085346-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-03T20:25:38.2085346-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "70eb25b1-b6ad-4934-828e-09edd471059c", "CreateDate": "2025-07-03T20:25:38.2085346-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-03T20:25:38.2085346-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": "1ddc0ba6-c049-4ac6-a1ac-6c33a550237d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "fe584d54-4864-43bc-babe-d0e82bb6d362", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22875343-443b-40c6-a4b1-a6b99b4b31bd", "CreateDate": "2025-07-03T20:25:38.2085346-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-03T20:25:38.2085346-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7ea78a07-ade4-4a75-9578-bd7a95c8458f", "CreateDate": "2025-07-03T20:25:38.2085346-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-03T20:25:38.2085346-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }