使用此端點取得用於移轉的舊 SSL/TLS 憑證訂單的 DigiCert 憑證訂單 ID。legacy_order_id
是您的 Symantec 或 GeoTrust* SSL/TLS 憑證訂單 ID。
*如果您是合作夥伴,您沒有使用於您的 GeoTrust TLS/SSL 憑證訂單的 Symantec 訂單 ID 的存取權限。但您可以使用 GeoTrust 訂單 ID 取得您移轉的 GeoTrust 憑證訂單的 DigiCert 訂單 ID。
在您移轉使用中的公用 SSL/TLS 憑證訂單到您的新帳戶時,我們指派了唯一的 DigiCert 訂單 ID 給每份移轉的舊憑證訂單。如需更多資訊,請參閱您需要知道的與網域和憑證移轉有關的事項。
curl -X GET \
'https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id' \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id"
payload = ""
headers = {
'X-DC-DEVKEY': "{{api_key}}",
'Content-Type': "application/json"
}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
var request = require("request");
var options = { method: 'GET',
url: 'https://www.digicert.com/services/v2/oem-migration/{{legacy_order_id}}/order-id',
headers:
{ 'Content-Type': 'application/json',
'X-DC-DEVKEY': '{{api_key}}' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
{
"id": 1234
}
名稱 | 類型 | 說明 |
---|---|---|
id | string |
DigiCert 憑證訂單 ID DigiCert 憑證訂單 ID 註:使用 GeoTrust 憑證訂單 ID 時,我們會傳回最新的 DigiCert 憑證訂單 ID。 |