IWebmasterApi.GetCrawlIssues
Collapse the table of content
Expand the table of content

IWebmasterApi.GetCrawlIssues

Namespace: Microsoft.Bing.Webmaster.Api

IWebmasterApi.GetCrawlIssues Method

Get list of crawl issues for specific site

Syntax

List<UrlWithCrawlIssues> GetCrawlIssues(
string siteUrl
)

Parameters

siteUrl
Type: System.String
Site url

Return Value

List of crawl issues

Remarks

It may take a few days before fixed issue will disappear from this list.

Examples

XML request sample

GET /webmaster/api.svc/pox/GetCrawlIssues?siteUrl=http://example.com&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: 319
Content-Type: application/xml; charset=utf-8

<ArrayOfUrlWithCrawlIssues xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<UrlWithCrawlIssues>
<HttpCode>200</HttpCode>
<Issues>ContainsMalware</Issues>
<Url>http://example.com/url1.htm</Url>
<InLinks>10</InLinks>
</UrlWithCrawlIssues>
</ArrayOfUrlWithCrawlIssues>

JSON request sample

GET /webmaster/api.svc/json/GetCrawlIssues?siteUrl=http://example.com&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: 135
Content-Type: application/json; charset=utf-8


{
"d":[
{
"__type":"UrlWithCrawlIssues:#Microsoft.Bing.Webmaster.Api",
"HttpCode":200,
"Issues":32,
"Url":"http:\/\/example.com\/url1.htm",
"InLinks":10
}]
}

See Also

Show:
© 2016 Microsoft