Share via


IWebmasterApi.GetChildrenUrlTrafficInfo(String, String, UInt16) Method

Definition

Get index traffic details for directory

public:
 System::Collections::Generic::List<Microsoft::Bing::Webmaster::Api::Interfaces::UrlTrafficInfo ^> ^ GetChildrenUrlTrafficInfo(System::String ^ siteUrl, System::String ^ url, System::UInt16 page);
[System.ServiceModel.FaultContract(typeof(Microsoft.Bing.Webmaster.Api.Interfaces.ApiFault))]
[System.ServiceModel.OperationContract]
[System.ServiceModel.Web.WebGet(BodyStyle=System.ServiceModel.Web.WebMessageBodyStyle.WrappedRequest)]
public System.Collections.Generic.List<Microsoft.Bing.Webmaster.Api.Interfaces.UrlTrafficInfo> GetChildrenUrlTrafficInfo (string siteUrl, string url, ushort page);
abstract member GetChildrenUrlTrafficInfo : string * string * uint16 -> System.Collections.Generic.List<Microsoft.Bing.Webmaster.Api.Interfaces.UrlTrafficInfo>
Public Function GetChildrenUrlTrafficInfo (siteUrl As String, url As String, page As UShort) As List(Of UrlTrafficInfo)

Parameters

siteUrl
String
url
String
page
UInt16

Returns

Attributes

Examples

XML request sample

GET /webmaster/api.svc/pox/GetChildrenUrlTrafficInfo?siteUrl=http://example.com&url=example.com&page=0&apikey=sampleapikeyedecc1ea4ae341cc8b6 HTTP/1.1
Content-Type: application/xml; charset=utf-8
Host: ssl.bing.com

XML response sample

HTTP/1.1 200 OK
Content-Length: 302
Content-Type: application/xml; charset=utf-8

<ArrayOfUrlTrafficInfo xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<UrlTrafficInfo>
<Clicks>10</Clicks>
<Impressions>100</Impressions>
<IsPage>false</IsPage>
<Url>example.com</Url>
</UrlTrafficInfo>
</ArrayOfUrlTrafficInfo>

JSON request sample

GET /webmaster/api.svc/json/GetChildrenUrlTrafficInfo?siteUrl=http://example.com&url=%22example.com%22&page=0&apikey=sampleapikeyedecc1ea4ae341cc8b6 HTTP/1.1
Content-Type: application/json; charset=utf-8
Host: ssl.bing.com

JSON response sample

HTTP/1.1 200 OK
Content-Length: 130
Content-Type: application/json; charset=utf-8


{
"d":[
{
"__type":"UrlTrafficInfo:#Microsoft.Bing.Webmaster.Api",
"Clicks":10,
"Impressions":100,
"IsPage":false,
"Url":"example.com"
}]
}

Remarks

Applies to