GET api/Finance/GetFinanceItem?type={type}&module={module}&displayIfZeroAmount={displayIfZeroAmount}&displayIfUnsellable={displayIfUnsellable}
获取单个服务类型的多个【财务项目】(即以前的服务,以前的服务弃用)
Request Information
URI Parameters
Name | Description | Type | Additional 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_ItemsName | Description | Type | Additional information |
---|---|---|---|
Id |
服务标识 |
integer |
None. |
Name |
服务名称 |
string |
None. |
PayMode |
支付模式类型 |
FinOrderPayType |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
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>