System - Get system texts

API Url

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

Permissions: user

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    systemTextsObject[]

Localized texts.

      idString

Text identifier that is unique within a type.

      textString

The localized text.

      typeString

Type of text.

  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": {
"systemTexts": [
{
"type": "GENERAL",
"id": "btnAdd",
"text": "Add"
},
{
"type": "REPORT",
"id": "lblRunTime",
"text": "Run time"
}
]
},
"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.