POST API/UserAPI/GetReferalsbyLoginId

Request Information

URI Parameters

None.

Body Parameters

ReferalRequestModel
NameDescriptionTypeAdditional information
Id

integer

None.

LoginId

integer

None.

UserName

string

None.

ReferalName

string

None.

ReferalMobileNo

string

None.

ReferalEmailId

string

None.

CreatedDate

date

None.

UpdateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LoginId": 2,
  "UserName": "sample string 3",
  "ReferalName": "sample string 4",
  "ReferalMobileNo": "sample string 5",
  "ReferalEmailId": "sample string 6",
  "CreatedDate": "2026-03-01T17:31:11.5674868+00:00",
  "UpdateDate": "2026-03-01T17:31:11.5674868+00:00"
}

application/xml, text/xml

Sample:
<ReferalRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WalkandEarnModels">
  <CreatedDate>2026-03-01T17:31:11.5674868+00:00</CreatedDate>
  <Id>1</Id>
  <LoginId>2</LoginId>
  <ReferalEmailId>sample string 6</ReferalEmailId>
  <ReferalMobileNo>sample string 5</ReferalMobileNo>
  <ReferalName>sample string 4</ReferalName>
  <UpdateDate>2026-03-01T17:31:11.5674868+00:00</UpdateDate>
  <UserName>sample string 3</UserName>
</ReferalRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.