POST api/MobileApp/GetAutoRefillAmounts

Request Information

URI Parameters

None.

Body Parameters

AutoRefillAmountListRequest
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

Pin

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:
{
  "PhoneNumber": "sample string 1",
  "Pin": "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:
<AutoRefillAmountListRequest 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>
  <PhoneNumber>sample string 1</PhoneNumber>
  <Pin>sample string 2</Pin>
</AutoRefillAmountListRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AutoRefillAmountListResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

SuggestedAmount

decimal number

None.

CreditCardId

integer

None.

Amounts

Collection of decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "SuggestedAmount": 3.0,
  "CreditCardId": 4,
  "Amounts": [
    1.0,
    2.0
  ]
}

application/xml, text/xml

Sample:
<AutoRefillAmountListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <Amounts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>2</d2p1:decimal>
  </Amounts>
  <CreditCardId>4</CreditCardId>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <SuggestedAmount>3</SuggestedAmount>
</AutoRefillAmountListResponse>