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": "f2576c55-2200-497d-b88e-1017a5b88012", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "de29bd67-1c79-4e82-83ac-bb33ea5d51e8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e388a226-45d5-4dd9-a1d7-01eacd61221f", "CreateDate": "2024-11-21T04:38:31.7236151-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:38:31.7236151-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "4ef7d764-02a7-4ea4-91a3-16a393f80242", "CreateDate": "2024-11-21T04:38:31.7236151-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:38:31.7236151-08: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": "e12c1092-8a7d-455b-9427-f5e75a30202b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d5cd6c6e-d3a3-4592-aa46-d0448c1eb22f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2b8a38d5-27e2-4007-993a-e618e8fe0307", "CreateDate": "2024-11-21T04:38:31.7236151-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:38:31.7236151-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8a889857-0905-4bbf-abb0-2da1f564bac6", "CreateDate": "2024-11-21T04:38:31.7236151-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:38:31.7236151-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }