POST api/ConsumerBorrower/v1/CancelConsumerLoanApplication
Cancels the loan application.
Request Information
URI Parameters
None.
Body Parameters
CancelConsumerLoanApplicationRequestName | Description | Type | Additional information |
---|---|---|---|
applicationId |
Unique identifier of loan application returned by InsertConsumerLoanApplication. Use this or combination channelCode, brandCode, externalApplicationNumber. |
globally unique identifier |
None. |
channelCode |
Code identifying the sender organization. Code to use provided by FF. |
string |
None. |
brandCode |
Brand code of loan: FF, FP, LA, FS ... |
string |
None. |
externalApplicationNumber |
Sender's unique identifier for loan application given as parameter of InsertConsumerLoanApplication |
string |
None. |
OrganizationCode | string |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "applicationId": "0c43908c-8e6e-4156-ac3b-514731f0c76e", "channelCode": "sample string 1", "brandCode": "sample string 2", "externalApplicationNumber": "sample string 3", "OrganizationCode": "sample string 4", "UserName": "sample string 5", "Password": "sample string 6" }
application/xml, text/xml
Sample:
<CancelConsumerLoanApplicationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers.ConsumerBorrower"> <OrganizationCode xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</OrganizationCode> <Password xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 6</Password> <UserName xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 5</UserName> <applicationId>0c43908c-8e6e-4156-ac3b-514731f0c76e</applicationId> <brandCode>sample string 2</brandCode> <channelCode>sample string 1</channelCode> <externalApplicationNumber>sample string 3</externalApplicationNumber> </CancelConsumerLoanApplicationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CancelConsumerLoanApplicationReplyName | Description | Type | Additional information |
---|---|---|---|
Reply | string |
None. |
|
Ok | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ErrorCode | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Reply": "sample string 1", "Ok": true, "ErrorMessage": "sample string 3", "ErrorCode": "sample string 4", "Message": "sample string 5" }
application/xml, text/xml
Sample:
<CancelConsumerLoanApplicationReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers.ConsumerBorrower"> <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</ErrorCode> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 3</ErrorMessage> <Message xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 5</Message> <Ok xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">true</Ok> <Reply>sample string 1</Reply> </CancelConsumerLoanApplicationReply>