POST api/MRide/SendReferralCode
Request Information
URI Parameters
None.
Body Parameters
SendReferralCodeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| UserType | integer |
None. |
|
| UserId | integer |
None. |
|
| CountryCode | string |
None. |
|
| PhoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserType": 1,
"UserId": 2,
"CountryCode": "sample string 3",
"PhoneNumber": "sample string 4"
}
application/xml, text/xml
Sample:
<SendReferralCodeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API"> <CountryCode>sample string 3</CountryCode> <PhoneNumber>sample string 4</PhoneNumber> <UserId>2</UserId> <UserType>1</UserType> </SendReferralCodeInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IAsyncResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCompleted | boolean |
None. |
|
| AsyncWaitHandle | WaitHandle |
None. |
|
| AsyncState | Object |
None. |
|
| CompletedSynchronously | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.