POST api/MobileApp/AddAutoRefill

Request Information

URI Parameters

None.

Body Parameters

AutorefillSetUpRequestModel
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

Pin

string

None.

CreditCardId

integer

None.

Amount

decimal number

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",
  "CreditCardId": 3,
  "Amount": 4.1,
  "DeviceId": "sample string 5",
  "DeviceType": "sample string 6",
  "DeviceName": "sample string 7",
  "DeviceModel": "sample string 8",
  "AppVersion": "sample string 9",
  "AppType": "sample string 10"
}

application/xml, text/xml

Sample:
<AutorefillSetUpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AppType>sample string 10</AppType>
  <AppVersion>sample string 9</AppVersion>
  <DeviceId>sample string 5</DeviceId>
  <DeviceModel>sample string 8</DeviceModel>
  <DeviceName>sample string 7</DeviceName>
  <DeviceType>sample string 6</DeviceType>
  <Amount>4.1</Amount>
  <CreditCardId>3</CreditCardId>
  <PhoneNumber>sample string 1</PhoneNumber>
  <Pin>sample string 2</Pin>
</AutorefillSetUpRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AutoRefillStatusResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

AutorefillStatus

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "AutorefillStatus": "sample string 3"
}

application/xml, text/xml

Sample:
<AutoRefillStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AutorefillStatus>sample string 3</AutorefillStatus>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
</AutoRefillStatusResponse>