Get Range’s information by one of its wine’s Vincod. If you have a wine’s Vincod and you want to have all the information about its range, you can use this function to get it.
Resource URL
https://api.vincod.com/3/json/range/GetRangeByVincod/fr/VINCOD?apiKey=YOURAPIKEY
Parameters
Format : json or xml
Target : range
Method : GetRangeByVincod
Language : fr
VINCOD : Product’s Vincod
Example Response
{
"wineries":{
"winery":{
"vincod":"1043GSZ4XO",
"parentid":"3185D2GHAF",
"name":"Estandon",
"address":"",
"postcode":"",
"city":"",
"country":"",
"email":"",
"phone":"",
"fax":"",
"website":"",
"blog":"",
"shop":"",
"facebook":"",
"twitter":"",
"youtube":"",
"instagram":"",
"pinterest":"",
"logo":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413.png",
"picture":"",
"gmaps":"",
"type":"",
"subtype":"",
"owner_vincod":"463PCVBN25",
"family_vincod":"8F8CQX5UG3",
"vincods":{
"vincod":[
{
"value":"8Z4XTF",
"language":"fr"
},
{
"value":"YB97NF",
"language":"fr"
},
{
"value":"L88E6F",
"language":"fr"
},
{
"value":"YMG98F",
"language":"fr"
},
{
"value":"ZY3Y6F",
"language":"fr"
},
{
"value":"68GKJF",
"language":"fr"
},
{
"value":"XV5YLF",
"language":"fr"
},
{
"value":"5GNT8F",
"language":"fr"
},
{
"value":"F179ZF",
"language":"fr"
},
{
"value":"4868FF",
"language":"fr"
},
{
"value":"PL51XF",
"language":"fr"
},
{
"value":"70AJAF",
"language":"fr"
},
{
"value":"IMGU6F",
"language":"fr"
},
{
"value":"AD771F",
"language":"fr"
},
{
"value":"60D00F",
"language":"fr"
},
{
"value":"8Q58YF",
"language":"fr"
},
{
"value":"J87T0F",
"language":"fr"
},
{
"value":"FG6CYF",
"language":"fr"
},
{
"value":"WE8IXF",
"language":"fr"
},
{
"value":"7A2WVF",
"language":"fr"
},
{
"value":"VI36MF",
"language":"fr"
},
{
"value":"QZJ8WF",
"language":"fr"
},
{
"value":"A3D72F",
"language":"fr"
},
{
"value":"6M2BJF",
"language":"fr"
},
{
"value":"8KW68F",
"language":"fr"
},
{
"value":"U7AR4F",
"language":"fr"
},
{
"value":"C6FZCF",
"language":"fr"
},
{
"value":"9X0Q0F",
"language":"fr"
},
{
"value":"FX0A7F",
"language":"fr"
}
]
},
"signature":{
"label":"Signature",
"value":""
},
"medias":{
"media":{
"name":"Estandonpng",
"type":"png",
"zone":"0",
"ordre":"1",
"url":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413.png",
"url_mini":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413_mini.png",
"url_320":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413_320.png",
"url_640":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413_640.png",
"url_1024":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413_1024.png",
"url_retina":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413_retina.png",
"preview":"http:\/\/cdn.vin.co\/_clients_folder\/estandon\/_estandon_16413_mini.png"
}
},
"medias_ipad":""
}
}
}
Errors
{ "wineries":{ "error":"No range found." } }
No range has been found. Check if VINCOD is not in a Winery that has no ranges. Check if VINCOD is correct or ask support to confirm your APIKey is allowed to access this owner.
{ "wineries":{ "error":"Invalid or not provided apikey." } }
You’re APIKey does not provide any access. Check if APIKey is correct or ask support to confirm your APIKey’s authorizations.