GET api/Recharge?aid={aid}&type={type}&versions={versions}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aid

string

Required

type

integer

Default value is 0

versions

string

Default value is 1.0

Body Parameters

None.

Response Information

Resource Description

RechargeInfoDetail
NameDescriptionTypeAdditional information
strList

Collection of string

None.

price

string

None.

aList

Collection of NAttributeType

None.

stockList

Collection of StockAmountInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "strList": [
    "sample string 1",
    "sample string 2"
  ],
  "price": "sample string 1",
  "aList": [
    {
      "PTAID": 1,
      "Name": "sample string 2",
      "ShowType": "sample string 3",
      "VList": [
        {
          "SetID": 1,
          "ValueName": "sample string 2",
          "IsDefault": true,
          "ValueIco": "sample string 4",
          "IsChecked": true
        },
        {
          "SetID": 1,
          "ValueName": "sample string 2",
          "IsDefault": true,
          "ValueIco": "sample string 4",
          "IsChecked": true
        }
      ],
      "IsStockAmount": true
    },
    {
      "PTAID": 1,
      "Name": "sample string 2",
      "ShowType": "sample string 3",
      "VList": [
        {
          "SetID": 1,
          "ValueName": "sample string 2",
          "IsDefault": true,
          "ValueIco": "sample string 4",
          "IsChecked": true
        },
        {
          "SetID": 1,
          "ValueName": "sample string 2",
          "IsDefault": true,
          "ValueIco": "sample string 4",
          "IsChecked": true
        }
      ],
      "IsStockAmount": true
    }
  ],
  "stockList": [
    {
      "objectLayer": "sample string 1",
      "laveAmount": 2,
      "price": "sample string 3",
      "oldPrice": "sample string 4",
      "tuanPrice": "sample string 5",
      "seckillPrice": "sample string 6",
      "objectLayer1": "sample string 7"
    },
    {
      "objectLayer": "sample string 1",
      "laveAmount": 2,
      "price": "sample string 3",
      "oldPrice": "sample string 4",
      "tuanPrice": "sample string 5",
      "seckillPrice": "sample string 6",
      "objectLayer1": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<RechargeInfoDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
  <aList xmlns:d2p1="http://schemas.datacontract.org/2004/07/MVC.Helper">
    <d2p1:NAttributeType>
      <d2p1:PTAID>1</d2p1:PTAID>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ShowType>sample string 3</d2p1:ShowType>
      <d2p1:VList>
        <d2p1:NAttributeValue>
          <d2p1:SetID>1</d2p1:SetID>
          <d2p1:ValueName>sample string 2</d2p1:ValueName>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:ValueIco>sample string 4</d2p1:ValueIco>
          <d2p1:IsChecked>true</d2p1:IsChecked>
        </d2p1:NAttributeValue>
        <d2p1:NAttributeValue>
          <d2p1:SetID>1</d2p1:SetID>
          <d2p1:ValueName>sample string 2</d2p1:ValueName>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:ValueIco>sample string 4</d2p1:ValueIco>
          <d2p1:IsChecked>true</d2p1:IsChecked>
        </d2p1:NAttributeValue>
      </d2p1:VList>
      <d2p1:IsStockAmount>true</d2p1:IsStockAmount>
    </d2p1:NAttributeType>
    <d2p1:NAttributeType>
      <d2p1:PTAID>1</d2p1:PTAID>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ShowType>sample string 3</d2p1:ShowType>
      <d2p1:VList>
        <d2p1:NAttributeValue>
          <d2p1:SetID>1</d2p1:SetID>
          <d2p1:ValueName>sample string 2</d2p1:ValueName>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:ValueIco>sample string 4</d2p1:ValueIco>
          <d2p1:IsChecked>true</d2p1:IsChecked>
        </d2p1:NAttributeValue>
        <d2p1:NAttributeValue>
          <d2p1:SetID>1</d2p1:SetID>
          <d2p1:ValueName>sample string 2</d2p1:ValueName>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:ValueIco>sample string 4</d2p1:ValueIco>
          <d2p1:IsChecked>true</d2p1:IsChecked>
        </d2p1:NAttributeValue>
      </d2p1:VList>
      <d2p1:IsStockAmount>true</d2p1:IsStockAmount>
    </d2p1:NAttributeType>
  </aList>
  <price>sample string 1</price>
  <stockList xmlns:d2p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
    <d2p1:StockAmountInfo>
      <d2p1:laveAmount>2</d2p1:laveAmount>
      <d2p1:objectLayer>sample string 1</d2p1:objectLayer>
      <d2p1:objectLayer1>sample string 7</d2p1:objectLayer1>
      <d2p1:oldPrice>sample string 4</d2p1:oldPrice>
      <d2p1:price>sample string 3</d2p1:price>
      <d2p1:seckillPrice>sample string 6</d2p1:seckillPrice>
      <d2p1:tuanPrice>sample string 5</d2p1:tuanPrice>
    </d2p1:StockAmountInfo>
    <d2p1:StockAmountInfo>
      <d2p1:laveAmount>2</d2p1:laveAmount>
      <d2p1:objectLayer>sample string 1</d2p1:objectLayer>
      <d2p1:objectLayer1>sample string 7</d2p1:objectLayer1>
      <d2p1:oldPrice>sample string 4</d2p1:oldPrice>
      <d2p1:price>sample string 3</d2p1:price>
      <d2p1:seckillPrice>sample string 6</d2p1:seckillPrice>
      <d2p1:tuanPrice>sample string 5</d2p1:tuanPrice>
    </d2p1:StockAmountInfo>
  </stockList>
  <strList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </strList>
</RechargeInfoDetail>