GET StateTypes?stateTypeId={stateTypeId}

Retrieves a state type by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stateTypeId

Id of the state type

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

On success, the state type.

NameDescriptionTypeAdditional information
Data

StateType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "StateTypeId": "c4e7a23d-0fad-4f56-8220-22a553d0a07e",
    "Name": "sample string 1",
    "IsOperational": true,
    "AssetType": {
      "AssetTypeId": "dff3e058-e472-4a26-a4d7-77db7cddcb5a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "dd9be7b4-26d3-4cb9-a7fb-cb437407252f",
      "CreateDate": "2024-12-21T18:55:05.4212612-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-12-21T18:55:05.4212612-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "SourceSystemId": "sample string 3",
    "CompanyId": "f34c3080-5c5c-4a56-aa4c-39b782065824",
    "CreateDate": "2024-12-21T18:55:05.4212612-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-12-21T18:55:05.4212612-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "Total": 1,
  "Message": "sample string 1"
}