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
| Field | Type | Description |
|---|---|---|
Accept-Languageoptional | String | =en-GB Language use for localization. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| systemTexts | Object[] | Localized texts. |
| id | String | Text identifier that is unique within a type. |
| text | String | The localized text. |
| type | String | Type of text. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "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
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |