POST api/bank_connection/{id}/create_access_token
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
bank_connectionName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
code | string |
Required String length: inclusive between 0 and 20 |
|
website_id | integer |
None. |
|
bank_id | string |
Required String length: inclusive between 0 and 3 |
|
account_no | string |
Required String length: inclusive between 0 and 20 |
|
account_firstname | string |
Required String length: inclusive between 0 and 50 |
|
account_lastname | string |
Required String length: inclusive between 0 and 50 |
|
account_balance | decimal number |
None. |
|
balance_updated_at | date |
None. |
|
statement_updated_at | date |
None. |
|
web_username | string |
String length: inclusive between 0 and 50 |
|
web_password | string |
String length: inclusive between 0 and 50 |
|
web_enabled | boolean |
None. |
|
app_citizen_id | string |
String length: inclusive between 0 and 50 |
|
app_birthday | date |
None. |
|
app_phone | string |
String length: inclusive between 0 and 20 |
|
app_enabled | boolean |
None. |
|
line_username | string |
String length: inclusive between 0 and 50 |
|
line_password | string |
String length: inclusive between 0 and 50 |
|
line_enabled | boolean |
None. |
|
status | string |
Required String length: inclusive between 0 and 20 |
|
session_id | string |
String length: inclusive between 0 and 100 |
|
access_token | string |
String length: inclusive between 0 and 500 |
|
access_token_bank_api | string |
None. |
|
created_at | date |
None. |
|
updated_at | date |
None. |
|
updated_by | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "code": "sample string 2", "website_id": 3, "bank_id": "sample string 4", "account_no": "sample string 5", "account_firstname": "sample string 6", "account_lastname": "sample string 7", "account_balance": 8.0, "balance_updated_at": "2024-11-21T16:53:12.7231846+07:00", "statement_updated_at": "2024-11-21T16:53:12.7231846+07:00", "web_username": "sample string 9", "web_password": "sample string 10", "web_enabled": true, "app_citizen_id": "sample string 12", "app_birthday": "2024-11-21T16:53:12.7231846+07:00", "app_phone": "sample string 13", "app_enabled": true, "line_username": "sample string 15", "line_password": "sample string 16", "line_enabled": true, "status": "sample string 18", "session_id": "sample string 19", "access_token": "sample string 20", "access_token_bank_api": "sample string 21", "created_at": "2024-11-21T16:53:12.7231846+07:00", "updated_at": "2024-11-21T16:53:12.7231846+07:00", "updated_by": 24 }
application/xml, text/xml
Sample:
<bank_connection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Domain.Entities"> <access_token>sample string 20</access_token> <access_token_bank_api>sample string 21</access_token_bank_api> <account_balance>8</account_balance> <account_firstname>sample string 6</account_firstname> <account_lastname>sample string 7</account_lastname> <account_no>sample string 5</account_no> <app_birthday>2024-11-21T16:53:12.7231846+07:00</app_birthday> <app_citizen_id>sample string 12</app_citizen_id> <app_enabled>true</app_enabled> <app_phone>sample string 13</app_phone> <balance_updated_at>2024-11-21T16:53:12.7231846+07:00</balance_updated_at> <bank_id>sample string 4</bank_id> <code>sample string 2</code> <created_at>2024-11-21T16:53:12.7231846+07:00</created_at> <id>1</id> <line_enabled>true</line_enabled> <line_password>sample string 16</line_password> <line_username>sample string 15</line_username> <session_id>sample string 19</session_id> <statement_updated_at>2024-11-21T16:53:12.7231846+07:00</statement_updated_at> <status>sample string 18</status> <updated_at>2024-11-21T16:53:12.7231846+07:00</updated_at> <updated_by>24</updated_by> <web_enabled>true</web_enabled> <web_password>sample string 10</web_password> <web_username>sample string 9</web_username> <website_id>3</website_id> </bank_connection>