GET api/Finance/GetFinanceItem?type={type}&module={module}&displayIfZeroAmount={displayIfZeroAmount}&displayIfUnsellable={displayIfUnsellable}

获取单个服务类型的多个【财务项目】(即以前的服务,以前的服务弃用)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

单个服务类型

ServiceType

Required

module

模块类型

ModuleType

Default value is All

displayIfZeroAmount

如果为金币量零是否展示(可自由定价的项目依旧会被展示),默认为否

boolean

Default value is True

displayIfUnsellable

如果为不售卖是否展示,默认为否

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

获取单个服务类型的多个【财务项目】(即以前的服务,以前的服务弃用)

Collection of mh163k_Finance_Items
NameDescriptionTypeAdditional information
Id

服务标识

integer

None.

Name

服务名称

string

None.

PayMode

支付模式类型

FinOrderPayType

None.

CanBeRefunded

是否可以退款

boolean

None.

PriceFen

价格(分)

integer

None.

CreditNum

积分数

integer

None.

AllowCustomPrice

是否允许自定义价格

boolean

None.

Type

服务类型

ServiceType

None.

Module

所属模块

ModuleType

None.

ExtraParams

额外参数(Json格式)

string

None.

Sellable

是否可售卖

boolean

None.

AfterSuccessUrlPattern

支付并立即生效后的跳转地址样式,必须是不以反斜杠为起始的链接

string

None.

NumTimes

次数

integer

None.

Level

等级

integer

None.

PeriodLength

周期长度

integer

None.

PeriodUnit

周期单位

PeriodUnitType

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfmh163k_Finance_Items xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Finance">
  <mh163k_Finance_Items>
    <AfterSuccessUrlPattern>sample string 9</AfterSuccessUrlPattern>
    <AllowCustomPrice>true</AllowCustomPrice>
    <CanBeRefunded>true</CanBeRefunded>
    <CreditNum>5</CreditNum>
    <ExtraParams>sample string 7</ExtraParams>
    <Id>1</Id>
    <Level>11</Level>
    <Module>None</Module>
    <Name>sample string 2</Name>
    <NumTimes>10</NumTimes>
    <PayMode>ByCredit</PayMode>
    <PeriodLength>12</PeriodLength>
    <PeriodUnit>Day</PeriodUnit>
    <PriceFen>4</PriceFen>
    <Sellable>true</Sellable>
    <Type>XX_InfoRefresh</Type>
  </mh163k_Finance_Items>
  <mh163k_Finance_Items>
    <AfterSuccessUrlPattern>sample string 9</AfterSuccessUrlPattern>
    <AllowCustomPrice>true</AllowCustomPrice>
    <CanBeRefunded>true</CanBeRefunded>
    <CreditNum>5</CreditNum>
    <ExtraParams>sample string 7</ExtraParams>
    <Id>1</Id>
    <Level>11</Level>
    <Module>None</Module>
    <Name>sample string 2</Name>
    <NumTimes>10</NumTimes>
    <PayMode>ByCredit</PayMode>
    <PeriodLength>12</PeriodLength>
    <PeriodUnit>Day</PeriodUnit>
    <PriceFen>4</PriceFen>
    <Sellable>true</Sellable>
    <Type>XX_InfoRefresh</Type>
  </mh163k_Finance_Items>
</ArrayOfmh163k_Finance_Items>