POST api/IClassUsers/GetUserProfile

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
UserId

string

None.

BMSId

integer

None.

LogStatus

integer

None.

ClientIP

string

None.

Android

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Android": 1,
  "UserId": "sample string 1",
  "BMSId": 2,
  "LogStatus": 3,
  "ClientIP": "sample string 4"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <Android>1</Android>
  <BMSId>2</BMSId>
  <ClientIP>sample string 4</ClientIP>
  <LogStatus>3</LogStatus>
  <UserId>sample string 1</UserId>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsUserProfile
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseMessage

string

None.

profile

UserProfile

None.

progress

Collection of Progress

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "profile": {
    "UserID": "sample string 1",
    "FullName": "sample string 2",
    "ProfileImgPath": "sample string 3",
    "MobileNo": "sample string 4",
    "Address": "sample string 5",
    "AreaPIN": "sample string 6",
    "EmailID": "sample string 7",
    "City": "sample string 8",
    "State": 1,
    "Country": "sample string 9",
    "CompanyName": "sample string 10",
    "GSTNo": "sample string 11"
  },
  "progress": [
    {
      "SubjectName": "sample string 1",
      "TotalVideos": 2,
      "CompletedVideos": 3,
      "RemaoningVideos": 4,
      "ProgressPercentage": 5.1
    },
    {
      "SubjectName": "sample string 1",
      "TotalVideos": 2,
      "CompletedVideos": 3,
      "RemaoningVideos": 4,
      "ProgressPercentage": 5.1
    }
  ]
}

application/xml, text/xml

Sample:
<clsUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <profile>
    <Address>sample string 5</Address>
    <AreaPIN>sample string 6</AreaPIN>
    <City>sample string 8</City>
    <CompanyName>sample string 10</CompanyName>
    <Country>sample string 9</Country>
    <EmailID>sample string 7</EmailID>
    <FullName>sample string 2</FullName>
    <GSTNo>sample string 11</GSTNo>
    <MobileNo>sample string 4</MobileNo>
    <ProfileImgPath>sample string 3</ProfileImgPath>
    <State>1</State>
    <UserID>sample string 1</UserID>
  </profile>
  <progress>
    <Progress>
      <CompletedVideos>3</CompletedVideos>
      <ProgressPercentage>5.1</ProgressPercentage>
      <RemaoningVideos>4</RemaoningVideos>
      <SubjectName>sample string 1</SubjectName>
      <TotalVideos>2</TotalVideos>
    </Progress>
    <Progress>
      <CompletedVideos>3</CompletedVideos>
      <ProgressPercentage>5.1</ProgressPercentage>
      <RemaoningVideos>4</RemaoningVideos>
      <SubjectName>sample string 1</SubjectName>
      <TotalVideos>2</TotalVideos>
    </Progress>
  </progress>
</clsUserProfile>