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": "4e91e898-4774-4d95-a24e-e2d903254f14",
"Asset": {
"AssetId": "f389b1cd-ff18-4ac3-98f7-5d2c50ae3876",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "828cd108-0942-44fe-a983-fcfb34af3412",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bcf13838-512e-450e-a940-f63849fbfbb7",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1b0d2ecf-ecf5-4e90-8ef8-36b59e39e23b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "59ef242d-7406-4915-8c5b-f00608885378",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "68d4baf7-2b58-4fc0-b4a4-853ad150139e",
"EffectiveDate": "2026-11-22T14:12:58.3319919-08:00",
"StatusType": {
"StatusTypeId": "1eb0bf3b-9bb9-4608-8523-fe3e4e36511a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "828cd108-0942-44fe-a983-fcfb34af3412",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bcf13838-512e-450e-a940-f63849fbfbb7",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "57308f03-de91-42f6-908e-5318608de359",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1a6659e3-da9e-44db-a180-385a1b0b608e",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "753f965a-193d-4f0b-972e-696cd77776c5",
"EffectiveDate": "2026-11-22T14:12:58.3319919-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "ac49e1be-6b45-4eb9-8272-b10b04b72c9f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1801c77d-7efe-4b1d-9cdb-e2bf1da96416",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d40bec85-a762-4de7-8f70-46d4ba5f1512",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d8f3c09a-4384-4dc5-8cfd-f1213f149223",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-22T14:12:58.3319919-08:00",
"StateType": {
"StateTypeId": "af593194-98ab-4660-b8e5-a1e74ab20664",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "828cd108-0942-44fe-a983-fcfb34af3412",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bcf13838-512e-450e-a940-f63849fbfbb7",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "28bf9739-6b1e-4734-baca-686125c6d795",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "355d4071-fdd3-466f-8580-dd9c3ad659af",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08: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": "427d65de-6a9d-43fb-a813-a5654df0c58d",
"Asset": {
"AssetId": "8c688236-b7d7-41f5-813f-bbaee86a9543",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dc23eb9d-8a0c-4608-ab3c-53b5d2da827b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cbf6193a-4532-4520-8188-c6dcd0e136a6",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "934ca49a-44af-4ba2-a7bb-56b7bc4ce633",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f9e04b29-4f64-4a9b-95e9-5f98ba5d4bcc",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "51213af3-d97c-4f20-a9fa-b90990a8f501",
"EffectiveDate": "2026-11-22T14:12:58.3319919-08:00",
"StatusType": {
"StatusTypeId": "f3c3b902-272b-4e47-988d-315325896da5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "dc23eb9d-8a0c-4608-ab3c-53b5d2da827b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cbf6193a-4532-4520-8188-c6dcd0e136a6",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "00d0be1f-0ca8-4173-bd2c-f0f4cea6d522",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "025b2349-ccfe-41d9-9deb-ec1dc83f969f",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "44ae05e5-8223-4f2b-8d26-5fbf03bab956",
"EffectiveDate": "2026-11-22T14:12:58.3319919-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "21f55b26-80fb-4843-8b80-eb0657ada811",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "65ab961d-dc33-4b46-a597-b9ad8d2962c4",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8fdd07f7-8cd4-4655-8c20-43efda3d22e6",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:58.3319919-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a59fccd4-2499-463c-ab74-4d0b4eb8461d",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-22T14:12:58.3319919-08:00",
"StateType": {
"StateTypeId": "96c1d63f-fd2f-45fc-ac52-c1699c21745b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "dc23eb9d-8a0c-4608-ab3c-53b5d2da827b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cbf6193a-4532-4520-8188-c6dcd0e136a6",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d02d2dae-4bad-484b-8975-0bc1de518065",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5b490788-a46b-439d-89f3-d804ed5e0a7b",
"CreateDate": "2026-11-22T14:12:58.3319919-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:58.3319919-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}