PUT api/Buyer

Request Information

URI Parameters

None.

Body Parameters

BuyerModel
NameDescriptionTypeAdditional information
Id

integer

None.

AccessToken

string

None.

InstallDate

date

None.

FacebookId

string

None.

FacebookUserName

string

None.

LastName

string

None.

FirstName

string

None.

Email

string

None.

Locale

string

None.

Gender

string

None.

ProfileImage

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AccessToken": "sample string 2",
  "InstallDate": "2024-12-21T15:34:51.1094565+00:00",
  "FacebookId": "sample string 4",
  "FacebookUserName": "sample string 5",
  "LastName": "sample string 6",
  "FirstName": "sample string 7",
  "Email": "sample string 8",
  "Locale": "sample string 9",
  "Gender": "sample string 10",
  "ProfileImage": "sample string 11",
  "Phone": "sample string 12"
}

text/html

Sample:
{"Id":1,"AccessToken":"sample string 2","InstallDate":"2024-12-21T15:34:51.1094565+00:00","FacebookId":"sample string 4","FacebookUserName":"sample string 5","LastName":"sample string 6","FirstName":"sample string 7","Email":"sample string 8","Locale":"sample string 9","Gender":"sample string 10","ProfileImage":"sample string 11","Phone":"sample string 12"}

application/xml, text/xml

Sample:
<BuyerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AccessToken>sample string 2</AccessToken>
  <Email>sample string 8</Email>
  <FacebookId>sample string 4</FacebookId>
  <FacebookUserName>sample string 5</FacebookUserName>
  <FirstName>sample string 7</FirstName>
  <Gender>sample string 10</Gender>
  <Id>1</Id>
  <InstallDate>2024-12-21T15:34:51.1094565+00:00</InstallDate>
  <LastName>sample string 6</LastName>
  <Locale>sample string 9</Locale>
  <Phone>sample string 12</Phone>
  <ProfileImage>sample string 11</ProfileImage>
</BuyerModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BuyerModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.