GET Account/UserInfo?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

UserInfoViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

HasRegistered

boolean

None.

LoginProvider

string

None.

AvatarUrl

string

None.

FirstName

string

None.

LastName

string

None.

MiddleName

string

None.

Company

string

None.

PersonTypeId

integer

None.

WorkAddress

string

None.

Inn

string

None.

Kpp

string

None.

OGRNIP

string

None.

Rs

string

None.

Ks

string

None.

Bank

string

None.

Bik

string

None.

PhoneNumber

string

None.

CompanyLegalAddress

string

None.

Login

string

None.

EmailConfirmed

boolean

None.

Addresses

Collection of AddressView

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Email": "sample string 2",
  "HasRegistered": true,
  "LoginProvider": "sample string 4",
  "AvatarUrl": "sample string 5",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "MiddleName": "sample string 8",
  "Company": "sample string 9",
  "PersonTypeId": 10,
  "WorkAddress": "sample string 11",
  "Inn": "sample string 12",
  "Kpp": "sample string 13",
  "OGRNIP": "sample string 14",
  "Rs": "sample string 15",
  "Ks": "sample string 16",
  "Bank": "sample string 17",
  "Bik": "sample string 18",
  "PhoneNumber": "sample string 19",
  "CompanyLegalAddress": "sample string 20",
  "Login": "sample string 21",
  "EmailConfirmed": true,
  "Addresses": [
    {
      "AddressId": 1,
      "Value": "sample string 2"
    },
    {
      "AddressId": 1,
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<UserInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.View">
  <Addresses>
    <AddressView>
      <AddressId>1</AddressId>
      <Value>sample string 2</Value>
    </AddressView>
    <AddressView>
      <AddressId>1</AddressId>
      <Value>sample string 2</Value>
    </AddressView>
  </Addresses>
  <AvatarUrl>sample string 5</AvatarUrl>
  <Bank>sample string 17</Bank>
  <Bik>sample string 18</Bik>
  <Company>sample string 9</Company>
  <CompanyLegalAddress>sample string 20</CompanyLegalAddress>
  <Email>sample string 2</Email>
  <EmailConfirmed>true</EmailConfirmed>
  <FirstName>sample string 6</FirstName>
  <HasRegistered>true</HasRegistered>
  <Id>sample string 1</Id>
  <Inn>sample string 12</Inn>
  <Kpp>sample string 13</Kpp>
  <Ks>sample string 16</Ks>
  <LastName>sample string 7</LastName>
  <Login>sample string 21</Login>
  <LoginProvider>sample string 4</LoginProvider>
  <MiddleName>sample string 8</MiddleName>
  <OGRNIP>sample string 14</OGRNIP>
  <PersonTypeId>10</PersonTypeId>
  <PhoneNumber>sample string 19</PhoneNumber>
  <Rs>sample string 15</Rs>
  <WorkAddress>sample string 11</WorkAddress>
</UserInfoViewModel>