POST api/MobileAppPhase1/CustomerEligibility_V1/{locationCountry}/{phoneNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationCountry

string

Required

phoneNumber

string

Required

Body Parameters

CustomerEligibilityRequest
NameDescriptionTypeAdditional information
IsVPN

string

None.

NetworkName

string

None.

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:
{
  "IsVPN": "sample string 1",
  "NetworkName": "sample string 2",
  "DeviceId": "sample string 3",
  "DeviceType": "sample string 4",
  "DeviceName": "sample string 5",
  "DeviceModel": "sample string 6",
  "AppVersion": "sample string 7",
  "AppType": "sample string 8"
}

application/xml, text/xml

Sample:
<CustomerEligibilityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AppType>sample string 8</AppType>
  <AppVersion>sample string 7</AppVersion>
  <DeviceId>sample string 3</DeviceId>
  <DeviceModel>sample string 6</DeviceModel>
  <DeviceName>sample string 5</DeviceName>
  <DeviceType>sample string 4</DeviceType>
  <IsVPN>sample string 1</IsVPN>
  <NetworkName>sample string 2</NetworkName>
</CustomerEligibilityRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerEligibleResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

VerificationCodeSent

boolean

None.

VerificationCode

string

None.

CountryCode

string

None.

EmailAddress

string

None.

NextStep

string

None.

AccessToken

string

None.

VerificationMethod

MobileAppVerficationMethod

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "VerificationCodeSent": true,
  "VerificationCode": "sample string 4",
  "CountryCode": "sample string 5",
  "EmailAddress": "sample string 6",
  "NextStep": "sample string 7",
  "AccessToken": "sample string 8",
  "VerificationMethod": 0
}

application/xml, text/xml

Sample:
<CustomerEligibleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AccessToken>sample string 8</AccessToken>
  <CountryCode>sample string 5</CountryCode>
  <EmailAddress>sample string 6</EmailAddress>
  <NextStep>sample string 7</NextStep>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <VerificationCode>sample string 4</VerificationCode>
  <VerificationCodeSent>true</VerificationCodeSent>
  <VerificationMethod>SMS</VerificationMethod>
</CustomerEligibleResponse>