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": "cdabba5f-87a2-468b-aa7b-4205b73ba3f0",
"Asset": {
"AssetId": "04b8fc9b-a4d6-4e6c-afd0-5740a5e291ea",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dea449aa-b7a3-4d06-9e2c-0e20fdfb243b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2ec060d8-dcfa-488a-9919-f0515c5cb379",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4bbf76d6-de8a-4952-bcfc-488ee42ee70c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"MeasurementValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1d408a94-a5af-414b-bf6f-a487307b09d8",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d23c2e27-5f5e-482c-aca1-bcafe4c446e8",
"EffectiveDate": "2026-04-11T11:47:27.9334768-07:00",
"StatusType": {
"StatusTypeId": "d2d05be6-74c6-4223-accf-2371e60d19a2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "dea449aa-b7a3-4d06-9e2c-0e20fdfb243b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2ec060d8-dcfa-488a-9919-f0515c5cb379",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8948628f-eeaa-4bc0-8944-caf45b66282f",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "98e8ca17-ee0c-439b-b49b-54234207ac99",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8e70ccb3-f303-44be-acec-24848bdb1afd",
"EffectiveDate": "2026-04-11T11:47:27.9334768-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b0b650b2-c27d-423d-9b10-19d8503f658e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7d399602-37bb-4d56-a4d9-71db48addb32",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "444a3d17-664c-4bf6-9d65-d511e362db65",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"MeasurementValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "355da9a8-c31e-434b-bd7f-83287c52aef2",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-11T11:47:27.9334768-07:00",
"StateType": {
"StateTypeId": "baa27306-b7d0-4884-a38d-12bae91d6674",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "dea449aa-b7a3-4d06-9e2c-0e20fdfb243b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2ec060d8-dcfa-488a-9919-f0515c5cb379",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0d9f54c2-00a6-47ba-910a-7905fd1de7c2",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "18ede293-cb9e-4ab6-872c-c87f0c284874",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-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": "84af0bef-f73f-4393-b00c-1372ea215a3b",
"Asset": {
"AssetId": "abfca920-16b7-4f59-9da8-e1cb72e3ebfc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0b880d73-dfbd-4d90-bbfb-614d712de01a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "35c12aaf-da00-417a-bcea-d7ef079417bc",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bce0b503-c89d-4924-93e5-962b3d1e7516",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"MeasurementValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "820e7faf-6028-4918-955e-d886fe703399",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "ed5fc303-c74e-422e-ac3e-5e44bb08d3b9",
"EffectiveDate": "2026-04-11T11:47:27.9334768-07:00",
"StatusType": {
"StatusTypeId": "d55a2b45-5cd0-4125-9793-722f0436a96a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0b880d73-dfbd-4d90-bbfb-614d712de01a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "35c12aaf-da00-417a-bcea-d7ef079417bc",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "7a6751b4-1949-42ee-a602-2732dd1648c8",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7be494ef-6506-409e-8af4-e67bc383925c",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "90b19893-f061-443a-9014-d3301add4608",
"EffectiveDate": "2026-04-11T11:47:27.9334768-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "bfddcbbb-ad42-4975-b8c3-1f8cedc53ab8",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a7200818-26fb-49ed-8022-891c577ec49b",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "77280725-84a1-47b8-9ac2-e8da0fdc828e",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"MeasurementValueNeededDate": "2026-04-11T11:47:27.9334768-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e89c9d49-1b81-411b-9f1e-b7554c032055",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-11T11:47:27.9334768-07:00",
"StateType": {
"StateTypeId": "caf466ef-3297-45f0-82e6-69799f76db30",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0b880d73-dfbd-4d90-bbfb-614d712de01a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "35c12aaf-da00-417a-bcea-d7ef079417bc",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ed4e0a70-7ad8-4e95-8aed-27aa3f240ef7",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5a92a86c-c27e-4c56-80fa-dea0235683aa",
"CreateDate": "2026-04-11T11:47:27.9334768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-11T11:47:27.9334768-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}