ProReport - Get report permissions

API Url

Used for loading permission for a specific report.

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

Permissions: user

Path parameters

FieldTypeDescription
idString

Report unique identifier.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    userProfilesString[]

Collection of user Profiles that have permissions to use the report.

    usersString[]

Collection of users that have permissions to use the report.

  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": {
"users": ["AMT" , "MFA"],
"userProfiles": ["MARK"]
},
"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.