When using the API to place an order for a VIP, it is failing with a non intuitive error message. Please see the following REST API call JSON and the ensuing error:
JSON:
{
"loadBalancer": {
"name": "lbName_TEST",
"id" : 123,
"type": "HTTP",
"sourcePort": 80,
"virtualIpAddress": "123.123.123.123"
}
}
REST API URL USED:
https://user.name:longid4235234532@api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller/15293/createLiveLoadBalancer.json
{
"error": "Invalid port supplied.",
"code": "SoftLayer_Exception_Public"
}
The question that arises is this. We are trying to script the ordering of a VPX Netscaler and the addition of all related configurations to the created VPX, are we doing something out of order?