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": "fae34b43-0fd0-45f3-b84f-fa12562bbd33",
"Asset": {
"AssetId": "051547a0-1f2c-47bb-a5b8-026f8a8874e9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ec3d4982-c6d1-419e-9377-4286fe09a73b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "77661aab-c7bc-4429-af57-030345d2ee1f",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8399d140-7d9b-4902-a4be-3cd65e68165b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"MeasurementValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5b325da-329a-410f-8250-9a4a809acbe7",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "f53f7360-4c80-4a62-9fea-1fabf3829cf2",
"EffectiveDate": "2026-08-17T01:10:42.2915421-07:00",
"StatusType": {
"StatusTypeId": "ac6c4dd5-65e3-49b4-b0c1-109e407813cb",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ec3d4982-c6d1-419e-9377-4286fe09a73b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "77661aab-c7bc-4429-af57-030345d2ee1f",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "69a285bd-750a-4df5-9c2e-a73435794751",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ff470837-6243-49cd-8c49-c8c1c44f4a87",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "283e484d-06ed-451b-bab8-bc7f5fb7bfdf",
"EffectiveDate": "2026-08-17T01:10:42.2915421-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c3ff4740-ccbd-4590-8442-a69242eae864",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0e24df08-77d2-4096-b669-7a760bff7b3b",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "200e6704-93a8-40d9-b25b-3a323b0beb52",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"MeasurementValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b4ca663f-1450-4906-ba0c-ea1741366b48",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-17T01:10:42.2915421-07:00",
"StateType": {
"StateTypeId": "0abeb8b1-2227-4e04-8b35-b86c25787b84",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ec3d4982-c6d1-419e-9377-4286fe09a73b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "77661aab-c7bc-4429-af57-030345d2ee1f",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "96c5c172-98c4-43cd-b10d-81fa3674fa44",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "aacd2526-2c38-4ec3-b441-8c4100b5df57",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-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": "8ca67fde-dc7c-4386-bafc-6afdeaf90634",
"Asset": {
"AssetId": "34f63bef-6e4f-42d1-ae16-fc5a4265cf3a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4d90e346-f773-4c0c-8530-10130aafad0d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9852314e-f7b6-4e96-8ee9-00cc0c151642",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "50cd0bcc-1811-4ed7-bff2-0985147bc39e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"MeasurementValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d767f6ba-baef-4acb-9449-880f0b3866cc",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "16ded0cd-aafe-41f8-a8bf-ca76647e3376",
"EffectiveDate": "2026-08-17T01:10:42.2915421-07:00",
"StatusType": {
"StatusTypeId": "cc69873b-f66f-4ff4-87a0-9d9df3a26d87",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4d90e346-f773-4c0c-8530-10130aafad0d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9852314e-f7b6-4e96-8ee9-00cc0c151642",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5f1e6f7d-9044-4f99-94c7-9359d5c5ba8d",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c4ad69ce-7fe9-423a-b2b2-8f277a272e16",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "09829089-57ae-4ee4-844a-ffadcac6048e",
"EffectiveDate": "2026-08-17T01:10:42.2915421-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5dc99106-876d-4ddc-956c-a3fca78a20ac",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c776652d-eec6-468f-9334-d368c93f2f32",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5fc128a0-22f3-4a74-9f23-189544d77eff",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"MeasurementValueNeededDate": "2026-08-17T01:10:42.2915421-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "397ededb-b5a7-4c27-afe3-5f2850a94311",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-17T01:10:42.2915421-07:00",
"StateType": {
"StateTypeId": "f9a6448e-601b-4b78-813d-8c81b98e7739",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4d90e346-f773-4c0c-8530-10130aafad0d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9852314e-f7b6-4e96-8ee9-00cc0c151642",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8db3095a-7328-4e17-93ac-0da1e9a0bfda",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a39eebfc-0f7c-46e8-90cc-69e586e8ddeb",
"CreateDate": "2026-08-17T01:10:42.2915421-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-17T01:10:42.2915421-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}