GET api/list
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseBankDataName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | Collection of string |
None. |
|
count | integer |
None. |
|
data | Collection of BankInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": [ "sample string 1", "sample string 2" ], "count": 2, "data": [ { "id": "sample string 1", "name": "sample string 2", "bank_id": "sample string 3", "type": "sample string 4", "complete_time": "sample string 5", "bank_name": "sample string 6", "bank_short_name": "sample string 7", "bank_logo": "sample string 8" }, { "id": "sample string 1", "name": "sample string 2", "bank_id": "sample string 3", "type": "sample string 4", "complete_time": "sample string 5", "bank_name": "sample string 6", "bank_short_name": "sample string 7", "bank_logo": "sample string 8" } ] }
application/xml, text/xml
Sample:
<ResponseBankData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.DomainModels"> <code>1</code> <count>2</count> <data> <BankInfo> <bank_id>sample string 3</bank_id> <bank_logo>sample string 8</bank_logo> <bank_name>sample string 6</bank_name> <bank_short_name>sample string 7</bank_short_name> <complete_time>sample string 5</complete_time> <id>sample string 1</id> <name>sample string 2</name> <type>sample string 4</type> </BankInfo> <BankInfo> <bank_id>sample string 3</bank_id> <bank_logo>sample string 8</bank_logo> <bank_name>sample string 6</bank_name> <bank_short_name>sample string 7</bank_short_name> <complete_time>sample string 5</complete_time> <id>sample string 1</id> <name>sample string 2</name> <type>sample string 4</type> </BankInfo> </data> <message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </message> </ResponseBankData>