POST v1/api/enrollee/approvePreAuthorization
Request Information
URI Parameters
None.
Body Parameters
approvePreAuthorizationRequestName | Description | Type | Additional information |
---|---|---|---|
preAuthorization_id | integer |
None. |
|
enrolleeNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "preAuthorization_id": 1, "enrolleeNo": "sample string 2" }
application/xml, text/xml
Sample:
<approvePreAuthorizationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.approvePreAuthorization"> <enrolleeNo>sample string 2</enrolleeNo> <preAuthorization_id>1</preAuthorization_id> </approvePreAuthorizationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"preAuthorization_id":1,"enrolleeNo":"sample string 2"}
Response Information
Resource Description
approvePreAuthorizationResultName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
errorMsg | string |
None. |
|
message | string |
None. |
|
preauthCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "errorMsg": "sample string 2", "message": "sample string 3", "preauthCode": "sample string 4" }
application/xml, text/xml
Sample:
<approvePreAuthorizationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.approvePreAuthorization"> <errorMsg>sample string 2</errorMsg> <message>sample string 3</message> <preauthCode>sample string 4</preauthCode> <success>true</success> </approvePreAuthorizationResult>
text/html
Sample:
{"success":true,"errorMsg":"sample string 2","message":"sample string 3","preauthCode":"sample string 4"}