Creating an asset against an opportunity
URL: https://sandbox.connective.com.au/mercury-v1/{token}/opportunities/{id}/assets
METHOD: POST
Sample request
{
"name":"Car",
"type":"Motor Vehical",
"value":10000
}
Fetching assets for an opportunity
URL: https://sandbox.connective.com.au/mercury-v1/{token}/opportunities/{id}/assets
METHOD: GET
Sample request
[{
"uniqueId": "78604a87-14e2-11e7-a0a2-00155d009933",
"company": "P200052",
"parentType": "loan",
"parentId": "75c95e64-14e2-11e7-a0a2-00155d009933",
"name": "Car",
"type": "Motor Vehical",
"value": 10000,
"realEstateUseAsSecurity": false,
"realEstateToBePurchased": true,
"realEstateRentalIncome": 0,
"realEstateRentalEvidenceOfTenancy": false,
"existingMortgageBalance": 0,
"existingMortgageRepayment": 0,
"existingMortgageRepaymentClearing": false,
"address": {
"uniqueId": "790d65a0-14e2-11e7-a0a2-00155d009933",
"company": "P200052",
"parentID": "78604a87-14e2-11e7-a0a2-00155d009933",
"parentType": "asset",
"isCorrespondenceAddress": false,
"requiresConfirmation": false,
"poBoxType": "",
"addrGeoLongitude": "0.00000000",
"addrGeoLatitude": "0.00000000"
}
}]
Updating an asset
URL: https://sandbox.connective.com.au/mercury-v1/{token}/opportunities/{id}/assets/{assetId}
METHOD: PUT
Sample request
{
"name":"Car",
"type":"Motor Vehical",
"value":10000
}
Deleting an asset
URL: https://sandbox.connective.com.au/mercury-v1/{token}/opportunities/{id}/assets/{assetId}
METHOD: PUT
Sample request
{
"isDeleted":true
}
Comments
0 comments
Article is closed for comments.