ProReport - Update reports

API Url

Used for updating reports.

PUT
http://localhost:16010/ProMarkREST/rest/ProReport/reports

Permissions: user

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

Success 200

FieldTypeDescription
    reportsObject[]

Collection of reports.

      categoryIdString

The id of the report category. Used to group reports together.

      favoriteBoolean

true=This is a favorite report.

      idString

Report unique identifier(not updatable).

      nameString

Name of the report.

      parentIdString

Unique identifier of the parent report that was used for creating this custom report. Only when standard = false.

      standardBoolean

true=Standard report, false=Custom report.

      typeNumber

Report type (0=Classic report, 1=Excel report, 3=Host report).

Size range: 0-3
responseObject

Main object containing the response data.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.

Error example:

HTTP/1.1 200 OK
{
"response": {
"errorCode": 0,
"errorMessage": ""
}
}