//insert code here
POST https://bvhq11p.visahq.org/v0/services/5/search
// HTTP request headers
{
"Date": "", /*Thu, 01 Aug 2019 09:35:33 GMT*/
"Token": "",
"Authorization": "",
}
// HTTP request body
{
"residency": "CN", //customer’s residency
"citizenship": "CN", //customer’s citizenship
"destination": enum ("TR","LK","IN","KH","VN","MM","TJ","GE","KG","AM","AZ","…"), //destinations alpha2 code
"visa_group": 68, //visa type (tourist, business, etc.)
}
//response example
{
"id":,
"service_id":,
"residency":"",
"citizenship":"",
"destination":"",
"visa_group":,
"Prices":[
// bold selection below is iterative and shows all available combinations of visa processing times
// and visa types. Cost information should be ignored
/strong {
/strong "keys":{
/strong "proc_time":{
/strong "id":4,
/strong "name":"2-3 business days",
/strong "days_count":3
/strong },
/strong "visa_type":{
/strong "id":3,
/strong "name":"90 days Multiple Entry"
/strong }
/strong },
/strong "fields":[
/strong {
/strong "id":"0",
/strong "label":"Embassy fee",
/strong "Value":88
/strong },
/strong {
/strong "id":"1",
/strong "label":"Service fee",
/strong "value":35.7
/strong }]
/strong }/end_strong]
}
//end code
Returns 404 if no application available