IWebmasterApi.GetContentSubmissionQuota(String) Method

Definition

public:
 Microsoft::Bing::Webmaster::Api::Interfaces::ContentSubmissionQuota ^ GetContentSubmissionQuota(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.ContentSubmissionQuota GetContentSubmissionQuota (string siteUrl);
abstract member GetContentSubmissionQuota : string -> Microsoft.Bing.Webmaster.Api.Interfaces.ContentSubmissionQuota
Public Function GetContentSubmissionQuota (siteUrl As String) As ContentSubmissionQuota

Parameters

siteUrl
String

Returns

ContentSubmissionQuota
Attributes

Examples

XML request sample

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

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

JSON request sample

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


{
"d": 
{
"__type": "ContentSubmissionQuota:#Microsoft.Bing.Webmaster.Api",
"DailyQuota": 100,
"MonthlyQuota": 3000
}
}

Remarks

Applies to