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": "dbff8651-53e1-44e9-aafe-c534e9fa5dec",
"Asset": {
"AssetId": "bd4ff555-b9ef-4d5f-995d-7da6305acc83",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "801b99b8-36df-4a08-84ba-057f14325230",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5082f1ad-0fe3-46d1-b902-4d87e531d633",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6b97667e-fac8-4353-9c34-4cf06996afdd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"MeasurementValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e0e2f98e-875a-43f1-88ee-195881f189ed",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "af4cb31d-beb2-4bbc-91f1-f3fc682e1953",
"EffectiveDate": "2026-06-14T21:18:37.5555673-07:00",
"StatusType": {
"StatusTypeId": "9e6cbb21-2070-4852-b64b-7131c35bd1e3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "801b99b8-36df-4a08-84ba-057f14325230",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5082f1ad-0fe3-46d1-b902-4d87e531d633",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "77040c18-6faa-4011-9a4b-23ecf0cf1f75",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b10501c7-aa5d-49d8-a5de-8df44cd06588",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "778fa7c7-7de2-444d-a56b-356515b76254",
"EffectiveDate": "2026-06-14T21:18:37.5555673-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c1fe9279-50ed-4e50-9f99-df720f9cb06a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "84d0e841-4c21-41ac-a677-2cc2c8a31793",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "993a17f0-bf8e-40a2-8df7-770e53dba881",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"MeasurementValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "713ba5dc-2fc3-423d-8fb1-35215bb5cd94",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-14T21:18:37.5555673-07:00",
"StateType": {
"StateTypeId": "58d03516-f4e5-4670-835f-177c1174fc8d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "801b99b8-36df-4a08-84ba-057f14325230",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5082f1ad-0fe3-46d1-b902-4d87e531d633",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "323b0c44-20cf-4894-8aa1-ee10694db9c3",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "51c21b25-86a9-40ce-88d4-1430e21de3af",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-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": "dc8f6c1a-2aa9-43a9-87bb-d5c7dd96fbcf",
"Asset": {
"AssetId": "ea9cef06-f36e-434f-a476-ca77b69bc33b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3f43d625-169f-4abc-967e-09d0286de0c9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a5d5d800-5be7-4aee-9939-eda17b7de710",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "095a5690-b464-44f3-858f-af2aa57363b7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"MeasurementValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ebec0b38-8560-4232-bf2c-7ef22b7e2282",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "7e8c440f-8cf0-4cba-8a39-a0d38df53778",
"EffectiveDate": "2026-06-14T21:18:37.5555673-07:00",
"StatusType": {
"StatusTypeId": "b2158b0d-ea6e-43fc-9c43-efc1ad3b0010",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3f43d625-169f-4abc-967e-09d0286de0c9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a5d5d800-5be7-4aee-9939-eda17b7de710",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b16a53d1-cafa-4145-892f-91cb5f3ec2ec",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ecbcad50-8440-4fcb-ad97-46b4858ff995",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "fa9c9153-6f38-41cf-bc45-944392b77819",
"EffectiveDate": "2026-06-14T21:18:37.5555673-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "fbc6ebe4-a67c-46d8-8e21-9b626e52441a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "23e9f937-0d82-4a3d-922a-ca51a7fad3ff",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "69b6a998-4b5c-4d90-b5ce-ce32b79ad083",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"MeasurementValueNeededDate": "2026-06-14T21:18:37.5555673-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "86090545-9422-4817-ac8f-dde8233e98fa",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-14T21:18:37.5555673-07:00",
"StateType": {
"StateTypeId": "5a6863c1-daa1-4a71-ab6b-a9c2f7f7b890",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3f43d625-169f-4abc-967e-09d0286de0c9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a5d5d800-5be7-4aee-9939-eda17b7de710",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f7a204e0-7373-430d-87ae-0308dbc5b8c6",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fafb7f87-7f5f-4068-a58d-f9c28e128d20",
"CreateDate": "2026-06-14T21:18:37.5555673-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-14T21:18:37.5555673-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}