System - Get general properties

API Url

Used for loading general portal/mobile properties.

GET
http://localhost:16010/ProMarkREST/rest/System/properties

Permissions: user

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    propertiesObject[]

Collection of general properties.

      idString

Property unique identifier.

      lockedBoolean

true = Property is read-only.

      nameString

Name of property.

      typeNumber

Type of property.

      valueString

Value of property.

      visibleBoolean

true = Property is visible to the user.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Success example:

HTTP/1.1 200 OK
{
"response": {
"data": {
"properties": [
{
"id": "DefTerm",
"name": "Terminal ID",
"value": "5000",
"type": 1,
"visible": false,
"locked": true
},
{
"id": "expandSingleWebpart",
"name": "Expand height for single web-parts",
"value": "FALSE",
"type": 2,
"visible": true,
"locked": false
}
]
},
"errorCode": 0,
"errorMessage": ""
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.