ProReport - Get recent reports

API Url

Use it for loading a list of recently used reports. You can also send a size to limit the list of results.

GET
http://localhost:16010/ProMarkREST/rest/ProReport/recent/{size}

Permissions: user

Path parameters

FieldTypeDescription
sizeoptionalNumber

History limit.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    recentReportsObject[]

List of recent reports.

      idString

Report identifier.

      nameString

Name of the report.

      orderNumber

History order where smallest is the most recent.

  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": {
"recentReports": [
{
"id": "Absence01",
"order": 1,
"name": "Absence rules on totals 120 days"
},
{
"id": "Period02",
"order": 2,
"name": "Account registrations"
}
]
},
"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.