ProReport - Update report permissions

API Url

Used for updating permission for a specific report.

PUT
http://localhost:16010/ProMarkREST/rest/ProReport/reports/{id}/permissions

Permissions: user

Parameter

FieldTypeDescription
idString

Report id.

requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    userProfilesString[]

List of selected user Profiles.

    usersString[]

List of selected users.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

  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": {
"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.