Used p_api_version =>1.0, instead of p_api_version =>'1.0' and worked :)
_api_version =>1.0,
p_api_version =>'1.0'