Sorry, you need to enable JavaScript to visit this website.

4 Add Building Information

Action

Using your clientID, clientSecret (which you obtained when you created an application) and applicationReference which is retrieved in create insurance application call you will make a Post request using the endpoint and values below to add one or more buildings information.

Method POST
Endpoint https://b2b-api.nedbank.co.za/apimarket/b2b-sb/shortterminsurance/v1/application/<APPLICATION_REFERENCE>/buildings
Note Replace <APPLICATION_REFERENCE> that you received in create insurance application step.
Request
Headers
Header Value Description
x-ibm-client-id <YOUR CLIENT ID> The client ID you received when creating the app on the portal.
x-ibm-client-secret <YOUR CLIENT SECRET> The client secret you received when creating the app on the portal.

Body JSON
                                
[
    {
        "coverType": "Basic",
        "insuredValue": {
            "value": 1500000,
            "currency": "ZAR"
        },
        "basicExcess": {
            "value": REPLACE WITH VALUE FROM GET REFERENCE DATA STEP,
            "currency": "ZAR"
        },
        "riskAddress": {
            "line1": "My happy home",
            "suburb": "warxd",
            "province": "warxd",
            "postalCode": "1234"
        }
    }
]
                                
                                
Response JSON
                            
{
    "status": "success"
}