@RestController @RequestMapping(path="api/v1/consents") public class ConsentInformationController extends Object
| Constructor and Description |
|---|
ConsentInformationController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<CreateConsentResponse> |
createAccountConsent(String psuId,
@Valid CreateConsentReq createConsent) |
org.springframework.http.ResponseEntity<Void> |
deleteAccountConsent(String consentId) |
org.springframework.http.ResponseEntity<AccountConsent> |
getAccountConsentsInformationById(String consentId) |
org.springframework.http.ResponseEntity<ConsentStatusResponse> |
getAccountConsentsStatusById(String consentId) |
@PostMapping public org.springframework.http.ResponseEntity<CreateConsentResponse> createAccountConsent(@RequestHeader(name="psu-id",required=false) String psuId, @Valid @RequestBody @Valid CreateConsentReq createConsent)
@GetMapping(path="/{consent-id}/status")
public org.springframework.http.ResponseEntity<ConsentStatusResponse> getAccountConsentsStatusById(@PathVariable(value="consent-id")
String consentId)
@GetMapping(path="/{consent-id}")
public org.springframework.http.ResponseEntity<AccountConsent> getAccountConsentsInformationById(@PathVariable(value="consent-id")
String consentId)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.