IControler Service

<back to all web services

UserRolesRequest

The following routes are available for this service:
GET/Users/{Id}/Roles

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/UserRolesRequest HTTP/1.1 
Host: gc-test.splitvision.nl 
Content-Type: application/xml
Content-Length: length

<UserRolesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.UserActions">
  <Culture xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.CommonActions">String</Culture>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.CommonActions">0</ModifiedBy>
  <OrgId xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.CommonActions">0</OrgId>
  <TenantId xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.CommonActions">String</TenantId>
  <Id>0</Id>
</UserRolesRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UserRolesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.UserActions">
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.CommonActions">String</StatusCode>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/IControler.Actions.CommonActions">String</StatusMessage>
  <Roles xmlns:d2p1="http://schemas.datacontract.org/2004/07/IControler.Common.Dto" i:nil="true" />
</UserRolesResponse>