POST api/BalancePackageUserByWallet

Request Information

Requires Authorization!

Parameters

None.

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
vipType

integer

None.

isAutoUp

boolean

None.

durationDisplay

integer

None.

userID

integer

None.

paymentMoneyID

integer

None.

newStartDate

integer

None.

newEndDate

integer

None.

newVipType

integer

None.

autoID

integer

None.

currentStartDate

integer

None.

currentEndDate

integer

None.

currentStatus

integer

None.

currentVipType

integer

None.

StartDates

string

None.

EndDates

string

None.

SecondHand

byte

None.

PromoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "vipType": 1,
  "isAutoUp": true,
  "durationDisplay": 3,
  "userID": 4,
  "paymentMoneyID": 5,
  "newStartDate": 6,
  "newEndDate": 7,
  "newVipType": 8,
  "autoID": 9,
  "currentStartDate": 10,
  "currentEndDate": 11,
  "currentStatus": 12,
  "currentVipType": 13,
  "StartDates": "sample string 14",
  "EndDates": "sample string 15",
  "SecondHand": 64,
  "PromoCode": "sample string 17"
}

application/xml, text/xml

Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models">
  <EndDates>sample string 15</EndDates>
  <PromoCode>sample string 17</PromoCode>
  <SecondHand>64</SecondHand>
  <StartDates>sample string 14</StartDates>
  <autoID>9</autoID>
  <currentEndDate>11</currentEndDate>
  <currentStartDate>10</currentStartDate>
  <currentStatus>12</currentStatus>
  <currentVipType>13</currentVipType>
  <durationDisplay>3</durationDisplay>
  <isAutoUp>true</isAutoUp>
  <newEndDate>7</newEndDate>
  <newStartDate>6</newStartDate>
  <newVipType>8</newVipType>
  <paymentMoneyID>5</paymentMoneyID>
  <userID>4</userID>
  <vipType>1</vipType>
</PaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataReturnObj
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <Status>1</Status>
</DataReturnObj>