POST api/CompanyBorrower/v1/CancelLoanApplication
Request Information
URI Parameters
None.
Body Parameters
CancelLoanApplicationRequest| Name | 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": "c64ac177-8fb2-40de-81e3-7faa0aae7479",
"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>c64ac177-8fb2-40de-81e3-7faa0aae7479</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
CancelLoanApplicationReply| Name | Description | Type | Additional information |
|---|---|---|---|
| Reply | ServiceReply |
None. |
|
| Ok | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorCode | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Reply": {
"TargetId": "55a42ee0-5d19-4c23-a19e-312bb67ba6b6",
"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>55a42ee0-5d19-4c23-a19e-312bb67ba6b6</d2p1:TargetId>
<d2p1:TargetNumber>sample string 1</d2p1:TargetNumber>
</Reply>
</CancelLoanApplicationReply>