---
updatedAt: 2025-11-11T21:42:30.000Z
agentTools:
  projectIndex: https://domains.opensrs.guide/llms.txt
---

# request_on_demand_scan

If you have a Symantec or SiteLock seal, or the GeoTrust Web Site Anti- Malware Scan product, and you have corrected a malware issue on your site, you can ask the SSL Service provider to rescan your system immediately and reinstate the Seal.

> 📘 Note:
>
> You can only request a scan if the SSL Seal order is complete.

## Request parameters for request\_on\_demand\_scan

## Standard parameters

* **action** = request\_on\_demand\_scan
* **object** = trust\_service

## Attributes

Parameters within the **attributes** associative array are described below.

> 📘 Note:
>
> You must specify at least one of these parameters.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        order\_id
      </td>

      <td>
        Optional
      </td>

      <td>
        The SSL Service order ID number.
      </td>
    </tr>

    <tr>
      <td>
        product\_id
      </td>

      <td>
        Optional
      </td>

      <td>
        The SSL Service product ID number.
      </td>
    </tr>
  </tbody>
</Table>

## Response parameters for request\_on\_demand\_scan

## Standard parameters

* **action** = reply
* **object** = trust\_service
* **is\_success** = a Boolean is returned, indicating success or failure of the request
* **response\_code** = response code indicating outcome of the request
* **response\_text** = message describing the outcome of the request

## Attributes

If the request is successful, the **attributes** associative array may include the\
following:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        product\_id
      </td>

      <td>
        Returned if **is\_success = true**
      </td>

      <td>
        The SSL Service ID number.
      </td>
    </tr>
  </tbody>
</Table>

## Examples for request\_on\_demand\_scan

## Example 1

This example requests a scan for a site by submitting the product ID.

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">request_on_demand_scan</item>
                <item key="object">trust_service</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="product_id">275</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">TRUST_SERVICE</item>
                <item key="response_text">Command completed successfully.</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="product_id">275</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

## Example 2

This example requests a scan for a site by submitting the order ID.

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">request_on_demand_scan</item>
                <item key="object">trust_service</item>
                <item key="action">REQUEST_ON_DEMAND_SCAN</item>
                <attributes>
                    <item key="order_id">49841</item>
                </attributes>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">TRUST_SERVICE</item>
                <item key="response_text">Command completed successfully.</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="product_id">275</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```