POST api/Order/GetOrderByAppId
查询订单
Request Information
Body Parameters
OrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"Language": "sample string 2",
"AppId": "sample string 3"
}
application/xml, text/xml
Sample:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 3</AppId> <Language>sample string 2</Language> <Token>sample string 1</Token> </OrderModel>
Response Information
Resource Description
OrderResult
| Name | Description | Type | Additional information |
|---|---|---|---|
| Item |
订单集合 |
Collection of paymentTable |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Item": [
{
"orderId": "sample string 1",
"UserId": 2,
"cur": "sample string 3",
"amount": 4.1,
"ctime": "2025-12-12T05:27:12.0054151+08:00",
"IsCL": true,
"CallBackTime": "2025-12-12T05:27:12.0054151+08:00",
"ExpirationDate": "2025-12-12T05:27:12.0054151+08:00",
"success": true,
"CallBack": true,
"name": "sample string 11",
"ProductId": 12,
"PaymentMethod": "sample string 13",
"DeviceId": 14,
"paymentId": "sample string 15",
"Remarks": "sample string 16",
"AppId": 17,
"PostXml": "sample string 18",
"PrePayXml": "sample string 19",
"ResultXml": "sample string 20"
},
{
"orderId": "sample string 1",
"UserId": 2,
"cur": "sample string 3",
"amount": 4.1,
"ctime": "2025-12-12T05:27:12.0054151+08:00",
"IsCL": true,
"CallBackTime": "2025-12-12T05:27:12.0054151+08:00",
"ExpirationDate": "2025-12-12T05:27:12.0054151+08:00",
"success": true,
"CallBack": true,
"name": "sample string 11",
"ProductId": 12,
"PaymentMethod": "sample string 13",
"DeviceId": 14,
"paymentId": "sample string 15",
"Remarks": "sample string 16",
"AppId": 17,
"PostXml": "sample string 18",
"PrePayXml": "sample string 19",
"ResultXml": "sample string 20"
}
],
"State": 1
}
application/xml, text/xml
Sample:
<OrderResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
<State>1</State>
<Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
<d2p1:paymentTable>
<d2p1:AppId>17</d2p1:AppId>
<d2p1:CallBack>true</d2p1:CallBack>
<d2p1:CallBackTime>2025-12-12T05:27:12.0054151+08:00</d2p1:CallBackTime>
<d2p1:DeviceId>14</d2p1:DeviceId>
<d2p1:ExpirationDate>2025-12-12T05:27:12.0054151+08:00</d2p1:ExpirationDate>
<d2p1:IsCL>true</d2p1:IsCL>
<d2p1:PaymentMethod>sample string 13</d2p1:PaymentMethod>
<d2p1:PostXml>sample string 18</d2p1:PostXml>
<d2p1:PrePayXml>sample string 19</d2p1:PrePayXml>
<d2p1:ProductId>12</d2p1:ProductId>
<d2p1:Remarks>sample string 16</d2p1:Remarks>
<d2p1:ResultXml>sample string 20</d2p1:ResultXml>
<d2p1:UserId>2</d2p1:UserId>
<d2p1:amount>4.1</d2p1:amount>
<d2p1:ctime>2025-12-12T05:27:12.0054151+08:00</d2p1:ctime>
<d2p1:cur>sample string 3</d2p1:cur>
<d2p1:name>sample string 11</d2p1:name>
<d2p1:orderId>sample string 1</d2p1:orderId>
<d2p1:paymentId>sample string 15</d2p1:paymentId>
<d2p1:success>true</d2p1:success>
</d2p1:paymentTable>
<d2p1:paymentTable>
<d2p1:AppId>17</d2p1:AppId>
<d2p1:CallBack>true</d2p1:CallBack>
<d2p1:CallBackTime>2025-12-12T05:27:12.0054151+08:00</d2p1:CallBackTime>
<d2p1:DeviceId>14</d2p1:DeviceId>
<d2p1:ExpirationDate>2025-12-12T05:27:12.0054151+08:00</d2p1:ExpirationDate>
<d2p1:IsCL>true</d2p1:IsCL>
<d2p1:PaymentMethod>sample string 13</d2p1:PaymentMethod>
<d2p1:PostXml>sample string 18</d2p1:PostXml>
<d2p1:PrePayXml>sample string 19</d2p1:PrePayXml>
<d2p1:ProductId>12</d2p1:ProductId>
<d2p1:Remarks>sample string 16</d2p1:Remarks>
<d2p1:ResultXml>sample string 20</d2p1:ResultXml>
<d2p1:UserId>2</d2p1:UserId>
<d2p1:amount>4.1</d2p1:amount>
<d2p1:ctime>2025-12-12T05:27:12.0054151+08:00</d2p1:ctime>
<d2p1:cur>sample string 3</d2p1:cur>
<d2p1:name>sample string 11</d2p1:name>
<d2p1:orderId>sample string 1</d2p1:orderId>
<d2p1:paymentId>sample string 15</d2p1:paymentId>
<d2p1:success>true</d2p1:success>
</d2p1:paymentTable>
</Item>
</OrderResult>