POST api/Profile

Request Information

URI Parameters

None.

Body Parameters

ProfileModel
NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

Name

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

integer

None.

Image

string

None.

Gender

string

None.

IsOAuth

integer

None.

CustomerId

string

None.

RoleId

integer

None.

CreatedDate

string

None.

MerchantId

integer

None.

MerchantId2

integer

None.

DateOfBirth

string

None.

Postcode

string

None.

EmailPref

integer

None.

SMSPref

integer

None.

Merchants

Collection of UserMerchantList

None.

Cards

Collection of online_getUserCard_Result

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Email": "sample string 2",
  "Name": "sample string 3",
  "PhoneNumber": "sample string 4",
  "PhoneNumberConfirmed": 1,
  "Image": "sample string 5",
  "Gender": "sample string 6",
  "IsOAuth": 1,
  "CustomerId": "sample string 7",
  "RoleId": 1,
  "CreatedDate": "sample string 8",
  "MerchantId": 1,
  "MerchantId2": 1,
  "DateOfBirth": "sample string 9",
  "Postcode": "sample string 10",
  "EmailPref": 1,
  "SMSPref": 1,
  "Merchants": [
    {
      "MerchantId": 1,
      "MerchantName": "sample string 2",
      "Postcode": "sample string 3"
    },
    {
      "MerchantId": 1,
      "MerchantName": "sample string 2",
      "Postcode": "sample string 3"
    }
  ],
  "Cards": [
    {
      "CustomerId": "sample string 1",
      "Last4": "sample string 2",
      "ID": 3
    },
    {
      "CustomerId": "sample string 1",
      "Last4": "sample string 2",
      "ID": 3
    }
  ]
}

application/xml, text/xml

Sample:
<ProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Cards>
    <online_getUserCard_Result>
      <CustomerId>sample string 1</CustomerId>
      <ID>3</ID>
      <Last4>sample string 2</Last4>
    </online_getUserCard_Result>
    <online_getUserCard_Result>
      <CustomerId>sample string 1</CustomerId>
      <ID>3</ID>
      <Last4>sample string 2</Last4>
    </online_getUserCard_Result>
  </Cards>
  <CreatedDate>sample string 8</CreatedDate>
  <CustomerId>sample string 7</CustomerId>
  <DateOfBirth>sample string 9</DateOfBirth>
  <Email>sample string 2</Email>
  <EmailPref>1</EmailPref>
  <Gender>sample string 6</Gender>
  <Id>sample string 1</Id>
  <Image>sample string 5</Image>
  <IsOAuth>1</IsOAuth>
  <MerchantId>1</MerchantId>
  <MerchantId2>1</MerchantId2>
  <Merchants>
    <UserMerchantList>
      <MerchantId>1</MerchantId>
      <MerchantName>sample string 2</MerchantName>
      <Postcode>sample string 3</Postcode>
    </UserMerchantList>
    <UserMerchantList>
      <MerchantId>1</MerchantId>
      <MerchantName>sample string 2</MerchantName>
      <Postcode>sample string 3</Postcode>
    </UserMerchantList>
  </Merchants>
  <Name>sample string 3</Name>
  <PhoneNumber>sample string 4</PhoneNumber>
  <PhoneNumberConfirmed>1</PhoneNumberConfirmed>
  <Postcode>sample string 10</Postcode>
  <RoleId>1</RoleId>
  <SMSPref>1</SMSPref>
</ProfileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.