GET api/User/GetUserProfile

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

nR_UserProfile
NameDescriptionTypeAdditional information
UserProfileStatus

UserSellerStatus

None.

SellerProfileStatus

UserSellerStatus

None.

SellerVerificationStatus

UserSellerStatus

None.

Address

W_CustomerAddress

Required

FirstName

string

Required

String length: inclusive between 2 and 45

LastName

string

Required

String length: inclusive between 2 and 60

DateOfBirth

date

Required

Data type: Date

Gender

Gender

Required

PrimaryPhone

string

Required

AddressID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

Response Formats

application/json, text/json

Sample:
{
  "userProfileStatus": "NONE",
  "sellerProfileStatus": "NONE",
  "sellerVerificationStatus": "NONE",
  "address": {
    "addressNickName": "sample string 1",
    "addressStreetAddress1": "sample string 2",
    "addressStreetAddress2": "sample string 3",
    "addressCity": "sample string 4",
    "addressState": "sample string 5",
    "addressZipCode": "sample string 6",
    "addressCountry": "sample string 7"
  },
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "dateOfBirth": "2020-07-11T08:05:34.3876913-07:00",
  "gender": "MALE",
  "primaryPhone": "sample string 3",
  "addressID": 4
}

application/xml, text/xml

Sample:
<nR_UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <AddressID>4</AddressID>
  <DateOfBirth>2020-07-11T08:05:34.3876913-07:00</DateOfBirth>
  <Gender>MALE</Gender>
  <PrimaryPhone>sample string 3</PrimaryPhone>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <Address>
    <AddressCity>sample string 4</AddressCity>
    <AddressCountry>sample string 7</AddressCountry>
    <AddressState>sample string 5</AddressState>
    <AddressStreetAddress1>sample string 2</AddressStreetAddress1>
    <AddressStreetAddress2>sample string 3</AddressStreetAddress2>
    <AddressZipCode>sample string 6</AddressZipCode>
    <AddressNickName>sample string 1</AddressNickName>
  </Address>
  <SellerProfileStatus>NONE</SellerProfileStatus>
  <SellerVerificationStatus>NONE</SellerVerificationStatus>
  <UserProfileStatus>NONE</UserProfileStatus>
</nR_UserProfile>

multipart/form-data

Sample:
<nR_UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><AddressID>4</AddressID><DateOfBirth>2020-07-11T08:05:34.3876913-07:00</DateOfBirth><Gender>MALE</Gender><PrimaryPhone>sample string 3</PrimaryPhone><FirstName>sample string 1</FirstName><LastName>sample string 2</LastName><Address><AddressCity>sample string 4</AddressCity><AddressCountry>sample string 7</AddressCountry><AddressState>sample string 5</AddressState><AddressStreetAddress1>sample string 2</AddressStreetAddress1><AddressStreetAddress2>sample string 3</AddressStreetAddress2><AddressZipCode>sample string 6</AddressZipCode><AddressNickName>sample string 1</AddressNickName></Address><SellerProfileStatus>NONE</SellerProfileStatus><SellerVerificationStatus>NONE</SellerVerificationStatus><UserProfileStatus>NONE</UserProfileStatus></nR_UserProfile>