POST api/v1/credit/loan-application/prepared-offer-letter/final

Request Information

URI Parameters

None.

Body Parameters

OfferLetterTemplateViewModel
NameDescriptionTypeAdditional information
documentTemplate

string

None.

documentId

integer

None.

applicationReferenceNumber

string

None.

productId

integer

None.

comments

string

None.

isAccepted

boolean

None.

approvedAmount

decimal number

None.

isFinal

boolean

None.

saveOnly

boolean

None.

loanApplicationId

integer

None.

companyId

integer

None.

companyName

string

None.

company

string

None.

createdBy

integer

None.

lastUpdatedBy

integer

None.

dateTimeCreated

date

None.

dateTimeUpdated

date

None.

deleted

boolean

None.

deletedBy

integer

None.

dateTimeDeleted

date

None.

canModified

boolean

None.

userBranchId

integer

None.

sourceBranchId

integer

None.

userIPAddress

string

None.

applicationUrl

string

None.

systemCurrentDate

date

None.

systemArrivalDateTime

date

None.

staffId

integer

None.

username

string

None.

passCode

string

None.

countryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "documentTemplate": "sample string 1",
  "documentId": 2,
  "applicationReferenceNumber": "sample string 3",
  "productId": 1,
  "comments": "sample string 4",
  "isAccepted": true,
  "approvedAmount": 6.0,
  "isFinal": true,
  "saveOnly": true,
  "loanApplicationId": 9,
  "companyId": 10,
  "companyName": "sample string 11",
  "company": "sample string 12",
  "createdBy": 13,
  "lastUpdatedBy": 14,
  "dateTimeCreated": "2025-05-18T05:43:23.7631971+01:00",
  "dateTimeUpdated": "2025-05-18T05:43:23.7631971+01:00",
  "deleted": true,
  "deletedBy": 1,
  "dateTimeDeleted": "2025-05-18T05:43:23.7631971+01:00",
  "canModified": true,
  "userBranchId": 18,
  "sourceBranchId": 19,
  "userIPAddress": "sample string 20",
  "applicationUrl": "sample string 21",
  "systemCurrentDate": "2025-05-18T05:43:23.7631971+01:00",
  "systemArrivalDateTime": "2025-05-18T05:43:23.7631971+01:00",
  "staffId": 22,
  "username": "sample string 23",
  "passCode": "sample string 24",
  "countryId": 25
}

application/xml, text/xml

Sample:
<OfferLetterTemplateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels.Credit">
  <applicationUrl xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">sample string 21</applicationUrl>
  <canModified xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">true</canModified>
  <company xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">sample string 12</company>
  <companyId xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">10</companyId>
  <companyName xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">sample string 11</companyName>
  <countryId xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">25</countryId>
  <createdBy xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">13</createdBy>
  <dateTimeCreated xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">2025-05-18T05:43:23.7631971+01:00</dateTimeCreated>
  <dateTimeDeleted xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">2025-05-18T05:43:23.7631971+01:00</dateTimeDeleted>
  <dateTimeUpdated xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">2025-05-18T05:43:23.7631971+01:00</dateTimeUpdated>
  <deleted xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">true</deleted>
  <deletedBy xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">1</deletedBy>
  <lastUpdatedBy xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">14</lastUpdatedBy>
  <passCode xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">sample string 24</passCode>
  <sourceBranchId xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">19</sourceBranchId>
  <staffId xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">22</staffId>
  <systemArrivalDateTime xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">2025-05-18T05:43:23.7631971+01:00</systemArrivalDateTime>
  <systemCurrentDate xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">2025-05-18T05:43:23.7631971+01:00</systemCurrentDate>
  <userBranchId xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">18</userBranchId>
  <userIPAddress xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">sample string 20</userIPAddress>
  <username xmlns="http://schemas.datacontract.org/2004/07/FintrakBanking.ViewModels">sample string 23</username>
  <applicationReferenceNumber>sample string 3</applicationReferenceNumber>
  <approvedAmount>6</approvedAmount>
  <comments>sample string 4</comments>
  <documentId>2</documentId>
  <documentTemplate>sample string 1</documentTemplate>
  <isAccepted>true</isAccepted>
  <isFinal>true</isFinal>
  <loanApplicationId>9</loanApplicationId>
  <productId>1</productId>
  <saveOnly>true</saveOnly>
</OfferLetterTemplateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />