ProReport - Update category permissions

API Url

Used for updating permission for a specific category.

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

Permissions: user

Path parameters

FieldTypeDescription
idString

Category ID.

Parameter

FieldTypeDescription
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.