Page:
getAllSSLOrders
Pages
API Methods
API Navigation
Auth
Automatic rules
Comodo Unique Value
ConfirmLEIDataQuality
CreateNewLEI
Home
Order Auto Cancellation
Resend
Revalidate
addSSLOrder
addSSLRenewOrder
addSSLSANOrder
cancelSSLOrder
changeValidationEmail
changeValidationMethod
decodeCSR
generateCSR
getAccountBalance
getAllInvoices
getAllProductPrices
getAllProducts
getAllSSLOrders
getDomainAlternative
getDomainEmails
getDomainEmailsForGeotrust
getLEIJurisdictions
getLJurisdictions
getLeiStatus
getOrderInvoice
getOrderStatus
getOrdersStatus
getProductDetails
getProductPrice
getUnpaidOrders
getUserAgreement
getWebServers
leiLookup
reissueSSLOrder
resendValidationEmail
5
getAllSSLOrders
Igors Savins edited this page 2020-05-21 09:37:34 +03:00
Table of Contents
getAllSSLOrders
URL: /orders/ssl/all
Request type: GET
Overview
The getAllOrders method returns a list of all placed orders.
Request parameters
Data sent by the get parameter
- auth_key - The Access Token from 'Authentication - Request Access Token' is required to submit the request
- limit - Optional. The number of orders received during selection. By default - 1000
- offset - Optional. By default - 0
Response
- orders - an array of orders
- order_id - order id
- status - enum: 'processing','active','cancelled','expired','incomplete','unpaid','pending','rejected','revoked'
- limit - current limit
- offset - current offset
- count - count of extracted records
- success - success value (true)
Example
<?php
define('GOGETSSL_API', 'https://my.gogetssl.com/api');
define('GOGETSSL_TOKEN', '**************************');
$curl = curl_init();
$params = http_build_query([
'auth_key' => GOGETSSL_TOKEN,
'limit' => 1000,
'offset' => 0
]);
$endpont = 'orders/all';
$url = sprintf("%s/%s?%s",
GOGETSSL_API,
$endpont,
$params
);
curl_setopt_array($curl, [
CURLOPT_URL => $url,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
/*
PRINT:{"orders":[{"order_id":"1315727","status":"active"},{"order_id":"1315722","status":"processing"},.......], "limit":1000,"offset":0,"count":3,"success":true}
*/
API Navigation
API Methods
- "auth"
- "addSSLOrder"
- "addSSLRenewOrder"
- "addSSLSANOrder"
- "cancelSSLOrder"
- "changeValidationEmail"
- "changeValidationMethod"
- "decodeCSR"
- "validateCSR"
- "getOrderStatus"
- "getOrderInvoice"
- "getUnpaidOrders"
- "getAccountBalance"
- "getAllInvoices"
- "getAllProducts"
- "getAllProductPrices"
- "getAllSSLOrders"
- "getDomainAlternative"
- "getDomainEmails"
- "getDomainEmailsForGeotrust"
- "getProductDetails"
- "getProductPrice"
- "getUserAgreement"
- "getWebservers"
- "generateCSR"
- "reissueSSLOrder"
- "revalidate"
- "resendValidationEmail"
- "CreateNewLEI"
- "getLEIJurisdictions"
- "getLeiStatus"
- "ConfirmLEIDataQuality"
- "getAllSSLOrders"
- "leiLookup"
API Features
Other
Postman Collection
GOGETSSL API WIKI