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": "b24b83a7-2ece-4d4e-a623-d217da803663",
"Asset": {
"AssetId": "66612d9e-7a34-4248-a2cd-030d7d85fc73",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "64af8946-d903-423d-a509-2cba26850e9f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18d5fb9f-abbf-4b2b-ae51-29b4318f30d6",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7e1cec25-54df-4491-9d59-775ebfe65d2c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"MeasurementValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9490596c-06a4-4dc2-a2e9-77ea27f5d298",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d323e535-f259-4f2c-84cb-bfd1c4fa422e",
"EffectiveDate": "2026-01-22T11:22:24.0007908-08:00",
"StatusType": {
"StatusTypeId": "2d69e438-e6fd-4109-bf11-af1ee68c8a76",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "64af8946-d903-423d-a509-2cba26850e9f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18d5fb9f-abbf-4b2b-ae51-29b4318f30d6",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6914c0fb-09b4-49b4-becb-303ad9734077",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "93c2bfdb-9f63-463e-bab4-1752229b4d37",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "cbbdacd2-fe91-4a39-8f84-4d532cf5bc99",
"EffectiveDate": "2026-01-22T11:22:24.0007908-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "15a494fb-0f8d-4d08-8216-daa3dee5cbd6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d3fd4f1b-2aa8-4d39-89eb-f3eb936ea303",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f1a2776e-e9f5-49a7-a563-13b1fde2d556",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"MeasurementValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c9e3590f-766a-4fc8-bd22-ea03baf10023",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-22T11:22:24.0007908-08:00",
"StateType": {
"StateTypeId": "163f9a01-8e2c-4917-a9e7-ceb7a889bf5c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "64af8946-d903-423d-a509-2cba26850e9f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18d5fb9f-abbf-4b2b-ae51-29b4318f30d6",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "307c6e28-ea91-4406-91aa-4bf8eaf26a37",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b2e72f89-3bab-4122-83eb-7b7f912cb82e",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-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": "3c3d6c45-4080-43fc-a8fc-fbfc71b4584f",
"Asset": {
"AssetId": "474c417f-b2a7-44f2-bbfc-e43b679cdb12",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0ac897ef-7557-4faf-bb69-07758b295751",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "52b84c32-d0be-41eb-be1d-c9544ee255bd",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a4553c32-c004-4140-b01c-d8f6f12fbf1c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"MeasurementValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "71ad9dfc-1521-4bfa-a5f0-d85639b7eb74",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "7bf9a0bc-aeed-4b18-9eae-553872cc4b6d",
"EffectiveDate": "2026-01-22T11:22:24.0007908-08:00",
"StatusType": {
"StatusTypeId": "735c930a-77bd-4ab3-8d39-f9a0d0f52786",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0ac897ef-7557-4faf-bb69-07758b295751",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "52b84c32-d0be-41eb-be1d-c9544ee255bd",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "7aad1fc8-ae09-436c-bb83-b504a2d2aca7",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "69afe5bc-b3b9-491b-8dc9-fc30cbb920a4",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6ac4fa5d-ef50-4f84-b803-81176752ee63",
"EffectiveDate": "2026-01-22T11:22:24.0007908-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "54e0597f-82c5-47a8-9569-daf9163c8a08",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "74c3715d-6e6b-477d-a75e-abdd53b4beeb",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "32059916-e2f6-4273-b8f0-29d32e126a8c",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"MeasurementValueNeededDate": "2026-01-22T11:22:24.0007908-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b55d8b16-53f7-4100-bbc9-a3d5aa94597f",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-22T11:22:24.0007908-08:00",
"StateType": {
"StateTypeId": "d24c224d-42ef-4437-a501-c6dee4b9f191",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0ac897ef-7557-4faf-bb69-07758b295751",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "52b84c32-d0be-41eb-be1d-c9544ee255bd",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3db3de1b-9313-478f-9dcc-569f9ad09f24",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c9340761-b959-44b2-a34b-074ff8616949",
"CreateDate": "2026-01-22T11:22:24.0007908-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-22T11:22:24.0007908-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}