IWebmasterApi.GetDeepLink

Namespace: Microsoft.Bing.Webmaster.Api

IWebmasterApi.GetDeepLink Method

Get deep links for specific algo url

Syntax

List<DeepLink> GetDeepLink(
string siteUrl,
string url
)

Parameters

siteUrl
Type: System.String
Site url

url
Type: System.String
Algo url

Return Value

List of deep links

Examples

XML request sample

GET /webmaster/api.svc/pox/GetDeepLink?siteUrl=http://example.com&url=http://example.com%2fhome.php&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: 277
Content-Type: application/xml; charset=utf-8

<ArrayOfDeepLink xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DeepLink>
<Position>0</Position>
<Title>Foo</Title>
<Url>http://example.com</Url>
<Weight>Normal</Weight>
</DeepLink>
</ArrayOfDeepLink>

JSON request sample

GET /webmaster/api.svc/json/GetDeepLink?siteUrl=http://example.com&url=%22http%3a%5c%2f%5c%2fexample.com%5c%2fhome.php%22&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: 126
Content-Type: application/json; charset=utf-8


{
"d":[
{
"__type":"DeepLink:#Microsoft.Bing.Webmaster.Api",
"Position":0,
"Title":"Foo",
"Url":"http:\/\/example.com",
"Weight":2
}]
}

See Also

Show: