SSLListProducts

Retrieve list with available SSL products. Needed for function SSLCertificateOrder.

Input

None

Output

Parameter Value Example value
success command executed successfully 0 = error
1 = command executed successfully
command_response_message Error
Only sent when value parameter success = 0
incorrect password
total_count Totaal aantal actieve producten
Only sent when value parameter success = 1
20
id_X ID (numeric).
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
10
supplier_X Certificate supplier.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
geotrust
type_X Type certificate. Possible values are domain-validation, wildcard or extended-validation.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
wildcard
multi_domain_X Multi domain EV. Possible values are 0 or 1.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1 and type_x = extended-validation
0
price_1year_X 1 year price. VAT is not included in price.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
3.99
price_2year_X 2 year price. VAT is not included in price.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
5.99
price_3year_X 3 year price. VAT is not included in price.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
8.99
max_years_x The maximum amount of year the certificate can be bought.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
3


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "SSLListProducts" ); $api = new Versio_api(); $versio = $api->api_send( $command ); IF($versio['success']==0) { echo("Error occured. Error code: ".$versio['command_response_code'].". Error message: ".$versio['command_response_message'].""); } else { IF($versio['total_count']>0) { ?> <table> <? $teller = 1; while($versio['total_count']>=$teller) { ?> <tr> <td><? echo $versio['id_'.$teller]; ?></td> <td><? echo $versio['supplier_'.$teller]; ?></td> <td><? echo $versio['type_'.$teller]; ?></td> <td><? echo $versio['multi_domain_'.$teller]; ?></td> <td><? echo $versio['price_1year_'.$teller]; ?></td> <td><? echo $versio['price_2year_'.$teller]; ?></td> <td><? echo $versio['price_3year_'.$teller]; ?></td> <td><? echo $versio['max_years_'.$teller]; ?></td> </tr> <? $teller++; } ?> </table> <? } else { echo("No products found."); } } ?>