@RestController @RequestMapping(path="api/v1/accounts") public class AccountController extends Object
| Constructor and Description |
|---|
AccountController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map<String,List<Xs2aAccountDetails>>> |
getAccounts(String consentId,
boolean withBalance) |
org.springframework.http.ResponseEntity<List<Xs2aBalance>> |
getBalances(String consentId,
String accountId) |
org.springframework.http.ResponseEntity<Xs2aAccountReport> |
getTransactions(String accountId,
String consentId,
LocalDate dateFrom,
LocalDate dateTo,
String transactionId,
boolean psuInvolved,
String bookingStatus,
boolean withBalance,
boolean deltaList) |
org.springframework.http.ResponseEntity<Xs2aAccountDetails> |
readAccountDetails(String consentId,
String accountId,
boolean withBalance) |
@GetMapping public org.springframework.http.ResponseEntity<Map<String,List<Xs2aAccountDetails>>> getAccounts(@RequestHeader(name="consent-id") String consentId, @RequestParam(name="with-balance",required=false) boolean withBalance)
@GetMapping(path="/{account-id}")
public org.springframework.http.ResponseEntity<Xs2aAccountDetails> readAccountDetails(@RequestHeader(name="consent-id")
String consentId,
@PathVariable(name="account-id")
String accountId,
@RequestParam(name="with-balance",required=false)
boolean withBalance)
@GetMapping(path="/{account-id}/balances")
public org.springframework.http.ResponseEntity<List<Xs2aBalance>> getBalances(@RequestHeader(name="consent-id")
String consentId,
@PathVariable(name="account-id")
String accountId)
@GetMapping(path="/{account-id}/transactions")
public org.springframework.http.ResponseEntity<Xs2aAccountReport> getTransactions(@PathVariable(name="account-id")
String accountId,
@RequestHeader(name="consent-id",required=false)
String consentId,
@RequestParam(name="dateFrom",required=false) @DateTimeFormat(iso=DATE)
LocalDate dateFrom,
@RequestParam(name="dateTo",required=false) @DateTimeFormat(iso=DATE)
LocalDate dateTo,
@RequestParam(name="transactionId",required=false)
String transactionId,
@RequestParam(name="psuInvolved",required=false)
boolean psuInvolved,
@RequestParam(name="bookingStatus")
String bookingStatus,
@RequestParam(name="withBalance",required=false)
boolean withBalance,
@RequestParam(name="deltaList",required=false)
boolean deltaList)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.