Hi all,
Have a whale of a time trying to get my first REST service set up.
I've moved away from ASPRunner (which was so very easy to set up consuming REST api) and can't get my head around the RadZen way or the short tutorial on docs site.
Scenario: I enter vehicle Registration plate into a field and use this as a parameter in the query string to return the following Json result:
"idh":
{
"plate":"JODIZ",
"query_type":"IDH",
"date":"20220504",
"created":1651609029,
"response_version":2,
"keep":0,
"motochek_transaction_id":344065691,
"header":
{
"not_found":"",
"not_assigned":false
},
"vehicle":
{
"year_of_manufacture":"2008",
"make":"AUDI",
"model":"A3",
"submodel":"",
"body_style":"HA",
"vehicle_type":"07",
"vin":"WAUZZZ8P78A203098",
"chassis":"WAUZZZ8P78A203098",
"engine_no":"BZB",
"cc_rating":1790,
"main_colour":"Black",
"second_colour":"",
"reported_stolen":"N",
"country_of_origin":"GER",
"assembly_type":"1",
"gross_vehicle_mass":1735,
"no_of_seats":5,
"fuel_type":"01",
"alternative_fuel_type":"",
"registration_status":"A",
"previous_country_of_registration":"JPN",
"year_of_first_registration_overseas":2008,
"month_of_first_registration_overseas":9,
"plate":"JODIZ"
},
"created_sto":1651609029
},
"hidh":null,
"ioh":null,
"hioh":null,
"irh":null,
"hirh":null
}
}
For the life of me, I cannot get the schema set up to work.
For the life of me I cannot figure out how to get my query string set up to accept the "plate" parameter for the lookup!
Please help....