POST api/Referral/UpdateReferralAccount

Request Information

URI Parameters

None.

Body Parameters

BKReferrals
NameDescriptionTypeAdditional information
ID

integer

None.

Rank

integer

None.

Created

date

None.

Firstname

string

None.

Lastname

string

None.

Email

string

None.

Code

string

None.

Source

string

None.

Referrer

string

None.

Referreremail

string

None.

Count

integer

None.

Signup

integer

None.

Topup

integer

None.

MobileCountryId

integer

None.

Mobile

string

None.

Passcode

string

None.

PhoneCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Rank": 1,
  "Created": "2024-10-15T08:18:28.1922692+00:00",
  "Firstname": "sample string 2",
  "Lastname": "sample string 3",
  "Email": "sample string 4",
  "Code": "sample string 5",
  "Source": "sample string 6",
  "Referrer": "sample string 7",
  "Referreremail": "sample string 8",
  "Count": 1,
  "Signup": 1,
  "Topup": 1,
  "MobileCountryId": 9,
  "Mobile": "sample string 10",
  "Passcode": "sample string 11",
  "PhoneCode": "sample string 12"
}

application/xml, text/xml

Sample:
<BKReferrals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Code>sample string 5</Code>
  <Count>1</Count>
  <Created>2024-10-15T08:18:28.1922692+00:00</Created>
  <Email>sample string 4</Email>
  <Firstname>sample string 2</Firstname>
  <ID>1</ID>
  <Lastname>sample string 3</Lastname>
  <Mobile>sample string 10</Mobile>
  <MobileCountryId>9</MobileCountryId>
  <Passcode>sample string 11</Passcode>
  <PhoneCode>sample string 12</PhoneCode>
  <Rank>1</Rank>
  <Referrer>sample string 7</Referrer>
  <Referreremail>sample string 8</Referreremail>
  <Signup>1</Signup>
  <Source>sample string 6</Source>
  <Topup>1</Topup>
</BKReferrals>

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 'BKReferrals'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>