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": "846f8f4f-00b8-4e38-906c-d435ef658a52", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "aec6642a-c91d-4477-aa34-868b506ecfd7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "07d3c2cb-3cb6-4893-b629-62f5961bf7ef", "CreateDate": "2024-04-26T05:07:11.241452-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-26T05:07:11.241452-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "0d6dae63-e630-426e-8ece-53c583b2348d", "CreateDate": "2024-04-26T05:07:11.241452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-26T05:07:11.241452-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": "e34a5ad7-b3f4-44dd-9cec-e3d22f1d54d5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1748988f-1432-4ef5-a12d-3911ce8bc42a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "28781644-d49e-4323-9424-7c4cae9e5fad", "CreateDate": "2024-04-26T05:07:11.241452-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-26T05:07:11.241452-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b4ae9ac2-6e74-4dbb-b732-7ffd654289a7", "CreateDate": "2024-04-26T05:07:11.241452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-26T05:07:11.241452-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }