POST api/CompanyBorrower/v1/CancelLoanApplication
Request Information
URI Parameters
None.
Body Parameters
CancelLoanApplicationRequestName | 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: FBQ, ... |
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": "fe554488-c015-4a04-ba48-ad6e5ae1365d", "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:
<CancelLoanApplicationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers"> <OrganizationCode>sample string 4</OrganizationCode> <Password>sample string 6</Password> <UserName>sample string 5</UserName> <applicationId>fe554488-c015-4a04-ba48-ad6e5ae1365d</applicationId> <brandCode>sample string 2</brandCode> <channelCode>sample string 1</channelCode> <externalApplicationNumber>sample string 3</externalApplicationNumber> </CancelLoanApplicationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CancelLoanApplicationReplyName | Description | Type | Additional information |
---|---|---|---|
Reply |
None. |
Response Formats
application/json, text/json
Sample:
{ "Reply": { "TargetId": "22df5e7c-0688-422b-8e5a-8ad4efc2752f", "TargetNumber": "sample string 1", "OK": true, "Message": "sample string 3" }, "Ok": true, "ErrorMessage": "sample string 2", "ErrorCode": "sample string 3", "Message": "sample string 4" }
application/xml, text/xml
Sample:
<CancelLoanApplicationReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers"> <ErrorCode>sample string 3</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <Message>sample string 4</Message> <Ok>true</Ok> <Reply xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tn.Utils"> <d2p1:Message>sample string 3</d2p1:Message> <d2p1:OK>true</d2p1:OK> <d2p1:TargetId>22df5e7c-0688-422b-8e5a-8ad4efc2752f</d2p1:TargetId> <d2p1:TargetNumber>sample string 1</d2p1:TargetNumber> </Reply> </CancelLoanApplicationReply>