Jurisdiction hierarchy

Use the Certificate Center API to retrieve a jurisdiction hierarchy.

Base URL:

https://ccservices.vertexsmb.com/certificate-center/v1/
Jurisdiction hierarchy endpointJurisdiction hierarchy description
/jurisdictionsGET - Retrieve a jurisdiction hierarchy. We recommend filtering by certificate reason to retrieve only relevant jurisdictions.

Retrieve a jurisdiction hierarchy

Retrieve jurisdiction hierarchy records based on your choice of filter criteria.

Request

All request parameters are optional. Passing a request with no parameters returns all records.

Retrieve a jurisdiction hierarchy request parameter nameRetrieve a jurisdiction hierarchy request parameter formatRetrieve a jurisdiction hierarchy request parameter description
reasonTypestring enumThe reason for the certificate. Reasons can be Vertex-defined or user-defined. Possible values include Agricultural, Charitable, Contractor, Direct Mail, Direct Pay Permit, Educational, Federal Government, Foreign Diplomat, Manufacturing, Native American, Packaging, Religious, Resale, State or Local or Provincial Government, Other.
asOfDatedateThe date to filter results having an effectivity range (GMT). If not specified, the default value is the current date.

Example request

curl --request GET \
     --url https://vertex-enterprise-group.readme.io/certificate-center/v1/jurisdictions \
     --header 'accept: application/json'

Response

A response includes any number of jurisdictions. Each jurisdiction includes these fields.

Retrieve a jurisdiction hierarchy response fieldRetrieve a jurisdiction hierarchy response description
idThe jurisdiction ID.
parentIdThe parent ID, if any, for this jurisdiction.
nameJurisdiction name.
abbreviationAbbreviation for this jurisdiction.
jurisdictionTypeJurisdiction type, such as country, state, or province.
childrenAn array of child objects under this jurisdiction.

Example response

[
    {
        "id": 1,
        "parentId": null,
        "name": "United States",
        "abbreviation": "USA",
        "jurisdictionType": "Country",
        "children": [
            {
                "id": 11,
                "parentId": 1,
                "name": "Alabama",
                "abbreviation": "AL",
                "jurisdictionType": "State",
                "children": []
            },
            {
                "id": 912,
                "parentId": 1,
                "name": "Alaska",
                "abbreviation": "AK",
                "jurisdictionType": "State",
                "children": []
            },
            {
                "id": 1112,
                "parentId": 1,
                "name": "Arizona",
                "abbreviation": "AZ",
                "jurisdictionType": "State",
                "children": []
            },
            {
                "id": 1485,
                "parentId": 1,
                "name": "Arkansas",
                "abbreviation": "AR",
                "jurisdictionType": "State",
                "children": []
            }
        ]
    },
    {
        "id": 8,
        "parentId": null,
        "name": "Canada",
        "abbreviation": "CAN",
        "jurisdictionType": "Country",
        "children": [
            {
                "id": 43423,
                "parentId": 8,
                "name": "Alberta",
                "abbreviation": "AB",
                "jurisdictionType": "Province",
                "children": []
            },
            {
                "id": 43604,
                "parentId": 8,
                "name": "British Columbia",
                "abbreviation": "BC",
                "jurisdictionType": "Province",
                "children": []
            }
        ]
    }
]

What’s Next