Example JSON & JSONP LocalInfo Output
JSON
By requesting the data from the server by using a URL similar to this, you will end up with JSON similar to that shown below.
Request
http://localhost/Astun.iShareMaps.Web/getdata.aspx?RequestType=LocalInfo&ms=Workshop/MyHouse&format=JSON&group=Council%20and%20Democracy|CTX1&uid=141164155969
Results
{ "Results":{ "CTX":{ "Council_Tax_Band_RAW":"A", "Council_Tax_Ref":"<a href=\"somepage.aspx\">005141164155969</a>", "UPRN":"<a href=\"somepage.aspx\">141164155969</a>", "Council____Tax____Band":"Your council tax band is <strong>A</strong>.", "Council_Tax_Ref_RAW":"005141164155969", "UPRN_RAW":141164155969 } } }
JSONP
By requesting the data from the server by using a URL similar to this, you will end up with JSON similar to what is shown below.
Request
http://localhost/Astun.iShareMaps.Web/getdata.aspx?RequestType=LocalInfo&ms=Workshop/MyHouse&format=JSONP&group=Council%20and%20Democracy|CTX1&uid=141164155969
Results
import({ "Results":{ "CTX":{ "Council_Tax_Band_RAW":"A", "Council_Tax_Ref":"<a href=\"somepage.aspx\">005141164155969</a>", "UPRN":"<a href=\"somepage.aspx\">141164155969</a>", "Council____Tax____Band":"Your council tax band is <strong>A</strong>.", "Council_Tax_Ref_RAW":"005141164155969", "UPRN_RAW":141164155969 } } });
Â
Â