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": "1df21981-f8ca-4a73-978c-16399b2288f0",
"Asset": {
"AssetId": "f8fc8cb0-4aad-4710-961f-6b66d1310d8d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "88df55cc-528c-476d-9299-58c43fbc7daf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e971e65f-4e47-4ed5-baf3-ef6f84b203c4",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bfb33051-837f-4f79-a792-255c316b42c1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"MeasurementValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d4e7178a-d5fd-41aa-9b1d-08768b1fe287",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "f5281d1d-a0d8-4a8c-a141-416cfb3f513d",
"EffectiveDate": "2026-06-21T21:23:49.8535863-07:00",
"StatusType": {
"StatusTypeId": "1a31043b-481f-483e-84e3-6ccc7fbc9478",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "88df55cc-528c-476d-9299-58c43fbc7daf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e971e65f-4e47-4ed5-baf3-ef6f84b203c4",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c4b2b106-a013-4271-b6a3-55bb0763b999",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e6114785-3fbb-40ee-b0df-b2b5621e1bf6",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2c58fbd1-4a93-46f4-8b8b-858095f37a84",
"EffectiveDate": "2026-06-21T21:23:49.8535863-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6f721bba-c650-4c60-9fe7-c2b45e87c899",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "062bd96d-c443-4a9c-a43b-95766c9679f3",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ba8b127d-c689-4e6a-8a8f-8deca6fe157c",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"MeasurementValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6b5fdec0-2552-49e4-8073-a4ef27fbfa09",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-21T21:23:49.8535863-07:00",
"StateType": {
"StateTypeId": "843c17ef-38e2-414c-9f87-3f7008e172a6",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "88df55cc-528c-476d-9299-58c43fbc7daf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e971e65f-4e47-4ed5-baf3-ef6f84b203c4",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c97f758b-f0e5-417a-9eb6-83c45be8add9",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e85f6c32-dfa4-4ba9-9285-4970540b221a",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-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": "719a5db2-de48-416c-838f-6f9f7bfbeec2",
"Asset": {
"AssetId": "452540dc-66c9-4467-a63f-6724648bdd9a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "138945cd-fb95-40a8-ab04-e1dcf5a5ae73",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa1c9cdc-df65-452a-9e7f-6fa7c0af079e",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "331c6623-cf41-4d0b-83f7-bce676972f6f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"MeasurementValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9752690a-bb3d-4350-bd6b-13685fbdeace",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "8d5a8bb0-839a-488e-8a74-05b6cf58ea71",
"EffectiveDate": "2026-06-21T21:23:49.8535863-07:00",
"StatusType": {
"StatusTypeId": "29c55f18-c2b6-4af4-bbfd-1697dff81fe7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "138945cd-fb95-40a8-ab04-e1dcf5a5ae73",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa1c9cdc-df65-452a-9e7f-6fa7c0af079e",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "90fc833b-dee8-4922-b394-b95493881f82",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9fac0165-15a7-4dee-937f-a5d6f70c4bf1",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "a86517d8-cc73-4950-9547-ad2eba1bbf61",
"EffectiveDate": "2026-06-21T21:23:49.8535863-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "852a44d5-8a3f-4665-879c-0d032ad65d30",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f63333ba-be78-48de-a120-ab7b3560780e",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f864242e-de46-4a3b-b72f-8c533e045e28",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"MeasurementValueNeededDate": "2026-06-21T21:23:49.8535863-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "01ff5391-9e50-411a-9c96-f0e05098688a",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-21T21:23:49.8535863-07:00",
"StateType": {
"StateTypeId": "ed40ba19-3e7d-4aaa-8a4c-44739545a783",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "138945cd-fb95-40a8-ab04-e1dcf5a5ae73",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa1c9cdc-df65-452a-9e7f-6fa7c0af079e",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "09fd0a08-7812-48c3-92b3-9eda86b85795",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2467c8d2-f071-4998-b8da-61b8d5b70dea",
"CreateDate": "2026-06-21T21:23:49.8535863-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-21T21:23:49.8535863-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}