POST api/IntegralStore

创建订单

Request Information

URI Parameters

None.

Body Parameters

ExchangeGiftOrderParame
NameDescriptionTypeAdditional information
SiteId

integer

None.

DeliveryAddress

收获地址

string

None.

GiftId

globally unique identifier

None.

Amount

integer

None.

Score

integer

None.

aid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteId": 1,
  "DeliveryAddress": "sample string 2",
  "GiftId": "c4b43203-53bf-4eab-9ce1-1803f722d44a",
  "Amount": 4,
  "Score": 5,
  "aid": "sample string 6"
}

application/xml, text/xml

Sample:
<ExchangeGiftOrderParame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.Hotel.Models.Parames">
  <aid>sample string 6</aid>
  <Amount>4</Amount>
  <DeliveryAddress>sample string 2</DeliveryAddress>
  <GiftId>c4b43203-53bf-4eab-9ce1-1803f722d44a</GiftId>
  <Score>5</Score>
  <SiteId>1</SiteId>
</ExchangeGiftOrderParame>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResultModels
NameDescriptionTypeAdditional information
errcode

返回Code(-1请求失败,0请求成功,1调用支付)

integer

None.

errmsg

返回提示消息

string

None.

url

返回Url

string

None.

data

返回数据

string

None.

dataObj

返回数据1

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "url": "sample string 3",
  "data": "sample string 4",
  "dataObj": {}
}

application/xml, text/xml

Sample:
<BaseResultModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
  <data>sample string 4</data>
  <dataObj />
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <url>sample string 3</url>
</BaseResultModels>