List container organizations

GET https://www.digicert.com/services/v2/container/{{container_id}}/order/organization
Use this endpoint to list all organizations assigned to a container.

Example requests and responses

curl -X GET \
  https://www.digicert.com/services/v2/container/{{container_id}}/order/organization \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
import requests

url = "https://www.digicert.com/services/v2/container/{{container_id}}/order/organization"

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/container/{{container_id}}/order/organization"

	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/container/{{container_id}}/order/organization',
  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

{
  "organizations": [
    {
      "id": 112233,
      "status": "active",
      "name": "Example Organization Inc.",
      "assumed_name": "Example Org",
      "display_name": "Example Organization",
      "is_active": true,
      "address": "123 Fake Stree",
      "address2": "Floor 55",
      "zip": "84043",
      "city": "Lehi",
      "state": "Utah",
      "country": "us",
      "telephone": "801-701-9600",
      "validations": [
        {
          "type": "ov",
          "name": "OV",
          "description": "Normal Organization Validation",
          "date_created": "2018-10-09T19:29:02+00:00",
          "validated_until": "2019-11-09T20:28:55+00:00",
          "status": "active"
        }
      ]
    }
  ]
}

Response parameters

NameTypeDescription
organizationsarrayList of organizations assigned to the container.
.. idintOrganization ID.
.. statusstringOrganization status.
Possible values: active, inactive
.. namestringLegal name of the organization.
.. assumed_namestringPublic name of the organization. Also called doing business as (DBA) name.
.. display_namestringFull name of the organization. Constructed using name + assumed_name.
.. is_activeboolActive status of the container.
.. addressstringAddress of the organization.
.. address2string
.. zipstringPostal code of the organization.
.. citystringCity where the organization is located.
.. statestringState where the organization is located.
.. countrystringCountry where the organization is located.
.. telephonestringOrganization telephone number.
.. validationsarrayValidation types that the organization can use. See Glossary – Validation types.