GET States?stateId={stateId}

Retrieves a state by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stateId

Id of the state

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

On success, the state.

NameDescriptionTypeAdditional information
Data

State

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "StateId": "8be21393-d51e-46a7-b48f-e1e8c9f299d6",
    "Asset": {
      "AssetId": "6aff5d5b-7c09-4348-ad57-1df25f70937b",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "e1287103-f712-416e-b289-21d4a83b490a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "9613ffde-14ba-4f3d-9ee1-b4aefb2d9993",
        "CreateDate": "2024-04-25T22:57:47.914152-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "AssetGroup": {
        "AssetGroupId": "68a64122-5f17-4612-ba50-60df21248904",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-04-25T22:57:47.914152-07:00",
        "MeasurementValueNeededDate": "2024-04-25T22:57:47.914152-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "f6a4a8dc-893c-4db7-b066-f7147dcc26e3",
        "CreateDate": "2024-04-25T22:57:47.914152-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "Status": {
        "StatusId": "ed46926d-66be-49d2-86f9-dd5a99dc8a87",
        "EffectiveDate": "2024-04-25T22:57:47.914152-07:00",
        "StatusType": {
          "StatusTypeId": "82b68772-3ca3-4f0f-81f2-114feef394c7",
          "Name": "sample string 1",
          "IsProducing": true,
          "IsInjecting": true,
          "AssetType": {
            "AssetTypeId": "e1287103-f712-416e-b289-21d4a83b490a",
            "Name": "sample string 1",
            "Description": "sample string 2",
            "IsWell": true,
            "DisplayColor": "sample string 4",
            "SourceSystemId": "sample string 5",
            "CompanyId": "9613ffde-14ba-4f3d-9ee1-b4aefb2d9993",
            "CreateDate": "2024-04-25T22:57:47.914152-07:00",
            "CreateUser": "sample string 7",
            "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
            "LastModifiedUser": "sample string 8"
          },
          "SourceSystemId": "sample string 4",
          "CompanyId": "e1441fd1-0bd7-4685-bfe2-da13a0479391",
          "CreateDate": "2024-04-25T22:57:47.914152-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "fdb377b4-e2cb-475a-9f4d-0c4c709d91cc",
        "CreateDate": "2024-04-25T22:57:47.914152-07:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
        "LastModifiedUser": "sample string 4"
      },
      "WellPurpose": {
        "WellPurposeId": "e8323a5c-d25f-4ef7-92a7-caaa13bedbbd",
        "EffectiveDate": "2024-04-25T22:57:47.914152-07:00",
        "WellPurposeType": {
          "WellPurposeTypeId": "2eaafafe-0d82-4116-a998-fa5ee9cc5041",
          "IsProducer": true,
          "IsInjector": true,
          "Name": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "fe8f3d39-31f8-4c4c-9b4f-40e4cef1ca3c",
          "CreateDate": "2024-04-25T22:57:47.914152-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "SourceSystemId": "sample string 1",
        "CompanyId": "cae4e7a6-390d-463b-96cf-0e1f687a94b2",
        "CreateDate": "2024-04-25T22:57:47.914152-07:00",
        "CreateUser": "sample string 3",
        "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
        "LastModifiedUser": "sample string 4"
      },
      "FormValueNeededDate": "2024-04-25T22:57:47.914152-07:00",
      "MeasurementValueNeededDate": "2024-04-25T22:57:47.914152-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "e59afb26-3f6d-4176-87a2-c754a469d895",
      "CreateDate": "2024-04-25T22:57:47.914152-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "EffectiveDate": "2024-04-25T22:57:47.914152-07:00",
    "StateType": {
      "StateTypeId": "8639dca3-0857-4531-89ea-32a8a479d210",
      "Name": "sample string 1",
      "IsOperational": true,
      "AssetType": {
        "AssetTypeId": "e1287103-f712-416e-b289-21d4a83b490a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "9613ffde-14ba-4f3d-9ee1-b4aefb2d9993",
        "CreateDate": "2024-04-25T22:57:47.914152-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "SourceSystemId": "sample string 3",
      "CompanyId": "8c1be441-d27e-4a38-8a43-b2652256fed9",
      "CreateDate": "2024-04-25T22:57:47.914152-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "d1f85694-9f79-48e9-bc38-d7f39b267597",
    "CreateDate": "2024-04-25T22:57:47.914152-07:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-04-25T22:57:47.914152-07:00",
    "LastModifiedUser": "sample string 4"
  },
  "Total": 1,
  "Message": "sample string 1"
}