POST api/Referral/refer
Request Information
URI Parameters
None.
Body Parameters
ReferfriendsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Referrals | Collection of RefCompReferrals |
None. |
|
| RefUserId | globally unique identifier |
None. |
|
| Brand | string |
None. |
|
| IsLiveMode | boolean |
None. |
|
| IsAdmin | boolean |
None. |
|
| Referrer | ReferralCampaign |
None. |
Request Formats
application/json, text/json
Sample:
{
"Referrals": [
{
"Name": "sample string 1",
"Number": "sample string 2"
},
{
"Name": "sample string 1",
"Number": "sample string 2"
}
],
"RefUserId": "f313c0fa-d218-4ac2-a71f-7ec158bbc5eb",
"Brand": "sample string 2",
"IsLiveMode": true,
"IsAdmin": true,
"Referrer": {
"Email": "sample string 1",
"Name": "sample string 2",
"Password": "sample string 3",
"ContactNumber": "sample string 4",
"IdNumber": "sample string 5",
"TicketAmountLeft": "sample string 6",
"ShowOtp": true,
"Msg": "sample string 8",
"Resend": true,
"Otp": "sample string 10",
"SubmitOtp": true,
"Communication": true,
"User": {
"Id": 1,
"UserID": "aba7f569-841e-4708-931b-3ce92b4aec54",
"Creeated": "2026-08-10T11:16:13.207301+02:00",
"Name": "sample string 4",
"Number": "sample string 5",
"Email": "sample string 6",
"vdn": "sample string 7",
"TaxNumber": "sample string 8",
"IdNumber": "sample string 9",
"HasQualifiedCount": 10,
"ContactID": "sample string 11",
"Password": "sample string 12",
"OTPExpiryDate": "2026-08-10T11:16:13.207301+02:00",
"Competition": "sample string 14",
"RefCampaignReferral": [
{
"Id": 1,
"UserID": "c86c9468-ad39-455a-87b7-3973075342be",
"Creeated": "2026-08-10T11:16:13.207301+02:00",
"Name": "sample string 4",
"Number": "sample string 5",
"Email": "sample string 6",
"vdn": "sample string 7",
"ContactID": "sample string 8",
"HasQuoted": true,
"PaymentsCount": 10,
"Competition": "sample string 11",
"errorCode": 12
},
{
"Id": 1,
"UserID": "c86c9468-ad39-455a-87b7-3973075342be",
"Creeated": "2026-08-10T11:16:13.207301+02:00",
"Name": "sample string 4",
"Number": "sample string 5",
"Email": "sample string 6",
"vdn": "sample string 7",
"ContactID": "sample string 8",
"HasQuoted": true,
"PaymentsCount": 10,
"Competition": "sample string 11",
"errorCode": 12
}
],
"RefCampaignTicket": [
{
"Id": 1,
"SeqNo": "sample string 2",
"CardNo": "sample string 3",
"CVV": "sample string 4",
"IsUsed": true
},
{
"Id": 1,
"SeqNo": "sample string 2",
"CardNo": "sample string 3",
"CVV": "sample string 4",
"IsUsed": true
}
]
},
"EntryCount": 13,
"Entries": 14,
"Referrals": 15,
"PaymentsCount": 16,
"HasQuoted": 17,
"HasQualifiedCount": 18,
"LinkedNumber": "sample string 19",
"LinkedId": 20
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.