POST api/PersonalLoan/AddHistory

Request Information

URI Parameters

None.

Body Parameters

LoanPlanHistoryModel
NameDescriptionTypeAdditional information
PlanID

integer

None.

PlanName

string

None.

BankID

integer

None.

BankName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanID": 1,
  "PlanName": "sample string 2",
  "BankID": 3,
  "BankName": "sample string 4"
}

text/xml

Sample:
<LoanPlanHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <BankID>3</BankID>
  <BankName>sample string 4</BankName>
  <PlanID>1</PlanID>
  <PlanName>sample string 2</PlanName>
</LoanPlanHistoryModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoanPlanHistoryModel'.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 1</AlertMessage>
  <ResponseCode>Success</ResponseCode>
</ResponseBase>