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": "ca530b11-87e1-4a12-898d-4f8f9ba7a536",
"Asset": {
"AssetId": "cc0aed2d-f52f-484b-b6a4-c876910d7bc2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8198ef61-2b4c-4daa-997c-8a6e71b90ee9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4ea14158-2b9b-49e2-a174-80d3d3f5964c",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "0d892b99-a3a6-4b0c-b8ba-3eb79af75e60",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"MeasurementValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "db19e5c8-f7da-48ca-87ad-68af3a7a36e2",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "e4e85683-2d93-48dc-a792-59316a7566c9",
"EffectiveDate": "2026-05-31T17:28:52.6496215-07:00",
"StatusType": {
"StatusTypeId": "dbad4538-b081-4174-aa43-f2de70b9ab69",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8198ef61-2b4c-4daa-997c-8a6e71b90ee9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4ea14158-2b9b-49e2-a174-80d3d3f5964c",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1433248e-3bc1-481c-9393-58f74f799427",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "994ed3c3-67b1-4be6-88f4-7940a57c0ae3",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "93d540d9-021c-4142-9241-ed754f366455",
"EffectiveDate": "2026-05-31T17:28:52.6496215-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "02215075-971e-4ea6-a20e-e7dd3a2cf52f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "259e07dc-a961-44a9-9b44-ceec08a481af",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0a42d2f4-73e0-487b-97c4-5f06c652f200",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"MeasurementValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6ecb6eb7-e994-4d67-857a-f5b40e70f999",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-31T17:28:52.6496215-07:00",
"StateType": {
"StateTypeId": "cbd87b2f-9abe-40c9-b2a2-6a865910a799",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8198ef61-2b4c-4daa-997c-8a6e71b90ee9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4ea14158-2b9b-49e2-a174-80d3d3f5964c",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bb70fc41-b516-4fdc-88c9-1324ffc24f64",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1c7f6343-6968-4397-9224-a477d341b721",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-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": "4f383a06-a119-4289-b0f9-1b55a2a38057",
"Asset": {
"AssetId": "070aad05-74a6-44a6-a064-c32f625e3526",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ea5ff4d7-60db-4c4b-9102-7410f259eb36",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "842f7b77-aa7b-40e4-8e00-4442e2cea3c3",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "520109cb-1599-481a-a9ad-2704c008541e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"MeasurementValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2a88e50d-74f6-43ef-acc4-9180df72d007",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d72ebc94-f0ad-46d1-a5ed-2765dfdf88e0",
"EffectiveDate": "2026-05-31T17:28:52.6496215-07:00",
"StatusType": {
"StatusTypeId": "c165d527-a7bd-4894-bd44-fecc86126121",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ea5ff4d7-60db-4c4b-9102-7410f259eb36",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "842f7b77-aa7b-40e4-8e00-4442e2cea3c3",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "684b5c24-1bbc-4b27-ae94-fab1f7e35531",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a0303c84-3075-4835-aa3e-85b27677c01d",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "11c393d8-6a0d-459e-92a3-d906a964056b",
"EffectiveDate": "2026-05-31T17:28:52.6496215-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9512268a-6d6b-4c20-a72f-1720c6df8880",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "32083bd2-d8ad-49b9-aa54-3b6fb91c7099",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "263be309-54bf-4c4f-ba7d-04279c3d8ea1",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"MeasurementValueNeededDate": "2026-05-31T17:28:52.6496215-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ba24ff05-b29b-4f27-9464-8c9479c0cc5d",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-31T17:28:52.6496215-07:00",
"StateType": {
"StateTypeId": "a2501b26-386a-4f75-b691-10a7a24faf9a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ea5ff4d7-60db-4c4b-9102-7410f259eb36",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "842f7b77-aa7b-40e4-8e00-4442e2cea3c3",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "06bc6706-88b0-47da-bce7-cace6de665a8",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c5c1f304-ae9a-4303-a8cd-791c2ddc5451",
"CreateDate": "2026-05-31T17:28:52.6496215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-31T17:28:52.6496215-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}