訂單報告

GET
https://www.digicert.com/services/v2/report/order

使用此端點取得所有憑證訂單的 CSV。

cURL
curl -X GET \
  'https://www.digicert.com/services/v2/report/order?limit=3' \
  -H 'X-DC-DEVKEY: {{api_key}}'
Python
import requests

url = "https://www.digicert.com/services/v2/report/order"

querystring = {"limit":"3"}

payload = ""
headers = {'X-DC-DEVKEY': '{{api_key}}'}

response = requests.request("GET", url, data=payload, headers=headers, params=querystring)

print(response.text)
Go
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://www.digicert.com/services/v2/report/order?limit=3"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-DC-DEVKEY", "{{api_key}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
NodeJS
var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/report/order',
  qs: { limit: '3' },
  headers: { 'X-DC-DEVKEY': '{{api_key}}' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
200 OK
order_id,customer_order_id,date_created,container_id,container_name,status,user_id,organization_id,organization_name,organization_address_1,organization_address_2,organization_city,organization_state,organization_country,organization_unit,tech_first_name,tech_last_name,tech_email,tech_title,tech_telephone,server_type,issuing_ca,agreement_id,validity_years,signature_hash,dcv_method,common_name,plus_feature,dns_names,product_id,product_name_id,product_name,product_type,email,csr,valid_from,valid_till,certificate_tracker_id,is_renewed,renewed_order_id,receipt_id,disable_issuance_email,pay_type,is_out_of_contract,disable_renewal_notifications,additional_emails,auto_renew,custom_renewal_message,thumbprint,serial_number,account_id,user_first_name,user_last_name,user_email,user_assignments,cost,metadata,has_duplicates
"123456","","2018-10-26 10:15:33","112233","Will Smith","issued","123123","221133","Real Organization","123 Fake Street","","Lehi","Utah","us","IT department","Will","Smith","will.smith@example.com","Fresh Prince","8015555555","2","DigiCert Global Root CA","41","2","sha256","","example.com","1","example.com","1","ssl_plus","Standard SSL","ssl_certificate","","-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----
","2018-10-26","2020-10-30","111113","1","0","54323","0","A","1","0","","0","","123ABC","123ABC","4567890","Will","Smith","will.smith@example.com","123123","","","0"
"123455","","2018-11-16 13:14:26","112233","Will Smith","issued","123123","221133","Real Organization","123 Fake Street","","Lehi","Utah","us","Finance","Will","Smith","will.smith@example.com","Fresh Prince","8015555555","2","DigiCert Global Root CA","41","2","sha256","","example.org","1","example.org","1","ssl_plus","Standard SSL","ssl_certificate","","-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----
","2018-11-16","2020-11-20","111112","1","0","54322","0","A","1","1","","0","","123ABC","123ABC","4567890","Will","Smith","will.smith@example.com","123123","","","0"
"123454","","2018-11-16 13:19:16","112233","Will Smith","issued","257107","221133","Real Organization","123 Fake Street","","Lehi","Utah","us","Sales","Will","Smith","will.smith@example.com","Fresh Prince","8015555555","2","DigiCert Global Root CA","41","2","sha256","","*.example.org","1","*.example.org","2","ssl_wildcard","WildCard","ssl_certificate","","-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----
","2018-11-16","2020-11-20","111111","1","0","54321","0","A","1","0","","0","","123ABC","123ABC","4567890","Will","Smith","will.smith@example.com","123123","","","1"

URL 查詢字串

名稱 必填/選填 類型 說明
limit 選填 int 將清單裁剪為指定頁數。
最大:1000
offset 選填 int 在指定頁數開始清單。
預設:0

回應 CSV 欄。

所有欄參數值都包括在雙引號 (") 中。

名稱 說明
order_id 訂單 ID。
customer_order_id 客戶訂單 ID。
date_created 下訂單的日期。
格式:yyyy-MM-dd HH:mm:ss
container_id 訂單的容器 ID。
container_name 訂單的容器名稱。
狀態 訂單狀態。
請參閱詞彙 — 訂單狀態
user_id 下訂單的使用者的 ID。
organization_id 與訂單關聯的組織 ID。
organization_name 組織名稱。
organization_address_1 組織地址。
organization_address_2
organization_city 組織所位於的城市。
organization_state 組織所位於的省。
organization_country 組織所位於的國家。
organization_unit 憑證上的組織單位。
tech_first_name 技術聯絡人名字。
tech_last_name 技術聯絡人姓氏。
tech_email 技術聯絡人電郵地址。
tech_title 技術聯絡人職稱。
tech_telephone 技術聯絡人電話號碼。
server_type 伺服器平台 ID。
請參閱詞彙 — 伺服器平台
issuing_ca 發行憑證授權單位。
agreement_id CSA 同意的 ID。
validity_years 憑證有效的年數。
signature_hash 用於簽署憑證要求的簽章雜湊。
dcv_method 設定用於網域的網域控制驗證方法。
請參閱詞彙 — DCV 方法
common_name 由憑證保護安全的名稱。
plus_feature 說明是否啟用訂單的額外功能。
可能的值:0 (停用),1 (啟用)
dns_names 由憑證保護安全的其他名稱的清單。
number_of_sans 由憑證保證安全的 SAN 數目。
server_licenses 納入憑證中的伺服器授權數目
product_id 產品的 ID。
product_name_id 產品的名稱 ID。
請參閱詞彙 — 產品識別碼
product_name 顯示產品名稱。
請參閱詞彙 — 產品識別碼
product_type 產品類型。
請參閱詞彙 — 產品類型
電郵 視需要使用憑證上的電郵地址。
csr 憑證簽章要求 (CSR)。
valid_from 憑證有效期限開始日期。
格式:yyyy-MM-dd
valid_till 憑證有效期限結束日期。
格式:yyyy-MM-dd
certificate_tracker_id 憑證 ID。
is_renewed 說明訂單是否已續訂。
可能的值:0 (偽),1 (真)
renewed_order_id 之前訂單的訂單 ID。
僅在訂單續訂時傳回。
receipt_id 收據 ID。
disable_issuance_email 說明是否傳出發行的電郵。
可能的值:0 (偽),1 (真)
pay_type 訂單使用的付款方法。
可能的值:A (帳戶餘額)、C (信用卡)、U (單位)
is_out_of_contract 訂單的合約狀態。
可能的值:0 (偽),1 (真)
disable_renewal_notifications 說明是否啟用續訂通知。
可能的值:0 (偽),1 (真)
additional_emails 訂單上的其他電郵地址。
auto_renew 說明憑證是否應該自動續訂。
可能的值:0 (停用),1 (啟用)
custom_renewal_message 續訂通知中納入的自訂訊息。
指紋 憑證的指紋。
serial_number 憑證的序號。
account_id 與訂單關聯的帳戶 ID。
user_first_name 要求憑證的使用者的名字。
user_last_name 要求憑證的使用者的姓氏。
user_email 要求憑證的使用者的電郵地址。
user_assignments 指派給訂單的使用者的 ID。
費用 訂單費用。
可能的值:基於 $,基於單位
中繼資料 自訂欄位詳細資料。
格式:{{metadata_id}}{{metadata_label}}{{metadata_value}}
資料分隔符號:0x1f
has_duplicates 說明憑證是否有複本。
可能的值:0 (偽),1 (真)