Usa questo endpoint per elencare tutti gli utenti e i contatti che possono essere convalidati come contatto verificato (chiamato anche approvatore EV).
curl -X GET \
https://www.digicert.com/services/v2/organization/potential-approvers \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/organization/potential-approvers"
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/organization/potential-approvers"
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/potential-approvers',
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);
});
{
"users": [
{
"user_id": "123456",
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"job_title": "Boss",
"telephone": "555-555-5555",
"email": "jane.doe@digicert.com"
},
{
"user_id": "123455",
"name": "John Smith",
"first_name": "John",
"last_name": "Smith",
"job_title": "Employee",
"telephone": "555-555-5555",
"email": "john.smith@digicert.com"
}
],
"contacts": [
{
"name": "Jill Valentine",
"first_name": "Jill",
"last_name": "Valentine",
"job_title": "SRE",
"telephone": "555-555-5555",
"email": "jill.valentine@example.com"
},
{
"name": "Leon Kennedy",
"first_name": "Leon",
"last_name": "Kennedy",
"job_title": "Help Desk Technician",
"telephone": "555-555-5555",
"email": "leon.kennedy@example.com"
}
]
}
Nome | Tipo | Descrizione |
---|---|---|
users | array | Elenco degli utenti che possono diventare un contatto verificato per un ordine EV. |
.. user_id | stringa | |
.. name | stringa | |
.. first_name | stringa | |
.. last_name | stringa | |
.. job_title | stringa | |
.. telephone | stringa | |
stringa | ||
contacts | array | Elenco dei contatti che possono diventare un contatto verificato per un ordine EV. |
.. name | stringa | |
.. first_name | stringa | |
.. last_name | stringa | |
.. job_title | stringa | |
.. telephone | stringa | |
stringa |