IWebmasterApi.UpdateDeepLink
Namespace: Microsoft.Bing.Webmaster.Api
IWebmasterApi.UpdateDeepLink Method
Update deep link weight
Syntax
void UpdateDeepLink( string siteUrl, string algoUrl, string deepLink, DeepLink.DeepLinkWeight weight )
Parameters
siteUrl
Type: System.String
Site url
algoUrl
Type: System.String
Algo url
deepLink
Type: System.String
Deep link url
weight
Type: Microsoft.Bing.Webmaster.Api.DeepLink.DeepLinkWeight
Weight
Remarks
The deep link can be disabled from showing on the SERP by using Disabled value for weight parameter.
Examples
XML request sample
POST /webmaster/api.svc/pox/UpdateDeepLink?apikey=EEDECC1EA4AE341CC57365E075EBC8B6 HTTP/1.1 Content-Type: application/xml; charset=utf-8 Host: ssl.bing.com Content-Length: 217 <UpdateDeepLink xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api"> <siteUrl>http://example.com</siteUrl> <algoUrl>http://example.com/home.php</algoUrl> <deepLink>http://example.com/deeplink</deepLink> <weight>Disabled</weight> </UpdateDeepLink>
XML response sample
HTTP/1.1 200 OK Content-Length: 0
JSON request sample
POST /webmaster/api.svc/json/UpdateDeepLink?apikey=EEDECC1EA4AE341CC57365E075EBC8B6 HTTP/1.1
Content-Type: application/json; charset=utf-8
Host: ssl.bing.com
Content-Length: 132
{
"siteUrl":"http:\/\/example.com",
"algoUrl":"http:\/\/example.com\/home.php",
"deepLink":"http:\/\/example.com\/deeplink",
"weight":0
}
JSON response sample
HTTP/1.1 200 OK
Content-Length: 10
Content-Type: application/json; charset=utf-8
{
"d":null
}
See Also
Show: