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": "9322ddef-07e0-4299-b48f-c2eccfaa5a57", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "10cb185d-bfc5-4c58-ba46-d15bf9dc9231", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "98620080-babb-4194-adfe-fb491c81d8c7", "CreateDate": "2024-12-21T12:28:49.7075208-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:28:49.7075208-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7f4a8aa0-84c3-4e75-a1aa-2c0bebf4c8d7", "CreateDate": "2024-12-21T12:28:49.7075208-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T12:28:49.7075208-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": "10b187b3-ae9f-4eda-87c9-40c239a267ee", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ab998584-393e-4f3c-b430-5d8210908744", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "470ecfd3-65e1-483c-9397-0ba5f7691933", "CreateDate": "2024-12-21T12:28:49.7075208-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:28:49.7075208-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ebc714cd-b016-4fa9-b135-20b046eb2cbd", "CreateDate": "2024-12-21T12:28:49.7075208-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T12:28:49.7075208-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }