GET api/Bank/GetCooperateBank?languageType={languageType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| languageType | CmsLanguage |
Required |
Body Parameters
None.
Response Information
Resource Description
BankResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| BankList | Collection of BankModel |
None. |
|
| ResponseCode | ResponseCode |
None. |
|
| AlertMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"BankList": [
{
"BankName": "ChinaBank",
"PopUp": "sample string 1",
"WebLogo": "sample string 2",
"MobileLogo": "sample string 3",
"MLoan": [
{
"ProductID": "sample string 1",
"PlanName": "sample string 2",
"Mortgage": "sample string 3",
"Refund": "sample string 4"
},
{
"ProductID": "sample string 1",
"PlanName": "sample string 2",
"Mortgage": "sample string 3",
"Refund": "sample string 4"
}
],
"Sort": 4
},
{
"BankName": "ChinaBank",
"PopUp": "sample string 1",
"WebLogo": "sample string 2",
"MobileLogo": "sample string 3",
"MLoan": [
{
"ProductID": "sample string 1",
"PlanName": "sample string 2",
"Mortgage": "sample string 3",
"Refund": "sample string 4"
},
{
"ProductID": "sample string 1",
"PlanName": "sample string 2",
"Mortgage": "sample string 3",
"Refund": "sample string 4"
}
],
"Sort": 4
}
],
"ResponseCode": 1,
"AlertMessage": "sample string 1"
}
text/xml
Sample:
<BankResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
<AlertMessage>sample string 1</AlertMessage>
<ResponseCode>Success</ResponseCode>
<BankList>
<BankModel>
<BankName>ChinaBank</BankName>
<MLoan>
<MortgageLoan>
<Mortgage>sample string 3</Mortgage>
<PlanName>sample string 2</PlanName>
<ProductID>sample string 1</ProductID>
<Refund>sample string 4</Refund>
</MortgageLoan>
<MortgageLoan>
<Mortgage>sample string 3</Mortgage>
<PlanName>sample string 2</PlanName>
<ProductID>sample string 1</ProductID>
<Refund>sample string 4</Refund>
</MortgageLoan>
</MLoan>
<MobileLogo>sample string 3</MobileLogo>
<PopUp>sample string 1</PopUp>
<Sort>4</Sort>
<WebLogo>sample string 2</WebLogo>
</BankModel>
<BankModel>
<BankName>ChinaBank</BankName>
<MLoan>
<MortgageLoan>
<Mortgage>sample string 3</Mortgage>
<PlanName>sample string 2</PlanName>
<ProductID>sample string 1</ProductID>
<Refund>sample string 4</Refund>
</MortgageLoan>
<MortgageLoan>
<Mortgage>sample string 3</Mortgage>
<PlanName>sample string 2</PlanName>
<ProductID>sample string 1</ProductID>
<Refund>sample string 4</Refund>
</MortgageLoan>
</MLoan>
<MobileLogo>sample string 3</MobileLogo>
<PopUp>sample string 1</PopUp>
<Sort>4</Sort>
<WebLogo>sample string 2</WebLogo>
</BankModel>
</BankList>
</BankResponse>