POST api/Account/GetUserAccountBalance

Request Information

URI Parameters

None.

Body Parameters

AddFundsInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

DepositAmount

string

None.

CCNameOnCard

string

None.

CCType

string

None.

CCNumber

string

None.

CCExpiryMonth

string

None.

CCExpiryYear

string

None.

BillingAddress

string

None.

BillingCity

string

None.

BillingStateProv

string

None.

BillingZIP

string

None.

BillingCountry

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

DepositState

string

None.

CCCVV

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "DepositAmount": "sample string 2",
  "CCNameOnCard": "sample string 3",
  "CCType": "sample string 4",
  "CCNumber": "sample string 5",
  "CCExpiryMonth": "sample string 6",
  "CCExpiryYear": "sample string 7",
  "BillingAddress": "sample string 8",
  "BillingCity": "sample string 9",
  "BillingStateProv": "sample string 10",
  "BillingZIP": "sample string 11",
  "BillingCountry": "sample string 12",
  "Longitude": 13.1,
  "Latitude": 14.1,
  "DepositState": "sample string 15",
  "CCCVV": "sample string 16"
}

text/html

Sample:
{"SessionID":"sample string 1","DepositAmount":"sample string 2","CCNameOnCard":"sample string 3","CCType":"sample string 4","CCNumber":"sample string 5","CCExpiryMonth":"sample string 6","CCExpiryYear":"sample string 7","BillingAddress":"sample string 8","BillingCity":"sample string 9","BillingStateProv":"sample string 10","BillingZIP":"sample string 11","BillingCountry":"sample string 12","Longitude":13.1,"Latitude":14.1,"DepositState":"sample string 15","CCCVV":"sample string 16"}

application/xml, text/xml

Sample:
<AddFundsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <BillingAddress>sample string 8</BillingAddress>
  <BillingCity>sample string 9</BillingCity>
  <BillingCountry>sample string 12</BillingCountry>
  <BillingStateProv>sample string 10</BillingStateProv>
  <BillingZIP>sample string 11</BillingZIP>
  <CCCVV>sample string 16</CCCVV>
  <CCExpiryMonth>sample string 6</CCExpiryMonth>
  <CCExpiryYear>sample string 7</CCExpiryYear>
  <CCNameOnCard>sample string 3</CCNameOnCard>
  <CCNumber>sample string 5</CCNumber>
  <CCType>sample string 4</CCType>
  <DepositAmount>sample string 2</DepositAmount>
  <DepositState>sample string 15</DepositState>
  <Latitude>14.1</Latitude>
  <Longitude>13.1</Longitude>
  <SessionID>sample string 1</SessionID>
</AddFundsInputModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddFundsInputModel'.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>