Organisationsinfo

GET
https://www.digicert.com/services/v2/organization/{{organization_id}}

Verwenden Sie diesen Endpunkt, um Details über eine Organisation zu erhalten.

cURL
curl -X GET \
  'https://www.digicert.com/services/v2/organization/{{organization_id}}' \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
Python
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)
Go
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))

}
NodeJS
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);
});
200 OK
{
  "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"
  }
}
200 OK (EV validated org)
{
  "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"
  ]
}

Reaktionsparameter

Name Typ Beschreibung
id int Organisations-ID
status string Organisationsstatus
Mögliche Werte: active, inactive
name string Rechtlicher Name der Organisation
assumed_name string Öffentlicher Name der Organisation
Auch bekannt als DBA-Name
display_name string Voller Name der Organisation
Konstruiert anhand des Namens + assumed_name.
is_active bool Aktiver Status der Organisation.
address string Adresse der Organisation
address2 string
zip string Postleitzahl der Organisation
city string Stadt, in der sich die Organisation befindet
state string Bundesland, in dem sich die Organisation befindet
country string Land, in dem sich die Organisation befindet
telephone string Telefonnummer der Organisation
container object Der primäre Container der Organisation ist angeheftet an.
.. id int Container-ID
.. parent_id string ID des übergeordneten Containers
.. name string Name des Containers
.. is_active bool Aktiver Status des Containers
organization_contact object Organisationskontaktdaten (erforderlich)
.. id int Organisationskontakt-ID
.. first_name string Vorname des Organisationskontakts.
.. last_name string Nachname des Organisationskontakts.
.. email string E-Mail-Adresse des Organisationskontakts.
.. job_title string Funktion des Organisationskontakts.
.. telephone string Telefonnummer des Organisationskontakts.
.. telephone_extension string Durchwahl des Organisationskontakts.
ev_approvers array Liste der Benutzer, die EV- und Code Signing-Aufträge genehmigen können.
.. id int Benutzer-ID.
.. first_name string Vorname des Benutzers.
.. last_name string Nachname des Benutzers.
extended_validation object Erweiterte Validierungsdaten über die Organisation.
container_id_assignments array Liste der Container, denen die Organisation zugewiesen ist.