POST States
Creates a new state.
Request Information
URI Parameters
None.
Body Parameters
The state to create. StateId should not be filled in.
State| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | globally unique identifier |
None. |
|
| Asset | Asset |
None. |
|
| EffectiveDate | date |
None. |
|
| StateType | StateType |
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:
{
"StateId": "9f6c2cab-d553-4e67-8f0f-865b3a91421d",
"Asset": {
"AssetId": "3cf9308c-2a3c-4786-9fce-058021e3e5f0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1b7e9f38-afcf-4d18-98a1-f3acbab0dc7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "eb1df81a-12f8-48a6-b318-e6704819d184",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8bca9943-22ff-427f-b01d-76c7a1c225f2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"MeasurementValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "60fb7d17-5c7a-40e8-9007-106f2d13f24a",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "e7ee7d9c-922c-4e9b-8e93-b506ed9e5451",
"EffectiveDate": "2026-03-06T11:35:10.6826228-08:00",
"StatusType": {
"StatusTypeId": "41d4e258-9c3a-4aa4-8277-fd124902cd8b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1b7e9f38-afcf-4d18-98a1-f3acbab0dc7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "eb1df81a-12f8-48a6-b318-e6704819d184",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1aad6767-85df-49e3-8e64-e77ae5035bb5",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3120a368-5050-4d15-a562-da75fc41a401",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "a84383f3-7ac8-45f8-b4e8-dfc1b371e21b",
"EffectiveDate": "2026-03-06T11:35:10.6826228-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "f99fbc8a-1e30-46c0-8674-e638f3eccad0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0a441d8a-6838-4de9-961b-861c0818a22e",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3fce6281-4c74-405f-a049-bf59b597ceec",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"MeasurementValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "97d4b346-08af-4028-8fe3-da3c19cfeed8",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-06T11:35:10.6826228-08:00",
"StateType": {
"StateTypeId": "e95f40d1-f729-42ed-b31d-cbcea33843d2",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1b7e9f38-afcf-4d18-98a1-f3acbab0dc7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "eb1df81a-12f8-48a6-b318-e6704819d184",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d326eb2c-5476-4e99-93b5-5880a2556334",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4f9dadd9-1a32-4d62-838e-536af58f7ef4",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 4"
}
Response Information
Resource Description
On success, the created state.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | State |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"StateId": "800713d3-5077-48e5-9f93-57b48ff94aa3",
"Asset": {
"AssetId": "eb5c425f-1dc1-4d12-a0f4-603770cfe1bc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2da057a2-5112-4fb3-b9be-a002e51e8e33",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b71329fc-6b25-4b65-8286-de402ed88f96",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "86dcca30-c3d0-4e80-b1cb-2c607f5f44bb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"MeasurementValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ca740cbd-aa1b-4615-806d-c9dadd985fdf",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "15cdf608-b336-46ab-ab60-4e4c3019871c",
"EffectiveDate": "2026-03-06T11:35:10.6826228-08:00",
"StatusType": {
"StatusTypeId": "e40e86e4-fbcd-4d72-b068-1808e0a54499",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2da057a2-5112-4fb3-b9be-a002e51e8e33",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b71329fc-6b25-4b65-8286-de402ed88f96",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cfa69d49-ca0c-48f2-81bc-90d5a13cc263",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "aa3228ed-766e-4120-bb9e-081ae702a4c3",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "69445786-1e96-4bd1-816d-032093e7cd97",
"EffectiveDate": "2026-03-06T11:35:10.6826228-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "0421ff8e-2cae-49ed-a260-99cb1d8f0f55",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "67fa53b2-ec6a-44eb-880f-63caaa5aabca",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b76ade28-8439-4ae2-b647-0f634c79f68e",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"MeasurementValueNeededDate": "2026-03-06T11:35:10.6826228-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3fb7027b-eeaa-44d6-9958-ad758b3b597e",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-06T11:35:10.6826228-08:00",
"StateType": {
"StateTypeId": "07f85fdd-3192-4234-af85-3109e1de9342",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2da057a2-5112-4fb3-b9be-a002e51e8e33",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b71329fc-6b25-4b65-8286-de402ed88f96",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "25830dca-fce5-4feb-a0ff-5635f92814b4",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0ff45f15-16d7-4bc0-a796-2fb012b3f7bb",
"CreateDate": "2026-03-06T11:35:10.6826228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-06T11:35:10.6826228-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}