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": "70eff498-a7ec-4953-8d45-bb65ef847034", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f2937ce2-df53-41a7-a912-6ee1249cc338", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fd79d960-be4a-4eb1-bbe3-9fee44234a74", "CreateDate": "2025-05-08T11:21:10.2564888-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:21:10.2564888-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "232beed6-c3e1-4b1a-9f3e-466814421f67", "CreateDate": "2025-05-08T11:21:10.2564888-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T11:21:10.2564888-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": "a2b86622-0854-407a-b93f-5e200dc2a8c1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "2392acb1-d2a9-4c31-8a70-0bcf13d0e53a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f775ef56-db1c-4265-814d-e0687192cf45", "CreateDate": "2025-05-08T11:21:10.2564888-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:21:10.2564888-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "435bbb0e-9b96-4211-ba69-2f22b438ebdd", "CreateDate": "2025-05-08T11:21:10.2564888-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T11:21:10.2564888-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }