System - Get web-parts catalog

API Url

Used for loading a list (catalog) with web-parts that can be added to any tab menu. Only web-parts that are enabled will be returned!

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

Permissions: user

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    webpartsCatalogObject[]

Collection of web-parts.

      enabledBoolean

true = Web-part is usable.

      lockedBoolean

true = Web-part is locked.

      nameString

Name of the web-part.

      typeNumber

Web-part type.

  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": {
"webpartsCatalog": [
{
"type": 1,
"name": "Registration",
"enabled": 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.