Cookie Type LocalInfo Request
If a request is made without either the uid or the areaid then the atLocation cookie must be passed across. If this is, then the relevant property based search is performed from this cookie.
All Layers Request
Here the cookie that exists is used to pull out all Layers from the Layer Group "Environment and Planning" for the MapSource "Elmbridge/MyHouse". As there are multiple layers the RSS will have multiple channels returned - one per layer.
This will not work with JSON output as this requires a Layer name.
getdata.aspx?RequestType=RSS&ms=Elmbridge/MyHouse&group=Environment and Planning
Single Layer Request
Now to get a single Layer change the URL to:
getdata.aspx?RequestType=RSS&ms=Elmbridge/MyHouse&group=Environment and Planning|Last 3 months applications within 500m
Please note that the Layer Group and Layer names are the Display Names - easier for developers to see!
If no cookie exists the following errors are returned
uid (UniqueId) Request
If a uid is passed across this will override the cookie. The co-ordinates are retrieved from the AstunLocationLookup table in Data Share. The only difference is that you append the uid= parameter
getdata.aspx?RequestType=RSS&ms=Elmbridge/MyHouse&group=Environment and Planning|Last 3 months applications within 500m&uid=100061306691
areaid (Area name) Request
If an areaid is passed across then a direct search is performed against the Area Search Layer for that areaid as defined for the MyHouse MapSource.
getdata.aspx?RequestType=RSS&ms=Elmbridge/MyArea&group=Test results|Planning&areaid=43UBGS
Having the MapSource configured correctly as an Area Search type is important otherwise you'll receive an ERROR
getdata.aspx?RequestType=RSS&ms=Elmbridge/MyHouse&group=Environment and Planning|Last 3 months applications within 500m&areaid=43UBGS
the above is calling a point based MapSource (/MyHouse) therefore an error is returned: