IWebmasterApi.GetQueryParameters
Namespace: Microsoft.Bing.Webmaster.Api
IWebmasterApi.GetQueryParameters Method
Get list of url normalization parameters
Syntax
List<QueryParameter> GetQueryParameters(
string siteUrl
)
Parameters
Return Value
List of url normalization parameters.
Examples
XML request sample
GET /webmaster/api.svc/pox/GetQueryParameters?siteUrl=http%3a%2f%2fexample.com%2f&apikey=EEDECC1EA4AE341CC57365E075EBC8B6 HTTP/1.1 Content-Type: application/xml; charset=utf-8 Host: ssl.bing.com
XML response sample
HTTP/1.1 200 OK Content-Length: 2109 Content-Type: application/xml; charset=utf-8 <?xml version="1.0"?> <ArrayOfQueryParameter xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <QueryParameter> <Date>2011-08-22T16:40:58.933Z</Date> <IsEnabled>false</IsEnabled> <Parameter>cart</Parameter> <Source>1</Source> </QueryParameter> <QueryParameter> <Date>2011-10-25T10:22:34.368Z</Date> <IsEnabled>false</IsEnabled> <Parameter>d</Parameter> <Source>1</Source> </QueryParameter>< </ArrayOfQueryParameter>
JSON request sample
GET /webmaster/api.svc/json/GetQueryParameters?siteUrl=http%3a%2f%2fexample.com%2f&apikey=EEDECC1EA4AE341CC57365E075EBC8B6 HTTP/1.1 Content-Type: application/json; charset=utf-8 Host: ssl.bing.com
JSON response sample
HTTP/1.1 200 OK
Content-Length: 1857
Content-Type: application/json; charset=utf-8
{"d":[
{"__type":"QueryParameter:#Microsoft.Bing.Webmaster.Api","Date":"\/Date(1314031258933)\/","IsEnabled":false,"Parameter":"cart","Source":1}
,{"__type":"QueryParameter:#Microsoft.Bing.Webmaster.Api","Date":"\/Date(1303514052179-0700)\/","IsEnabled":false,"Parameter":"sdkfjwroif()*)(sdflsjflskjfslfjsfls","Source":1}
,{"__type":"QueryParameter:#Microsoft.Bing.Webmaster.Api","Date":"\/Date(1304661388910-0700)\/","IsEnabled":false,"Parameter":"sfdsdfs","Source":1}
,{"__type":"QueryParameter:#Microsoft.Bing.Webmaster.Api","Date":"\/Date(1313688208472-0700)\/","IsEnabled":false,"Parameter":"x:test","Source":1}]}
See Also
Show: