POST api/Finance/CreateComplexOrder

会员中心 - 创建【复合支付订单】 即一个订单内有若干个财务项目,打包在一起形成一个复合订单,主要面对极其复杂支付场景,比如混合支付

Request Information

URI Parameters

None.

Body Parameters

Collection of FinOrderCreateDto
NameDescriptionTypeAdditional information
FinItemId

财务项目

integer

None.

EntityId

财务项目应用的实体的标识(比如为某个楼盘信息购买置顶,这里就需要传入楼盘的标识Id)

integer

None.

EntityType

实体类型

EntityAllType

None.

Amount

支付金额,只有在待支付的财务项目允许自定义支付金额时才使用 当支付方式为余额或者现金支付时生效,表示【分】单位的现金,100表示1元 一般不传,支持传入超大数字,基本不用考虑上限

integer

None.

CreditAmount

积分金额,只有在待支付的财务项目允许自定义支付金额时才使用 当支付方式为积分支付时生效 一般不传,支持传入超大数字,基本不用考虑上限

integer

None.

PayType

支付方式,只有在待支付的财务项目允许自定义支付金额时才使用 如果服务本身不支持这些支付方式,将会报错,由于大部分情况,用户不可以自定义支付,所以一般不传

FinOrderPayType

None.

Num

购置数量

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfFinOrderCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Finance">
  <FinOrderCreateDto>
    <Amount>3</Amount>
    <CreditAmount>4</CreditAmount>
    <EntityId>2</EntityId>
    <EntityType>XX_Biz</EntityType>
    <FinItemId>1</FinItemId>
    <Num>5</Num>
    <PayType>ByCredit</PayType>
  </FinOrderCreateDto>
  <FinOrderCreateDto>
    <Amount>3</Amount>
    <CreditAmount>4</CreditAmount>
    <EntityId>2</EntityId>
    <EntityType>XX_Biz</EntityType>
    <FinItemId>1</FinItemId>
    <Num>5</Num>
    <PayType>ByCredit</PayType>
  </FinOrderCreateDto>
</ArrayOfFinOrderCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

会员中心 - 创建【复合支付订单】 即一个订单内有若干个财务项目,打包在一起形成一个复合订单,主要面对极其复杂支付场景,比如混合支付

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />