GET DMCS/GetRoutePermissionsForUser?userID={userID}&requestDataMartID={requestDataMartID}

Gets the routing permissions for the specified user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

globally unique identifier

Required

requestDataMartID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RoutePermissionsComponent
NameDescriptionTypeAdditional information
UserID

Gets or sets the ID of the user the permissions apply to.

globally unique identifier

None.

RequestDataMartID

Gets or sets the ID of the routing the permissions are applicable for.

globally unique identifier

None.

SeeRequest

Gets or sets if the user can see the request.

boolean

None.

UploadResults

Gets or sets if the user can upload results.

boolean

None.

HoldRequest

Gets or sets if the user can hold the routing.

boolean

None.

RejectRequest

Gets or sets if the user can reject a request.

boolean

None.

ModifyResults

Gets or sets if the user can modify results for the routing after submitting the initial results.

boolean

None.

ViewAttachments

Gets or sets if the user can view attachments for the routing.

boolean

None.

ModifyAttachments

Gets or sets if the user can modify attachments for the routing.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "UserID": "9fbeb032-d4dd-4648-b0a7-018b8bea0717",
      "RequestDataMartID": "9fce4616-e231-4869-9b0e-22413e14dfcb",
      "SeeRequest": true,
      "UploadResults": true,
      "HoldRequest": true,
      "RejectRequest": true,
      "ModifyResults": true,
      "ViewAttachments": true,
      "ModifyAttachments": true
    },
    {
      "UserID": "9fbeb032-d4dd-4648-b0a7-018b8bea0717",
      "RequestDataMartID": "9fce4616-e231-4869-9b0e-22413e14dfcb",
      "SeeRequest": true,
      "UploadResults": true,
      "HoldRequest": true,
      "RejectRequest": true,
      "ModifyResults": true,
      "ViewAttachments": true,
      "ModifyAttachments": true
    }
  ]
}

text/javascript

Sample:
{"results":[{"UserID":"9fbeb032-d4dd-4648-b0a7-018b8bea0717","RequestDataMartID":"9fce4616-e231-4869-9b0e-22413e14dfcb","SeeRequest":true,"UploadResults":true,"HoldRequest":true,"RejectRequest":true,"ModifyResults":true,"ViewAttachments":true,"ModifyAttachments":true},{"UserID":"9fbeb032-d4dd-4648-b0a7-018b8bea0717","RequestDataMartID":"9fce4616-e231-4869-9b0e-22413e14dfcb","SeeRequest":true,"UploadResults":true,"HoldRequest":true,"RejectRequest":true,"ModifyResults":true,"ViewAttachments":true,"ModifyAttachments":true}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<ArrayOfRoutePermissionsComponent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.Api.DMCS">
  <RoutePermissionsComponent>
    <HoldRequest>true</HoldRequest>
    <ModifyAttachments>true</ModifyAttachments>
    <ModifyResults>true</ModifyResults>
    <RejectRequest>true</RejectRequest>
    <RequestDataMartID>9fce4616-e231-4869-9b0e-22413e14dfcb</RequestDataMartID>
    <SeeRequest>true</SeeRequest>
    <UploadResults>true</UploadResults>
    <UserID>9fbeb032-d4dd-4648-b0a7-018b8bea0717</UserID>
    <ViewAttachments>true</ViewAttachments>
  </RoutePermissionsComponent>
  <RoutePermissionsComponent>
    <HoldRequest>true</HoldRequest>
    <ModifyAttachments>true</ModifyAttachments>
    <ModifyResults>true</ModifyResults>
    <RejectRequest>true</RejectRequest>
    <RequestDataMartID>9fce4616-e231-4869-9b0e-22413e14dfcb</RequestDataMartID>
    <SeeRequest>true</SeeRequest>
    <UploadResults>true</UploadResults>
    <UserID>9fbeb032-d4dd-4648-b0a7-018b8bea0717</UserID>
    <ViewAttachments>true</ViewAttachments>
  </RoutePermissionsComponent>
</ArrayOfRoutePermissionsComponent>