POST api/Credit/QueryRefundOrder

Request Information

URI Parameters

None.

Body Parameters

Credit_SendRedPack
NameDescriptionTypeAdditional information
SendRedPackId

string

None.

Amount

decimal number

None.

RedPackType

integer

None.

OutBatchNo

string

None.

BatchId

string

None.

OpenId

string

None.

Mobile

string

None.

Status

integer

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SendRedPackId": "sample string 1",
  "Amount": 1.0,
  "RedPackType": 1,
  "OutBatchNo": "sample string 2",
  "BatchId": "sample string 3",
  "OpenId": "sample string 4",
  "Mobile": "sample string 5",
  "Status": 1,
  "CreateDate": "2025-06-14T21:49:30.0412698+08:00"
}

application/xml, text/xml

Sample:
<Credit_SendRedPack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.Entity">
  <Amount>1</Amount>
  <BatchId>sample string 3</BatchId>
  <CreateDate>2025-06-14T21:49:30.0412698+08:00</CreateDate>
  <Mobile>sample string 5</Mobile>
  <OpenId>sample string 4</OpenId>
  <OutBatchNo>sample string 2</OutBatchNo>
  <RedPackType>1</RedPackType>
  <SendRedPackId>sample string 1</SendRedPackId>
  <Status>1</Status>
</Credit_SendRedPack>

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

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

errMsg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "errMsg": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.OpenApi.Model.ManageBase">
  <code>1</code>
  <data />
  <errMsg>sample string 3</errMsg>
  <msg>sample string 2</msg>
</ApiResult>