GET api/PaymentRequest/GetBankByType?Id={Id}&type={type}

获取根据类型银行信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

客商Id/司机Id

integer

Required

type

1:查看客商/车队,2,查看司机,3:查看登入人,

integer

Required

Body Parameters

None.

Response Information

Resource Description

InfoResultOfListOfBankInfoDto
NameDescriptionTypeAdditional information
Data

Collection of BankInfoDto

None.

IsSuccess

是否成功:true:成功,false:失败

boolean

None.

Msg

返回消息

string

None.

Extra

特定信息

string

None.

Code

内部代码:[成功 000000|失败 000001|未登陆/未授权 000002]

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "BankInfo": "sample string 1",
      "BankName": "sample string 2",
      "BankAccount": "sample string 3",
      "Bank": "sample string 4"
    },
    {
      "BankInfo": "sample string 1",
      "BankName": "sample string 2",
      "BankAccount": "sample string 3",
      "Bank": "sample string 4"
    }
  ],
  "IsSuccess": true,
  "Msg": "sample string 2",
  "Extra": "sample string 3",
  "Code": "sample string 4"
}

application/xml, text/xml

Sample:
<InfoResultOfArrayOfBankInfoDto8taVmWcU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Core.ShareData">
  <Code>sample string 4</Code>
  <Extra>sample string 3</Extra>
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 2</Msg>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMS.Domain.Dto">
    <d2p1:BankInfoDto>
      <d2p1:Bank>sample string 4</d2p1:Bank>
      <d2p1:BankAccount>sample string 3</d2p1:BankAccount>
      <d2p1:BankInfo>sample string 1</d2p1:BankInfo>
      <d2p1:BankName>sample string 2</d2p1:BankName>
    </d2p1:BankInfoDto>
    <d2p1:BankInfoDto>
      <d2p1:Bank>sample string 4</d2p1:Bank>
      <d2p1:BankAccount>sample string 3</d2p1:BankAccount>
      <d2p1:BankInfo>sample string 1</d2p1:BankInfo>
      <d2p1:BankName>sample string 2</d2p1:BankName>
    </d2p1:BankInfoDto>
  </Data>
</InfoResultOfArrayOfBankInfoDto8taVmWcU>