API - Add Insurance to a Loan

General

This article assumes that you have an existing loan. If not, see Creating a Loan with the API.

To add insurance to a Loan, you will need to send a PUT request to the url of the desired loan. For example, to add insurance to a loan with id 515 the url would be https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(515).

Request Body

The request body will be formatted as follows:

{
    "Insurance": {
        "companyName": "State Farm",
        "insured": "Jane Doe",
        "agentName": "Mr. Agent",
        "policyNumber": "EIRK-049203-0498",
        "phone": "5555555555",
        "deductible": "900.00",
        "startDate": "2015-01-15",
        "endDate": "2015-01-15"
    }
}
  • companyName: The name of the Insurance Company
  • insured: The name of the insured individual
  • agentName: The name of the insurance agent for the individual
  • policyNumber: The number of the insurance policy
  • phone: The phone number of the insurance company
  • deductible: The deductible amount of the insurance policy
  • startDate: The start date of the insurance policy as a YYYY-MM-DD
  • endDate: The end date of the insurance policy as YYYY-MM-DD


How did we do?


Powered by HelpDocs (opens in a new tab)