GET api/pod/sso/QueryUser?NationalCode={NationalCode}&CellPhoneNumber={CellPhoneNumber}&SsoId={SsoId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
NationalCode

string

None.

CellPhoneNumber

string

Matching regular expression pattern: ^09\d{9}$

SsoId

integer

None.

Body Parameters

None.

Response Information

Resource Description

UserQueryViewModel
NameDescriptionTypeAdditional information
IsExistingUser

boolean

None.

Data

Collection of UserInfo

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsExistingUser": true,
  "Data": [
    {
      "UserId": 1,
      "NationalCode": "sample string 2",
      "CellPhoneNumber": "sample string 3"
    },
    {
      "UserId": 1,
      "NationalCode": "sample string 2",
      "CellPhoneNumber": "sample string 3"
    }
  ],
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<UserQueryViewModel 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>
    <UserInfo>
      <CellPhoneNumber>sample string 3</CellPhoneNumber>
      <NationalCode>sample string 2</NationalCode>
      <UserId>1</UserId>
    </UserInfo>
    <UserInfo>
      <CellPhoneNumber>sample string 3</CellPhoneNumber>
      <NationalCode>sample string 2</NationalCode>
      <UserId>1</UserId>
    </UserInfo>
  </Data>
</UserQueryViewModel>