System - Update general properties

API Url

Used for updating general portal/mobile properties.

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

Permissions: user

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    propertiesObject[]

Collection of general properties.

      idString

Property unique identifier (not updatable).

      lockedBoolean

true = Property is read-only (not updatable).

      nameString

Name of property (not updatable).

      typeNumber

Type of property (not updatable).

      valueString

Value of property.

      visibleBoolean

true = Property is visible to the user (not updatable).

Request example:

{
"request": {
"data": {
"properties": [
{
"id": "DefTerm",
"name": "Terminal ID",
"value": "5000",
"type": 1,
"visible": true,
"locked": false
}
]
}
}
}

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.