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": "65dbc00c-ebbc-42ff-b51c-326139f93382", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "541b00c5-ad32-4611-a964-aa6fcd79005a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "30ef81de-fa76-47cd-a3fa-9d3ae06a6038", "CreateDate": "2024-04-27T23:41:09.3716314-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-27T23:41:09.3716314-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "212603d2-9b51-4a65-b5e3-a135ee7835ed", "CreateDate": "2024-04-27T23:41:09.3716314-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-27T23:41:09.3716314-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": "4219ea1e-2935-40d5-ba54-9c4c80bc6c81", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "04e54d67-f7ee-4aae-93fc-dd7329079a24", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "357afaa0-06d9-425d-83cc-fd804496cf44", "CreateDate": "2024-04-27T23:41:09.3716314-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-27T23:41:09.3716314-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "0e9d5c97-a144-4912-9601-ba55e9db91fb", "CreateDate": "2024-04-27T23:41:09.3716314-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-27T23:41:09.3716314-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }