PUT api/Enums/DeviceType

Updates an existing enum

Request Information

URI Parameters

None.

Body Parameters

DeviceTypeStruct
NameDescriptionTypeAdditional information
InternalName

Internal name for use in coding

string

None.

ExternalName

External (user readable) name

string

None.

Value

Unique value for enumerating

integer

None.

Description

User readable description for the enum

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "InternalName": "sample string 1",
  "ExternalName": "sample string 2",
  "Value": 3,
  "Description": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Array of within a

GetEnumsResponseOfDeviceTypeStruct
NameDescriptionTypeAdditional information
Enums

Collection of DeviceTypeStruct

None.

Messages

Array of messages

Collection of Message

None.

ServerInformation

Relevant information regarding the Server

ServerInformation

None.

VersionInformation

Relevant information regarding the API's version

VersionInformation

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Enums": [
    {
      "InternalName": "sample string 1",
      "ExternalName": "sample string 2",
      "Value": 3,
      "Description": "sample string 4"
    },
    {
      "InternalName": "sample string 1",
      "ExternalName": "sample string 2",
      "Value": 3,
      "Description": "sample string 4"
    }
  ],
  "Messages": [
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    },
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    }
  ],
  "ServerInformation": {
    "CurrentTimeUTC": "2025-11-09T21:42:11.4907962+10:00",
    "BuildDateUTC": "2025-11-09T21:42:11.4907962+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}