GET api/Account/GetStatusAndRoles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LiteUserStatus
NameDescriptionTypeAdditional information
RequireOnboarding

boolean

None.

RequireTerms

boolean

None.

Roles

Collection of string

None.

SchoolId

integer

None.

Id

string

None.

Email

string

None.

FirstName

string

None.

LastName

string

None.

PhoneNumber

string

None.

ProfileImageThumbnail

Collection of byte

None.

Rating

LiteUserRatingTotal

None.

YearLevel

integer

None.

RoleName

string

None.

IsBlacklisted

boolean

None.

CreatedOn

date

None.

SchoolName

string

None.

VouchCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RequireOnboarding": true,
  "RequireTerms": true,
  "Roles": [
    "sample string 1",
    "sample string 2"
  ],
  "SchoolId": 3,
  "Id": "sample string 4",
  "Email": "sample string 5",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "PhoneNumber": "sample string 8",
  "ProfileImageThumbnail": "QEA=",
  "Rating": {
    "JobsCompletedCount": 1,
    "SmilesCount": 2
  },
  "YearLevel": 9,
  "RoleName": "sample string 10",
  "IsBlacklisted": true,
  "CreatedOn": "2019-11-26T05:02:43.8887541+00:00",
  "SchoolName": "sample string 13",
  "VouchCount": 14
}

application/xml, text/xml

Sample:
<LiteUserStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <CreatedOn>2019-11-26T05:02:43.8887541+00:00</CreatedOn>
  <Email>sample string 5</Email>
  <FirstName>sample string 6</FirstName>
  <Id>sample string 4</Id>
  <IsBlacklisted>true</IsBlacklisted>
  <LastName>sample string 7</LastName>
  <PhoneNumber>sample string 8</PhoneNumber>
  <ProfileImageThumbnail>QEA=</ProfileImageThumbnail>
  <Rating>
    <JobsCompletedCount>1</JobsCompletedCount>
    <SmilesCount>2</SmilesCount>
  </Rating>
  <RoleName>sample string 10</RoleName>
  <SchoolName>sample string 13</SchoolName>
  <VouchCount>14</VouchCount>
  <YearLevel>9</YearLevel>
  <RequireOnboarding>true</RequireOnboarding>
  <RequireTerms>true</RequireTerms>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <SchoolId>3</SchoolId>
</LiteUserStatus>