GET api/Users/GetUserOwnProfile?userId={userId}&loadProfileImage={loadProfileImage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

None.

loadProfileImage

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

LiteUserLarge
NameDescriptionTypeAdditional information
AgeConfirm14

boolean

None.

UserYearLevels

Collection of byte

None.

BankAccountName

string

None.

BankAccountNumber

string

None.

DirectoryUsername

string

None.

AboutMe

string

None.

AddressCity

string

None.

AddressLat

decimal number

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLng

decimal number

None.

AddressPostCode

string

None.

ProfileImage

Collection of byte

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:
{
  "AgeConfirm14": true,
  "UserYearLevels": [
    64,
    64
  ],
  "BankAccountName": "sample string 2",
  "BankAccountNumber": "sample string 3",
  "DirectoryUsername": "sample string 4",
  "AboutMe": "sample string 5",
  "AddressCity": "sample string 6",
  "AddressLat": 1.0,
  "AddressLine1": "sample string 7",
  "AddressLine2": "sample string 8",
  "AddressLng": 1.0,
  "AddressPostCode": "sample string 9",
  "ProfileImage": "QEA=",
  "Id": "sample string 10",
  "Email": "sample string 11",
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "PhoneNumber": "sample string 14",
  "ProfileImageThumbnail": "QEA=",
  "Rating": {
    "JobsCompletedCount": 1,
    "SmilesCount": 2
  },
  "YearLevel": 15,
  "RoleName": "sample string 16",
  "IsBlacklisted": true,
  "CreatedOn": "2019-12-09T16:06:29.352397+00:00",
  "SchoolName": "sample string 19",
  "VouchCount": 20
}

application/xml, text/xml

Sample:
<LiteUserLarge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <CreatedOn>2019-12-09T16:06:29.352397+00:00</CreatedOn>
  <Email>sample string 11</Email>
  <FirstName>sample string 12</FirstName>
  <Id>sample string 10</Id>
  <IsBlacklisted>true</IsBlacklisted>
  <LastName>sample string 13</LastName>
  <PhoneNumber>sample string 14</PhoneNumber>
  <ProfileImageThumbnail>QEA=</ProfileImageThumbnail>
  <Rating>
    <JobsCompletedCount>1</JobsCompletedCount>
    <SmilesCount>2</SmilesCount>
  </Rating>
  <RoleName>sample string 16</RoleName>
  <SchoolName>sample string 19</SchoolName>
  <VouchCount>20</VouchCount>
  <YearLevel>15</YearLevel>
  <AboutMe>sample string 5</AboutMe>
  <AddressCity>sample string 6</AddressCity>
  <AddressLat>1</AddressLat>
  <AddressLine1>sample string 7</AddressLine1>
  <AddressLine2>sample string 8</AddressLine2>
  <AddressLng>1</AddressLng>
  <AddressPostCode>sample string 9</AddressPostCode>
  <ProfileImage>QEA=</ProfileImage>
  <AgeConfirm14>true</AgeConfirm14>
  <BankAccountName>sample string 2</BankAccountName>
  <BankAccountNumber>sample string 3</BankAccountNumber>
  <DirectoryUsername>sample string 4</DirectoryUsername>
  <UserYearLevels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </UserYearLevels>
</LiteUserLarge>