Use este terminal para obtener información sobre una organización.
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"
]
}
Nombre | Tipo | Descripción |
---|---|---|
id | int | Id. de organización. |
status | string |
Estado de la organización. Posibles valores: active , inactive
|
name | string | Nombre legal de la organización. |
assumed_name | string |
Nombre público de la organización. También denominado «nombre DBA». |
display_name | string |
Nombre completo de la organización. Formado usando nombre + assumed_name. |
is_active | bool | Estado activo de la organización. |
address | string | Dirección de la organización. |
address2 | string | |
zip | string | Código postal de la organización. |
city | string | Ciudad donde se encuentra la organización. |
state | string | Estado donde se encuentra la organización. |
country | string | País donde se encuentra la organización. |
telephone | string | Número de teléfono de la organización. |
container | object | Contenedor principal al que está vinculada la organización. |
.. id | int | Id. de contenedor. |
.. parent_id | string | Id. del contenedor principal de un contenedor. |
.. name | string | Nombre de contenedor. |
.. is_active | bool | Estado activo del contenedor. |
organization_contact | object | Información de contacto de la organización. |
.. id | int | Id. de contacto de la organización. |
.. first_name | string | Nombre del contacto de la organización. |
.. last_name | string | Apellido del contacto de la organización. |
string | Dirección de correo electrónico del contacto de la organización. | |
.. job_title | string | Nombre del cargo del contacto de la organización. |
.. telephone | string | Número de teléfono del contacto de la organización. |
.. telephone_extension | string | Interno telefónico del contacto de la organización. |
ev_approvers | array | Lista de usuarios que pueden aprobar pedidos EV y de firma de código. |
.. id | int | Id. de usuario. |
.. first_name | string | Nombre del usuario. |
.. last_name | string | Apellido del usuario. |
extended_validation | object | Información ampliada de validación de la organización. |
container_id_assignments | array | Lista de contenedores a los que está vinculada la organización. |