使用此端點取得有關組織的詳細資料。
curl -X GET \
'https://www.digicert.com/services/v2/organization/{{organization_id}}' \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/organization/{{organization_id}}"
headers = {
'X-DC-DEVKEY': "{{api_key}}",
'Content-Type': "application/json"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/organization/{{organization_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/organization/{{organization_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": 112233,
"status": "active",
"name": "Epigyne Unwieldiness llc",
"assumed_name": "Epigyne Unwieldiness",
"display_name": "Epigyne Unwieldiness llc (Epigyne Unwieldiness)",
"is_active": true,
"address": "932 Prospect Street",
"address2": "Floor 08",
"zip": "40849",
"city": "Minneapolis",
"state": "mn",
"country": "us",
"telephone": "666-186-6450",
"container": {
"id": 4,
"parent_id": 0,
"name": "DigiCert Inc.",
"is_active": true
},
"organization_contact": {
"id": 184,
"first_name": "Gia",
"last_name": "Booth",
"email": "gia.booth@inbox.com",
"job_title": "Clinical Laboratory Technician",
"telephone": "666-186-6450",
"telephone_extension": "736"
}
}
{
"id": 112236,
"status": "active",
"name": "Palaeontography Enigmatic Corp.",
"assumed_name": "Palaeontography Enigmatic",
"display_name": "Palaeontography Enigmatic Corp. (Palaeontography Enigmatic)",
"is_active": true,
"address": "695 Monroe Drive",
"address2": "Bldg 74",
"zip": "18851",
"city": "Pittsburgh",
"state": "pa",
"country": "us",
"telephone": "546-438-8237",
"container": {
"id": 4,
"parent_id": 0,
"name": "DigiCert Inc.",
"is_active": true
},
"organization_contact": {
"id": 12,
"first_name": "Julissa",
"last_name": "Woodard",
"email": "julissa.woodard@mail.com",
"job_title": "Telemarketer",
"telephone": "546-438-8237",
"telephone_extension": "215"
},
"ev_approvers": [
{
"id": 16,
"first_name": "Destinee",
"last_name": "Church"
}
],
"extended_validation": {
"business_category": "Private Organization",
"registration_number": "12345",
"jurisdiction_city": "Lehi",
"jurisdiction_state": "Utah",
"jurisdiction_country": "us",
"incorp_agency": "Real Company Name"
},
"container_id_assignments": [
"8"
]
}
名稱 | 類型 | 說明 |
---|---|---|
id | int | 組織 ID。 |
status | string |
組織狀態。 可能的值: active ,inactive
|
name | string | 組織的法律名稱。 |
assumed_name | string |
組織的公用名稱。 也稱為 DBA 名稱。 |
display_name | string |
組織的完整名稱。 使用名稱 + assumed_name 建構。 |
is_active | bool | 組織的啟用狀態。 |
address | string | 組織的地址 |
address2 | string | |
zip | string | 組織的郵遞區號。 |
city | string | 組織所位於的城市。 |
state | string | 組織所位於的省。 |
country | string | 組織所位於的國家。 |
telephone | string | 組織電話號碼。 |
container | object | 附加組織的主要容器。 |
.. id | int | 容器 ID。 |
.. parent_id | string | 容器的父項的 ID。 |
.. name | string | 容器的名稱。 |
.. is_active | bool | 容器的啟用狀態。 |
organization_contact | object | 組織聯絡人資料。 |
.. id | int | 組織聯絡人 ID。 |
.. first_name | string | 組織聯絡人的名字。 |
.. last_name | string | 組織聯絡人的姓氏。 |
string | 組織聯絡人的電郵地址。 | |
.. job_title | string | 組織聯絡人的職稱。 |
.. telephone | string | 組織聯絡人的電話號碼。 |
.. telephone_extension | string | 組織聯絡人的電話分機。 |
ev_approvers | array | 可以核准 EV 和代碼簽章訂單的使用者的清單。 |
.. id | int | 使用者 ID。 |
.. first_name | string | 使用者名字。 |
.. last_name | string | 使用者姓氏。 |
extended_validation | object | 與組織有關的延伸驗證資訊。 |
container_id_assignments | array | 指派組織所到的容器的清單。 |