IWebmasterApi.GetUrlSubmissionQuota(String) Method

Definition

Get url submission quota

public:
 Microsoft::Bing::Webmaster::Api::Interfaces::UrlSubmissionQuota ^ GetUrlSubmissionQuota(System::String ^ siteUrl);
[System.ServiceModel.FaultContract(typeof(Microsoft.Bing.Webmaster.Api.Interfaces.ApiFault))]
[System.ServiceModel.OperationContract]
[System.ServiceModel.Web.WebGet(BodyStyle=System.ServiceModel.Web.WebMessageBodyStyle.WrappedRequest)]
public Microsoft.Bing.Webmaster.Api.Interfaces.UrlSubmissionQuota GetUrlSubmissionQuota (string siteUrl);
abstract member GetUrlSubmissionQuota : string -> Microsoft.Bing.Webmaster.Api.Interfaces.UrlSubmissionQuota
Public Function GetUrlSubmissionQuota (siteUrl As String) As UrlSubmissionQuota

Parameters

siteUrl
String

Returns

Attributes

Examples

XML request sample

GET /webmaster/api.svc/pox/GetUrlSubmissionQuota?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: 227
Content-Type: application/xml; charset=utf-8

<UrlSubmissionQuota xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DailyQuota>5</DailyQuota>
<MonthlyQuota>24</MonthlyQuota>
</UrlSubmissionQuota>

JSON request sample

GET /webmaster/api.svc/json/GetUrlSubmissionQuota?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: 100
Content-Type: application/json; charset=utf-8


{
"d":
{
"__type":"UrlSubmissionQuota:#Microsoft.Bing.Webmaster.Api",
"DailyQuota":5,
"MonthlyQuota":24
}
}

Remarks

Applies to