GET api/pod/sso/GetUserProfile?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

None.

Response Information

Resource Description

UserProfileViewModel
NameDescriptionTypeAdditional information
Data

CustomerProfileSrv

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Version": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Name": "sample string 4",
    "Email": "sample string 5",
    "Email_Unverified": "sample string 6",
    "PhoneNumber": "sample string 7",
    "NationalCode": "sample string 8",
    "Gender": "sample string 9",
    "AddressSrv": {
      "Default": true,
      "SimpleAddress": "sample string 2",
      "FaxNumber": "sample string 3",
      "City": "sample string 4",
      "Number": 5.1,
      "Longitude": 6.1,
      "State": "sample string 7",
      "Address": "sample string 8",
      "Country": "sample string 9",
      "PhoneNumber": "sample string 10",
      "Postalcode": "sample string 11",
      "Id": 12
    },
    "NickName": "sample string 10",
    "BirthDate": 11,
    "Score": 12,
    "FollowingCount": 13,
    "ImageInfo": {
      "Id": 1,
      "Name": "sample string 2",
      "HashCode": "sample string 3",
      "Description": "sample string 4",
      "ActualWidth": 5,
      "ActualHeight": 6,
      "Width": 7,
      "Height": 8
    },
    "ProfileImage": "sample string 14",
    "JoinDate": 15,
    "CellphoneNumber": "sample string 16",
    "CellphoneNumber_Unverified": "sample string 17",
    "UserId": 18,
    "Sheba": "sample string 19",
    "Guest": true,
    "ChatSendEnable": true,
    "ChatReceiveEnable": true,
    "Username": "sample string 23",
    "SsoId": "sample string 24",
    "SsoIssuerCode": 25,
    "Client_Metadata": "sample string 26",
    "IsFollower": true,
    "LegalInfo": {
      "FatherName": "sample string 1",
      "IdentificationNumber": "sample string 2",
      "BirthState": "sample string 3"
    }
  },
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<UserProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/POD_UserOperation.Model.ServiceOutput">
    <d2p1:AddressSrv xmlns:d3p1="http://schemas.datacontract.org/2004/07/POD_Base_Service.Model.ServiceOutput">
      <d3p1:Address>sample string 8</d3p1:Address>
      <d3p1:City>sample string 4</d3p1:City>
      <d3p1:Country>sample string 9</d3p1:Country>
      <d3p1:Default>true</d3p1:Default>
      <d3p1:FaxNumber>sample string 3</d3p1:FaxNumber>
      <d3p1:Id>12</d3p1:Id>
      <d3p1:Longitude>6.1</d3p1:Longitude>
      <d3p1:Number>5.1</d3p1:Number>
      <d3p1:PhoneNumber>sample string 10</d3p1:PhoneNumber>
      <d3p1:Postalcode>sample string 11</d3p1:Postalcode>
      <d3p1:SimpleAddress>sample string 2</d3p1:SimpleAddress>
      <d3p1:State>sample string 7</d3p1:State>
    </d2p1:AddressSrv>
    <d2p1:BirthDate>11</d2p1:BirthDate>
    <d2p1:CellphoneNumber>sample string 16</d2p1:CellphoneNumber>
    <d2p1:CellphoneNumber_Unverified>sample string 17</d2p1:CellphoneNumber_Unverified>
    <d2p1:ChatReceiveEnable>true</d2p1:ChatReceiveEnable>
    <d2p1:ChatSendEnable>true</d2p1:ChatSendEnable>
    <d2p1:Client_Metadata>sample string 26</d2p1:Client_Metadata>
    <d2p1:Email>sample string 5</d2p1:Email>
    <d2p1:Email_Unverified>sample string 6</d2p1:Email_Unverified>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:FollowingCount>13</d2p1:FollowingCount>
    <d2p1:Gender>sample string 9</d2p1:Gender>
    <d2p1:Guest>true</d2p1:Guest>
    <d2p1:ImageInfo>
      <d2p1:ActualHeight>6</d2p1:ActualHeight>
      <d2p1:ActualWidth>5</d2p1:ActualWidth>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:HashCode>sample string 3</d2p1:HashCode>
      <d2p1:Height>8</d2p1:Height>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Width>7</d2p1:Width>
    </d2p1:ImageInfo>
    <d2p1:IsFollower>true</d2p1:IsFollower>
    <d2p1:JoinDate>15</d2p1:JoinDate>
    <d2p1:LastName>sample string 3</d2p1:LastName>
    <d2p1:LegalInfo>
      <d2p1:BirthState>sample string 3</d2p1:BirthState>
      <d2p1:FatherName>sample string 1</d2p1:FatherName>
      <d2p1:IdentificationNumber>sample string 2</d2p1:IdentificationNumber>
    </d2p1:LegalInfo>
    <d2p1:Name>sample string 4</d2p1:Name>
    <d2p1:NationalCode>sample string 8</d2p1:NationalCode>
    <d2p1:NickName>sample string 10</d2p1:NickName>
    <d2p1:PhoneNumber>sample string 7</d2p1:PhoneNumber>
    <d2p1:ProfileImage>sample string 14</d2p1:ProfileImage>
    <d2p1:Score>12</d2p1:Score>
    <d2p1:Sheba>sample string 19</d2p1:Sheba>
    <d2p1:SsoId>sample string 24</d2p1:SsoId>
    <d2p1:SsoIssuerCode>25</d2p1:SsoIssuerCode>
    <d2p1:UserId>18</d2p1:UserId>
    <d2p1:Username>sample string 23</d2p1:Username>
    <d2p1:Version>1</d2p1:Version>
  </Data>
</UserProfileViewModel>