POST api/MobileApp/GetRewardSignUpStatus/{phoneNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phoneNumber | string |
Required |
Body Parameters
BaseMobileAppDataModelName | Description | Type | Additional information |
---|---|---|---|
DeviceId | string |
None. |
|
DeviceType | string |
None. |
|
DeviceName | string |
None. |
|
DeviceModel | string |
None. |
|
AppVersion | string |
None. |
|
AppType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DeviceId": "sample string 1", "DeviceType": "sample string 2", "DeviceName": "sample string 3", "DeviceModel": "sample string 4", "AppVersion": "sample string 5", "AppType": "sample string 6" }
application/xml, text/xml
Sample:
<BaseMobileAppDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <AppType>sample string 6</AppType> <AppVersion>sample string 5</AppVersion> <DeviceId>sample string 1</DeviceId> <DeviceModel>sample string 4</DeviceModel> <DeviceName>sample string 3</DeviceName> <DeviceType>sample string 2</DeviceType> </BaseMobileAppDataModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RewardStatusResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | string |
None. |
|
ResponseMessage | string |
None. |
|
RewardSummary | SummaryPoints |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": "sample string 1", "ResponseMessage": "sample string 2", "RewardSummary": { "SignUpPoints": 1, "PurchasePoints": 2, "RefereFriendPoints": 3, "RedeemedPoints": 4 } }
application/xml, text/xml
Sample:
<RewardStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <ResponseCode>sample string 1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> <RewardSummary> <PurchasePoints>2</PurchasePoints> <RedeemedPoints>4</RedeemedPoints> <RefereFriendPoints>3</RefereFriendPoints> <SignUpPoints>1</SignUpPoints> </RewardSummary> </RewardStatusResponse>