System - Get public texts

API Url

The API will include only texts needed for the "Login" screen.

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

Permissions: none

Request headers

FieldTypeDescription
Accept-LanguageoptionalString

=en-GB Language use for localization.

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": "LOGIN",
"id": "btnLogin",
"text": "Login"
},
{
"type": "LOGIN",
"id": "lblUsername",
"text": "Username"
}
]
},
"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.