Exécutez ce point de terminaison pour obtenir des détails sur une organisation.
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"
]
}
Nom | Type | Description |
---|---|---|
id | int | ID de l’organisation |
status | string |
Statut de l’organisation Valeurs possibles : active , inactive
|
name | string | Nom légal de l’organisation |
assumed_name | string |
Nom public de l’organisation Également appelé « nom DBA » |
display_name | string |
Nom complet de l’organisation Composé du nom + assumed_name. |
is_active | bool | Statut actif de l’organisation |
address | string | Adresse de l’organisation |
address2 | string | |
zip | string | Code postal de l’organisation |
city | string | Ville où est établie l’organisation |
state | string | État où est établie l’organisation |
country | string | Pays où est établie l’organisation |
telephone | string | Numéro de téléphone de l’organisation |
container | object | Conteneur primaire auquel l’organisation est rattachée |
.. id | int | ID du conteneur |
.. parent_id | string | ID du conteneur parent |
.. name | string | Nom du conteneur |
.. is_active | bool | Statut actif du conteneur |
organization_contact | object | Informations du contact de l’organisation |
.. id | int | ID du contact de l’organisation |
.. first_name | string | Prénom du contact de l’organisation |
.. last_name | string | Nom du contact de l’organisation |
string | Adresse électronique du contact de l’organisation | |
.. job_title | string | Intitulé de poste du contact de l’organisation |
.. telephone | string | Numéro de téléphone du contact de l’organisation |
.. telephone_extension | string | Extension téléphonique du contact de l’organisation |
ev_approvers | array | Liste des utilisateurs autorisés à approuver les commandes de certificats EV et de signature de code |
.. id | int | ID de l’utilisateur |
.. first_name | string | Prénom de l’utilisateur |
.. last_name | string | Nom de l’utilisateur |
extended_validation | object | Informations de validation supplémentaires sur l’organisation |
container_id_assignments | array | Liste des conteneurs auxquels l’organisation est affectée. |