POST api/Enums/ReadingUnitType
Creates a new object
Request Information
URI Parameters
None.
Body Parameters
ReadingUnitTypeStruct| Name | Description | Type | Additional information |
|---|---|---|---|
| Abbreviation |
User readable abbreviation/symbol for the enum |
string |
None. |
| 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:
{
"Abbreviation": "sample string 1",
"InternalName": "sample string 2",
"ExternalName": "sample string 3",
"Value": 4,
"Description": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Array of within a
GetEnumsResponseOfReadingUnitTypeStruct| Name | Description | Type | Additional information |
|---|---|---|---|
| Enums | Collection of ReadingUnitTypeStruct |
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": [
{
"Abbreviation": "sample string 1",
"InternalName": "sample string 2",
"ExternalName": "sample string 3",
"Value": 4,
"Description": "sample string 5"
},
{
"Abbreviation": "sample string 1",
"InternalName": "sample string 2",
"ExternalName": "sample string 3",
"Value": 4,
"Description": "sample string 5"
}
],
"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:26:23.4509285+10:00",
"BuildDateUTC": "2025-11-09T21:26:23.4509285+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
}
}