GET api/User/GetUcsUserRolesById/{userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

ResultOfListOfUserType
NameDescriptionTypeAdditional information
Error

boolean

None.

Ok

boolean

None.

Errors

Collection of Error

None.

Data

Collection of UserType

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": false,
  "Ok": true,
  "Errors": [
    {
      "Id": "sample string 1",
      "Entity": "sample string 2",
      "Message": "sample string 3"
    },
    {
      "Id": "sample string 1",
      "Entity": "sample string 2",
      "Message": "sample string 3"
    }
  ],
  "Data": [
    0,
    0
  ]
}

application/xml, text/xml

Sample:
<ResultOfArrayOfUserTypewnekxRBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models">
  <Data>
    <UserType>Learner</UserType>
    <UserType>Learner</UserType>
  </Data>
  <Error>false</Error>
  <Errors>
    <Error>
      <Entity>sample string 2</Entity>
      <Id>sample string 1</Id>
      <Message>sample string 3</Message>
    </Error>
    <Error>
      <Entity>sample string 2</Entity>
      <Id>sample string 1</Id>
      <Message>sample string 3</Message>
    </Error>
  </Errors>
  <Ok>true</Ok>
</ResultOfArrayOfUserTypewnekxRBL>