POST api/ApplePay/QueryOrderWsmt

app上报订单

Request Information

URI Parameters

None.

Body Parameters

QueryOrderWsmtReq
NameDescriptionTypeAdditional information
ReceiptData

凭据信息

string

None.

ReceiptType

环境,0是测试环境,1是正式环境

integer

None.

UnionId

用户编码

string

None.

Uuid

苹果的标识

string

None.

DocId

置顶内容编号

integer

None.

ProductId

产品编号

integer

None.

Token

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

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiptData": "sample string 1",
  "ReceiptType": 2,
  "UnionId": "sample string 3",
  "Uuid": "sample string 4",
  "DocId": 5,
  "ProductId": 6,
  "Token": "sample string 7",
  "ChannalId": "sample string 8",
  "Version": "sample string 9",
  "language": "sample string 10"
}

application/xml, text/xml

Sample:
<QueryOrderWsmtReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <ChannalId>sample string 8</ChannalId>
  <ProductId>6</ProductId>
  <Token>sample string 7</Token>
  <Version>sample string 9</Version>
  <language>sample string 10</language>
  <DocId>5</DocId>
  <ReceiptData>sample string 1</ReceiptData>
  <ReceiptType>2</ReceiptType>
  <UnionId>sample string 3</UnionId>
  <Uuid>sample string 4</Uuid>
</QueryOrderWsmtReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QueryOrderRes
NameDescriptionTypeAdditional information
QueryResult

查询的具体内容

string

None.

UnionId

用户唯一值

string

None.

Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "QueryResult": "sample string 1",
  "UnionId": "sample string 2",
  "Message": "sample string 3",
  "Status": 4
}

application/xml, text/xml

Sample:
<QueryOrderRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 3</Message>
  <Status>4</Status>
  <QueryResult>sample string 1</QueryResult>
  <UnionId>sample string 2</UnionId>
</QueryOrderRes>