get_capabilities

Returns a list of available product types enabled on the account.

Request parameters

Standard request parameters

  • action = get_capabilities
  • object = trust_service

Response parameters

Standard response parameters

  • action = get_capabilities:reply
  • object = trust_service
  • is_success = Boolean 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.

Response attributes

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

ParameterObligationDefinition/Value
enabled_product_typesAlways returnedAn associative array containing enabled product types.

Example

<?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">get_capabilities</item>
        <item key="object">trust_service</item>
      </dt_assoc>
    </data_block>
  </body>
</OPS_envelope>
<?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">GET_CAPABILITIES:REPLY<item>
        <item key="object">TRUST_SERVICE<item>
        <item key="is_success">1<item>
        <item key="attributes">
          <dt_assoc>
            <item key="enabled_product_types">
              <dt_array>
                <item key="0">positivessl_wildcard<item>
                <item key="1">digicert_sslplus<item>
                <item key="2">sslwebserver_ev<item>
                <item key="3">rapidssl<item>
                <item key="4">trustwave_ev_san5<item>
                <item key="5">truebizid<item>
                <item key="6">comodo_premiumssl_wildcard<item>
                <item key="7">comodo_ssl<item>
                <item key="9">comodo_instantssl<item>
                <item key="10">digicert_sslplus_ev<item>
                ...
             <dt_array>
           <item>
         <dt_assoc>
       <item>
      <item key="response_code">200<item>
      <item key="response_text">Command completed successfully.<item>
     <dt_assoc>
   <data_block>
 <body>
</OPS_envelope>