POST api/Car/InstallmentBank
查詢可用分期
Request Information
URI Parameters
None.
Body Parameters
InstallmentBank_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
會員帳號 |
string |
Required |
| cardNumber |
信用卡號 |
string |
None. |
| CardID |
常用信用卡ID |
string |
None. |
| UseProfit |
紅利抵用點數 |
integer |
None. |
| Ticket |
身份票據 |
string |
Required |
| platform |
來源平台 |
WebPlatform |
None. |
| PlatformDetail |
來源平台詳細資訊 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"cardNumber": "sample string 2",
"CardID": "sample string 3",
"UseProfit": 4,
"Ticket": "sample string 5",
"platform": 0,
"PlatformDetail": "sample string 6"
}
text/html
Sample:
{"userId":"sample string 1","cardNumber":"sample string 2","CardID":"sample string 3","UseProfit":4,"Ticket":"sample string 5","platform":0,"PlatformDetail":"sample string 6"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
查詢可用分期
InstallmentBank_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| installments |
分期清單 |
Collection of CarModel_installments |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"installments": [
{
"name": "sample string 1",
"periods": 2,
"interestRate": 1.0,
"periodPrice": 3.0,
"firstPeriodPrice": 4.0,
"banks": [
"sample string 1",
"sample string 2"
],
"toalPrice": 5.0,
"installmentNo": "sample string 6",
"IsSelect": true
},
{
"name": "sample string 1",
"periods": 2,
"interestRate": 1.0,
"periodPrice": 3.0,
"firstPeriodPrice": 4.0,
"banks": [
"sample string 1",
"sample string 2"
],
"toalPrice": 5.0,
"installmentNo": "sample string 6",
"IsSelect": true
}
],
"ticketVerified": true
}
text/html
Sample:
{"installments":[{"name":"sample string 1","periods":2,"interestRate":1.0,"periodPrice":3.0,"firstPeriodPrice":4.0,"banks":["sample string 1","sample string 2"],"toalPrice":5.0,"installmentNo":"sample string 6","IsSelect":true},{"name":"sample string 1","periods":2,"interestRate":1.0,"periodPrice":3.0,"firstPeriodPrice":4.0,"banks":["sample string 1","sample string 2"],"toalPrice":5.0,"installmentNo":"sample string 6","IsSelect":true}],"ticketVerified":true}