POST aep/app_getDataBundle_SBO/v1

Request Information

URI Parameters

None.

Body Parameters

GetBundleRequest
NameDescriptionTypeAdditional information
accessToken

string

None.

language

string

None.

country

string

None.

cooperationMode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "accessToken": "sample string 1",
  "language": "sample string 2",
  "country": "sample string 3",
  "cooperationMode": 4
}

text/html

Sample:
{"accessToken":"sample string 1","language":"sample string 2","country":"sample string 3","cooperationMode":4}

application/xml, text/xml

Sample:
<GetBundleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <accessToken>sample string 1</accessToken>
  <cooperationMode>4</cooperationMode>
  <country>sample string 3</country>
  <language>sample string 2</language>
</GetBundleRequest>

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 'GetBundleRequest'.

Response Information

Resource Description

GetBundleResponse
NameDescriptionTypeAdditional information
code

string

None.

description

string

None.

dataBundles

Collection of DataBundle

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "description": "sample string 2",
  "dataBundles": [
    {
      "id": "sample string 1",
      "name": [
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        },
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        }
      ],
      "desc": [
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        },
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        }
      ],
      "cardPools": {
        "C191126165347_943712": [
          {
            "mcc": "sample string 1"
          },
          {
            "mcc": "sample string 1"
          }
        ]
      },
      "status": 2,
      "type": 3,
      "periodType": 4,
      "period": 5,
      "imgurl": "sample string 6",
      "priceInfo": [
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        },
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        }
      ],
      "refuelingPackage": [
        {
          "refuelingID": "sample string 1",
          "nameCN": "sample string 2",
          "flowValue": "sample string 3",
          "flowUnit": 4,
          "hkd": "sample string 5",
          "usd": "sample string 6",
          "cny": "sample string 7",
          "createTime": "sample string 8",
          "isOrderingAllowed": "sample string 9"
        },
        {
          "refuelingID": "sample string 1",
          "nameCN": "sample string 2",
          "flowValue": "sample string 3",
          "flowUnit": 4,
          "hkd": "sample string 5",
          "usd": "sample string 6",
          "cny": "sample string 7",
          "createTime": "sample string 8",
          "isOrderingAllowed": "sample string 9"
        }
      ],
      "createTime": "sample string 7",
      "expireTime": "sample string 8",
      "lastModifyTime": "sample string 9",
      "originalPriceInfo": [
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        },
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        }
      ],
      "activationMode": "sample string 10",
      "ext": {
        "isPromotionalPackage": "sample string 1",
        "deductionModel": "sample string 2",
        "deductionUrl": "sample string 3",
        "cooperationMode": "sample string 4"
      }
    },
    {
      "id": "sample string 1",
      "name": [
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        },
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        }
      ],
      "desc": [
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        },
        {
          "langInfo": {
            "language": "sample string 1",
            "country": "sample string 2"
          },
          "value": "sample string 1"
        }
      ],
      "cardPools": {
        "C191126165347_943712": [
          {
            "mcc": "sample string 1"
          },
          {
            "mcc": "sample string 1"
          }
        ]
      },
      "status": 2,
      "type": 3,
      "periodType": 4,
      "period": 5,
      "imgurl": "sample string 6",
      "priceInfo": [
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        },
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        }
      ],
      "refuelingPackage": [
        {
          "refuelingID": "sample string 1",
          "nameCN": "sample string 2",
          "flowValue": "sample string 3",
          "flowUnit": 4,
          "hkd": "sample string 5",
          "usd": "sample string 6",
          "cny": "sample string 7",
          "createTime": "sample string 8",
          "isOrderingAllowed": "sample string 9"
        },
        {
          "refuelingID": "sample string 1",
          "nameCN": "sample string 2",
          "flowValue": "sample string 3",
          "flowUnit": 4,
          "hkd": "sample string 5",
          "usd": "sample string 6",
          "cny": "sample string 7",
          "createTime": "sample string 8",
          "isOrderingAllowed": "sample string 9"
        }
      ],
      "createTime": "sample string 7",
      "expireTime": "sample string 8",
      "lastModifyTime": "sample string 9",
      "originalPriceInfo": [
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        },
        {
          "currencyCode": "sample string 1",
          "price": "sample string 2"
        }
      ],
      "activationMode": "sample string 10",
      "ext": {
        "isPromotionalPackage": "sample string 1",
        "deductionModel": "sample string 2",
        "deductionUrl": "sample string 3",
        "cooperationMode": "sample string 4"
      }
    }
  ]
}

