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": "ce0b78c7-8031-4b71-a7ea-7e335fcabf29",
"Asset": {
"AssetId": "7d5d5a17-a1f0-4ef3-9067-08e19a6bd16b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a4a51fb9-c721-4a57-9549-a48c1054519c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c613e567-2d9c-4bf8-9d4b-93f759ba88f1",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "964726b9-653c-45cd-b1ee-c8a9cf870524",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"MeasurementValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6ab4e676-9aff-4a94-8910-390990aa1381",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "6c6c8963-fc1f-4fb8-8101-1b9370aa6f09",
"EffectiveDate": "2026-03-30T13:53:33.3158748-07:00",
"StatusType": {
"StatusTypeId": "447fd0c6-3aa4-4f9b-98f8-0a92d7efc2b8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a4a51fb9-c721-4a57-9549-a48c1054519c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c613e567-2d9c-4bf8-9d4b-93f759ba88f1",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1cf812d7-5c0e-4feb-983d-610b044ccb7a",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "07fa1432-094b-4a84-8dfb-206f67aa1c0c",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "db974bf2-0651-4db2-b7dc-b2cc05f04b05",
"EffectiveDate": "2026-03-30T13:53:33.3158748-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "7cd86d62-7e91-43bf-9b5b-c73abd84ed0a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5c01d387-0042-4819-a5b1-c93b2078e97b",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0e74b7e9-b8ad-4263-928c-739804831186",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"MeasurementValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "02c34947-8f79-49ec-9e19-7defaf4e0297",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T13:53:33.3158748-07:00",
"StateType": {
"StateTypeId": "13a6f0b2-2c18-45cd-8491-8b25353490a5",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a4a51fb9-c721-4a57-9549-a48c1054519c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c613e567-2d9c-4bf8-9d4b-93f759ba88f1",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a1312693-25d5-40a5-a8ae-7f0f5e557394",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ec29aa4a-5a40-49c7-aaaa-74bbf8559acf",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07: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": "37f7a43e-5fcc-4dfe-b702-b98bee0ad6f7",
"Asset": {
"AssetId": "9ab80e9b-76a2-47e1-991f-68eab9959420",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "101a57f5-fbe5-467c-a02f-d29bf16c1c27",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "838ddedf-00c2-4ded-b8dd-339695d10c11",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8decc7bd-1fd2-4439-a6fb-e09925dbf2d8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"MeasurementValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0f71939e-10a1-4d69-be67-ec242ea3e175",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "79beee3a-46c2-432d-8836-8b19cf15a30f",
"EffectiveDate": "2026-03-30T13:53:33.3158748-07:00",
"StatusType": {
"StatusTypeId": "2caeb9d0-8356-4b53-bf4e-580cb8015e3e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "101a57f5-fbe5-467c-a02f-d29bf16c1c27",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "838ddedf-00c2-4ded-b8dd-339695d10c11",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a26809aa-643e-402e-ba85-7c7730aa3559",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9f2136f5-e4ab-40c7-a844-175bf95dc88c",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "04b52143-022b-4c74-9ac8-15a403357a90",
"EffectiveDate": "2026-03-30T13:53:33.3158748-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "db069210-6c91-422b-a46c-3ebf1922342a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b0efa4ce-df87-4934-b7e1-1c3dd6de3182",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e9eaebfe-596b-4504-9c04-f6421fbab6df",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"MeasurementValueNeededDate": "2026-03-30T13:53:33.3158748-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1fb0120f-fd12-4d2c-9b60-202a8d58d63b",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T13:53:33.3158748-07:00",
"StateType": {
"StateTypeId": "7e8aa52c-ef03-450e-837b-e2a303935f01",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "101a57f5-fbe5-467c-a02f-d29bf16c1c27",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "838ddedf-00c2-4ded-b8dd-339695d10c11",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "756101d1-8b03-4c27-94a8-0aea2f7fc283",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1f79f495-af3f-4f91-858e-9023db70e355",
"CreateDate": "2026-03-30T13:53:33.3158748-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T13:53:33.3158748-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}