Enables one or more site monitoring tasks.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | EnableSiteMonitors |
The operation that you want to perform. Set the value to EnableSiteMonitors. |
TaskIds | String | Yes | 49f7b317-7645-4cc9-94fd-ea42e522****,49f7b317-7645-4cc9-94fd-ea42e522**** |
The IDs of the site monitoring tasks to enable. Separate multiple task IDs with commas (,). |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | 200 |
The HTTP status code. The status code 200 indicates that the call was successful. |
Data | String | {"count": 0} |
The number of the site monitoring tasks that were enabled. |
Message | String | Successfully |
The returned message. |
RequestId | String | 3fcd12e7-d387-42ee-b77e-661c775bb17f |
The ID of the request. |
Success | String | true |
Indicates whether the call was successful. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=EnableSiteMonitors
&TaskIds=49f7b317-7645-4cc9-94fd-ea42e522****,49f7b317-7645-4cc9-94fd-ea42e522****
&<Common request parameters>
Sample success responses
XML
format
<DisableSiteMonitorsResponse>
<Message>successful</Message>
<RequestId>3fcd12e7-d387-42ee-b77e-661c775bb17f</RequestId>
<Code>200</Code>
<Success>true</Success>
</DisableSiteMonitorsResponse>
JSON
format
{
"Data":"{\"count\":1}",
"Message":"successful",
"RequestId":"3fcd12e7-d387-42ee-b77e-661c775bb17f",
"Success":true,
"Code":"200"
}
Error codes
For a list of error codes, visit the API Error Center.