text/html

Sample:
{"code":"sample string 1","description":"sample string 2","dataBundles":[{"id":"sample string 1","name":[{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"},{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"}],"desc":[{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"},{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"}],"cardPools":{"C191126165347_943712":[{"mcc":"sample string 1"},{"mcc":"sample string 1"}]},"status":2,"type":3,"periodType":4,"period":5,"imgurl":"sample string 6","priceInfo":[{"currencyCode":"sample string 1","price":"sample string 2"},{"currencyCode":"sample string 1","price":"sample string 2"}],"refuelingPackage":[{"refuelingID":"sample string 1","nameCN":"sample string 2","flowValue":"sample string 3","flowUnit":4,"hkd":"sample string 5","usd":"sample string 6","cny":"sample string 7","createTime":"sample string 8","isOrderingAllowed":"sample string 9"},{"refuelingID":"sample string 1","nameCN":"sample string 2","flowValue":"sample string 3","flowUnit":4,"hkd":"sample string 5","usd":"sample string 6","cny":"sample string 7","createTime":"sample string 8","isOrderingAllowed":"sample string 9"}],"createTime":"sample string 7","expireTime":"sample string 8","lastModifyTime":"sample string 9","originalPriceInfo":[{"currencyCode":"sample string 1","price":"sample string 2"},{"currencyCode":"sample string 1","price":"sample string 2"}],"activationMode":"sample string 10","ext":{"isPromotionalPackage":"sample string 1","deductionModel":"sample string 2","deductionUrl":"sample string 3","cooperationMode":"sample string 4"}},{"id":"sample string 1","name":[{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"},{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"}],"desc":[{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"},{"langInfo":{"language":"sample string 1","country":"sample string 2"},"value":"sample string 1"}],"cardPools":{"C191126165347_943712":[{"mcc":"sample string 1"},{"mcc":"sample string 1"}]},"status":2,"type":3,"periodType":4,"period":5,"imgurl":"sample string 6","priceInfo":[{"currencyCode":"sample string 1","price":"sample string 2"},{"currencyCode":"sample string 1","price":"sample string 2"}],"refuelingPackage":[{"refuelingID":"sample string 1","nameCN":"sample string 2","flowValue":"sample string 3","flowUnit":4,"hkd":"sample string 5","usd":"sample string 6","cny":"sample string 7","createTime":"sample string 8","isOrderingAllowed":"sample string 9"},{"refuelingID":"sample string 1","nameCN":"sample string 2","flowValue":"sample string 3","flowUnit":4,"hkd":"sample string 5","usd":"sample string 6","cny":"sample string 7","createTime":"sample string 8","isOrderingAllowed":"sample string 9"}],"createTime":"sample string 7","expireTime":"sample string 8","lastModifyTime":"sample string 9","originalPriceInfo":[{"currencyCode":"sample string 1","price":"sample string 2"},{"currencyCode":"sample string 1","price":"sample string 2"}],"activationMode":"sample string 10","ext":{"isPromotionalPackage":"sample string 1","deductionModel":"sample string 2","deductionUrl":"sample string 3","cooperationMode":"sample string 4"}}]}

application/xml, text/xml

Sample:
<GetBundleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <code>sample string 1</code>
  <dataBundles>
    <DataBundle>
      <activationMode>sample string 10</activationMode>
      <cardPools>
        <C191126165347_943712>
          <C191126165347943712>
            <mcc>sample string 1</mcc>
          </C191126165347943712>
          <C191126165347943712>
            <mcc>sample string 1</mcc>
          </C191126165347943712>
        </C191126165347_943712>
      </cardPools>
      <createTime>sample string 7</createTime>
      <desc>
        <Desc>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Desc>
        <Desc>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Desc>
      </desc>
      <expireTime>sample string 8</expireTime>
      <ext>
        <cooperationMode>sample string 4</cooperationMode>
        <deductionModel>sample string 2</deductionModel>
        <deductionUrl>sample string 3</deductionUrl>
        <isPromotionalPackage>sample string 1</isPromotionalPackage>
      </ext>
      <id>sample string 1</id>
      <imgurl>sample string 6</imgurl>
      <lastModifyTime>sample string 9</lastModifyTime>
      <name>
        <Name>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Name>
        <Name>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Name>
      </name>
      <originalPriceInfo>
        <OriginalPriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </OriginalPriceInfo>
        <OriginalPriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </OriginalPriceInfo>
      </originalPriceInfo>
      <period>5</period>
      <periodType>4</periodType>
      <priceInfo>
        <PriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </PriceInfo>
        <PriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </PriceInfo>
      </priceInfo>
      <refuelingPackage>
        <RefuelingPackage>
          <cny>sample string 7</cny>
          <createTime>sample string 8</createTime>
          <flowUnit>4</flowUnit>
          <flowValue>sample string 3</flowValue>
          <hkd>sample string 5</hkd>
          <isOrderingAllowed>sample string 9</isOrderingAllowed>
          <nameCN>sample string 2</nameCN>
          <refuelingID>sample string 1</refuelingID>
          <usd>sample string 6</usd>
        </RefuelingPackage>
        <RefuelingPackage>
          <cny>sample string 7</cny>
          <createTime>sample string 8</createTime>
          <flowUnit>4</flowUnit>
          <flowValue>sample string 3</flowValue>
          <hkd>sample string 5</hkd>
          <isOrderingAllowed>sample string 9</isOrderingAllowed>
          <nameCN>sample string 2</nameCN>
          <refuelingID>sample string 1</refuelingID>
          <usd>sample string 6</usd>
        </RefuelingPackage>
      </refuelingPackage>
      <status>2</status>
      <type>3</type>
    </DataBundle>
    <DataBundle>
      <activationMode>sample string 10</activationMode>
      <cardPools>
        <C191126165347_943712>
          <C191126165347943712>
            <mcc>sample string 1</mcc>
          </C191126165347943712>
          <C191126165347943712>
            <mcc>sample string 1</mcc>
          </C191126165347943712>
        </C191126165347_943712>
      </cardPools>
      <createTime>sample string 7</createTime>
      <desc>
        <Desc>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Desc>
        <Desc>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Desc>
      </desc>
      <expireTime>sample string 8</expireTime>
      <ext>
        <cooperationMode>sample string 4</cooperationMode>
        <deductionModel>sample string 2</deductionModel>
        <deductionUrl>sample string 3</deductionUrl>
        <isPromotionalPackage>sample string 1</isPromotionalPackage>
      </ext>
      <id>sample string 1</id>
      <imgurl>sample string 6</imgurl>
      <lastModifyTime>sample string 9</lastModifyTime>
      <name>
        <Name>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Name>
        <Name>
          <langInfo>
            <country>sample string 2</country>
            <language>sample string 1</language>
          </langInfo>
          <value>sample string 1</value>
        </Name>
      </name>
      <originalPriceInfo>
        <OriginalPriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </OriginalPriceInfo>
        <OriginalPriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </OriginalPriceInfo>
      </originalPriceInfo>
      <period>5</period>
      <periodType>4</periodType>
      <priceInfo>
        <PriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </PriceInfo>
        <PriceInfo>
          <currencyCode>sample string 1</currencyCode>
          <price>sample string 2</price>
        </PriceInfo>
      </priceInfo>
      <refuelingPackage>
        <RefuelingPackage>
          <cny>sample string 7</cny>
          <createTime>sample string 8</createTime>
          <flowUnit>4</flowUnit>
          <flowValue>sample string 3</flowValue>
          <hkd>sample string 5</hkd>
          <isOrderingAllowed>sample string 9</isOrderingAllowed>
          <nameCN>sample string 2</nameCN>
          <refuelingID>sample string 1</refuelingID>
          <usd>sample string 6</usd>
        </RefuelingPackage>
        <RefuelingPackage>
          <cny>sample string 7</cny>
          <createTime>sample string 8</createTime>
          <flowUnit>4</flowUnit>
          <flowValue>sample string 3</flowValue>
          <hkd>sample string 5</hkd>
          <isOrderingAllowed>sample string 9</isOrderingAllowed>
          <nameCN>sample string 2</nameCN>
          <refuelingID>sample string 1</refuelingID>
          <usd>sample string 6</usd>
        </RefuelingPackage>
      </refuelingPackage>
      <status>2</status>
      <type>3</type>
    </DataBundle>
  </dataBundles>
  <description>sample string 2</description>
</GetBundleResponse>