POST api/Price/Ajj

Request Information

URI Parameters

None.

Body Parameters

AjjReq
NameDescriptionTypeAdditional information
ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "Token": "sample string 2",
  "ChannalId": "sample string 3",
  "Version": "sample string 4",
  "language": "sample string 5"
}

application/xml, text/xml

Sample:
<AjjReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <ChannalId xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 3</ChannalId>
  <ProductId xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">1</ProductId>
  <Token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 2</Token>
  <Version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 4</Version>
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 5</language>
</AjjReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AjjRes
NameDescriptionTypeAdditional information
prices

Collection of AjjPriceModel

None.

Response Formats

application/json, text/json

Sample:
{
  "prices": [
    {
      "type": 1,
      "price": 2.1,
      "googleId": "sample string 3"
    },
    {
      "type": 1,
      "price": 2.1,
      "googleId": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<AjjRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <prices>
    <AjjPriceModel>
      <googleId>sample string 3</googleId>
      <price>2.1</price>
      <type>1</type>
    </AjjPriceModel>
    <AjjPriceModel>
      <googleId>sample string 3</googleId>
      <price>2.1</price>
      <type>1</type>
    </AjjPriceModel>
  </prices>
</AjjRes>