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": "783e67d1-3a0c-432f-b471-5028ccb62812", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a25a13da-59ff-48e4-bca0-e540016c86ab", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4ff530c8-bd7a-4908-9b89-169dd5dd3ea6", "CreateDate": "2025-01-30T12:24:51.9871038-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:24:51.9871038-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "47f111b3-9608-4dd9-8e4e-ce9ef4f54788", "CreateDate": "2025-01-30T12:24:51.9871038-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:24:51.9871038-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": "97a8fa32-f589-4790-b052-9fa0749e8382", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1bd71aba-6934-42e6-b561-dc89f1ad5f0b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7162a53c-d7a3-4155-87bd-c53dccdf8a0c", "CreateDate": "2025-01-30T12:24:51.9871038-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:24:51.9871038-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8af208f1-8b26-4bfe-bf2e-5374f92b2414", "CreateDate": "2025-01-30T12:24:51.9871038-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:24:51.9871038-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }