Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

IWebmasterApi.GetUrlSubmissionQuota

Namespace: Microsoft.Bing.Webmaster.Api

IWebmasterApi.GetUrlSubmissionQuota Method

Get url submission quota

Syntax

UrlSubmissionQuota GetUrlSubmissionQuota(
string siteUrl
)

Parameters

siteUrl
Type: System.String
Site Url

Return Value

Url submission quota for current day and month.

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
}
}

See Also

Show:
© 2015 Microsoft