API – Getting Collateral Information

General

In order to retrieve collateral information on a loan from the API, use the following GET request:

GET https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(9080)/Collateral

Make sure to keep in mind that you'll need to replace the loan ID with your own.

The response should look something like this:

{
"d": {
"results": [
{
"__metadata": {
"uri": "http://loanpro.simnang.com/api/public/api/1/odata.svc/Collateral(id=854)",
"type": "Entity.Collateral"
},
"Loan": {
"__deferred": {
"uri": "Collateral(id=854)/Loan"
}
},
"CustomFieldValues": {
"__deferred": {
"uri": "Collateral(id=854)/CustomFieldValues"
}
},
"id": 854,
"loanId": 9080,
"a": "1981",
"b": "Delorean",
"c": "DMC-12",
"d": "Flux Capacitor",
"additional": null,
"collateralType": "collateral.type.car",
"positionId": 1,
"vin": "3B7HC13Z7TG112627",
"distance": 6245,
"bookValue": "12000.00",
"color": "grey",
"gpsStatus": "collateral.gpsstatus.installed",
"gpsCode": "121GW",
"licensePlate": "OUTATIME",
"gap": "500",
"warranty": "10000"
}
],
"summary": {
"start": 0,
"pageSize": 50,
"total": 1
}
}
}


How did we do?


Powered by HelpDocs (opens in a new tab)