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": "ad506cef-78f0-454e-babd-6abda02490ae", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9c72e811-3391-492c-95e8-b0f4d0a0d478", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "49b4f857-3d8b-4d62-ba83-64ec9857bac8", "CreateDate": "2025-04-17T04:03:09.5188158-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:03:09.5188158-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f1319068-4c1a-473a-8ced-fe0accdece8b", "CreateDate": "2025-04-17T04:03:09.5188158-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:03:09.5188158-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": "d67830da-7fd8-48c7-a115-ff81338b8e71", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9614f5bd-5844-4fa6-ba00-f13dc67459c9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4196b497-5426-4c79-b928-f72c6150c7f9", "CreateDate": "2025-04-17T04:03:09.5188158-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:03:09.5188158-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8fa13bd9-8e9b-4848-86eb-126eb8773325", "CreateDate": "2025-04-17T04:03:09.5188158-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:03:09.5188158-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }