Hi Guys,
I am trying to edit the Feature templates on vManage controller using its REST API and getting below error:
url: https://10.10.10.230/dataservice/template/feature/a42e11f6-8378-415e-9e4e-936339852e62
Body:
{
"templateName": "CSR_CAMPUS_LAN_Interface",
"templateDescription": "CSR_CAMPUS_LAN_Interface",
"templateType": "cisco_vpn_interface",
"deviceType": "vedge-CSR-1000v",
"factoryDefault": "false",
"templateMinVersion": "15.0.0",
"templateDefinition": {
"icmp-redirect-disable": {
"vipObjectType": "object",
"vipType": "ignore",
"vipValue": "true",
"vipVariableName": "vpn_if_icmp_redirect_disable"
}
}
}
Output Error:
{
"error": {
"type": "error",
"message": "Failed to Edit template",
"details": "org.glassfish.json.JsonStringImpl cannot be cast to javax.json.JsonArray",
"code": "GTEMP0005"
}
}
Any help will be highly appreciated