POST api/Values/InsertReferFriend

Request Information

URI Parameters

None.

Body Parameters

Referfriend
NameDescriptionTypeAdditional information
Name

string

None.

Email

string

None.

UserID

integer

None.

RefeeralID

integer

None.

PhoneNo

string

None.

Token

string

None.

FileName

string

None.

ProfileDoc

Collection of byte

None.

_FileName

string

None.

_ProfileDoc

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "_FileName": "sample string 1",
  "_ProfileDoc": "QEA=",
  "Name": "sample string 1",
  "Email": "sample string 2",
  "UserID": 3,
  "RefeeralID": 4,
  "PhoneNo": "sample string 5",
  "Token": "sample string 6",
  "FileName": "sample string 1",
  "ProfileDoc": "QEA="
}

text/html

Sample:
{"_FileName":"sample string 1","_ProfileDoc":"QEA=","Name":"sample string 1","Email":"sample string 2","UserID":3,"RefeeralID":4,"PhoneNo":"sample string 5","Token":"sample string 6","FileName":"sample string 1","ProfileDoc":"QEA="}

application/xml, text/xml

Sample:
<ValuesController.Referfriend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Email>sample string 2</Email>
  <FileName>sample string 1</FileName>
  <Name>sample string 1</Name>
  <PhoneNo>sample string 5</PhoneNo>
  <ProfileDoc>QEA=</ProfileDoc>
  <RefeeralID>4</RefeeralID>
  <Token>sample string 6</Token>
  <UserID>3</UserID>
  <_FileName>sample string 1</_FileName>
  <_ProfileDoc>QEA=</_ProfileDoc>
</ValuesController.Referfriend>

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

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>