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": "53746b92-3327-4c3e-a2eb-b257a292cb97",
"Asset": {
"AssetId": "8a6c3ac3-1d93-4419-9161-b0287aa4aa98",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "30e1904b-d4f9-4bc6-8258-62bd00005114",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "345209b0-a72d-49ec-89ad-89139d7584cc",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a81f29ab-f799-47ad-8900-901f516ff7da",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"MeasurementValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a57018c5-ee0d-4c2c-adf0-e439f699837c",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "1ffb7cc1-a587-4b3f-bc2d-7c72416d6040",
"EffectiveDate": "2026-10-05T07:50:57.1098962-07:00",
"StatusType": {
"StatusTypeId": "8b5b1e39-4581-4944-b26c-ba3bc929b4b6",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "30e1904b-d4f9-4bc6-8258-62bd00005114",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "345209b0-a72d-49ec-89ad-89139d7584cc",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cce7fbce-c547-44b7-8d52-71054a9e0eb7",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5b8ca6bc-3154-4c0c-a1af-c11bb2831a4b",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2bbad340-d686-4cc6-9343-c34ead497956",
"EffectiveDate": "2026-10-05T07:50:57.1098962-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "59107144-b864-451b-82b5-881150e7a17d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "275e6d01-8729-483d-a961-cd6cb450e295",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d7f678f1-6e31-4580-9f59-7b3e1d7ef3f3",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"MeasurementValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cdac17ee-d1ae-4951-be3d-461bad462576",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-10-05T07:50:57.1098962-07:00",
"StateType": {
"StateTypeId": "530b315c-d1a9-4153-8e59-91e76ae65332",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "30e1904b-d4f9-4bc6-8258-62bd00005114",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "345209b0-a72d-49ec-89ad-89139d7584cc",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "04adc58c-1cb9-40e2-ab58-d8258aeae40b",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4a6c3143-e694-4ac7-a32a-77311811ac4c",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-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": "ae786a76-bd8b-460a-813a-1f844f4fd40d",
"Asset": {
"AssetId": "e2c9106d-e9da-4baf-81c2-30d242f65c73",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1b6074bb-1a2e-45d5-ad80-e5e89370c145",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c5cbf15a-9999-4b36-b4af-f7db90431526",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "48d9d22f-3557-4365-ae24-45bd5ebec1f3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"MeasurementValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "104c7699-a0f0-449a-a22c-cb214e437919",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "7ad95d7a-6a5f-4876-b9b7-e488d05079dc",
"EffectiveDate": "2026-10-05T07:50:57.1098962-07:00",
"StatusType": {
"StatusTypeId": "e804e01d-dd8a-4c8d-992d-a122f1c58a37",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1b6074bb-1a2e-45d5-ad80-e5e89370c145",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c5cbf15a-9999-4b36-b4af-f7db90431526",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6f167038-6a29-4cda-9533-c80a41af645d",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f68fdd58-6784-41f4-88d3-89edfbea5d85",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "78b897d0-0b49-4725-b07d-f4c92bbc83f9",
"EffectiveDate": "2026-10-05T07:50:57.1098962-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9ee03318-d6c6-43c6-9dac-4e2fd96f2491",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6a222bb7-1983-49c1-af4f-82dc18a80dec",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1107665b-c871-447a-9052-b5292c9bf16c",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"MeasurementValueNeededDate": "2026-10-05T07:50:57.1098962-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "79b76210-24b2-48b5-9086-8b857d7e567d",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-10-05T07:50:57.1098962-07:00",
"StateType": {
"StateTypeId": "00d4c3fc-bbee-44b1-a0ec-b4d269936107",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1b6074bb-1a2e-45d5-ad80-e5e89370c145",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c5cbf15a-9999-4b36-b4af-f7db90431526",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e1793bb7-a7fc-4aed-bbca-dececfe521f4",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "526aeac6-162a-4c3d-8bd0-d10fbce74a64",
"CreateDate": "2026-10-05T07:50:57.1098962-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-05T07:50:57.1098962-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}