---
updatedAt: 2025-11-13T21:49:09.000Z
agentTools:
  projectIndex: https://docs.sikoia.com/llms.txt
---

# Handle Company Credit Report Picklists

```curl cURL
curl --request POST \
     --url https://api.sikoia.com/v2/cases \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>' \
     --data '
{
     "name": "Company Registry Recipe",
     "case_type": "Business"
}
'

curl --request POST \
     --url https://api.sikoia.com/v2/cases/039a67a3-b996-4376-95b6-f0b8f9c2fb71/entities \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>' \
     --data '
{
     "companies": [
          {
               "company_name": "Test Company",
               "company_number": "12345678",
               "jurisdiction_code": "GB"
          }
     ]
}
'

curl --request POST \
     --url https://api.sikoia.com/v2/company-credit-reports \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>' \
     --data '
{
  "company_id": "0c97d69b-44f3-4336-b26f-d77edb5176c6"
}
'

curl --request GET \
     --url https://api.sikoia.com/v2/company-credit-reports/54aeee45-b8da-455d-a736-e125dfc0f9a2 \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>'
     
// GET response
{
  "request_id": "54aeee45-b8da-455d-a736-e125dfc0f9a2",
  "status": "TooManyResults",
  "company_id": "0c97d69b-44f3-4336-b26f-d77edb5176c6",
  "datetime_requested": "2023-05-12T16:02:04.037Z",
  "message": "We could not match exactly the company requested. Please refine your search or pick a report manually",
  "company_number": "12345678",
  "company_name": "Acme Inc",
  "country_code": "US",
  "provider_id": null
  "data": null,
  "picklist": [
    {
      "index": 1,
      "company_number": null,
      "company_name": "Acme Company Inc",
      "country_code": "US",
      "provider_id": "US-0-US01758438",
      "status": "Active",
      "branch": null,
      "official_address": {}
    },
    {
      "index": 2,
      "company_number": null,
      "company_name": "Acme Corporation Inc",
      "country_code": "US",
      "provider_id": "US-0-CO01753238",
      "status": "Active",
      "branch": null,
      "official_address": {},
    }
  ]
}

curl --request POST \
     --url https://api.sikoia.com/v2/company-credit-reports/picklist \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>' \
     --data '
{
  "request_id": "54aeee45-b8da-455d-a736-e125dfc0f9a2",
  "picklist_index": 1
}
'

//Picklist Response
{
  "request_id": "d61e3920-9d03-453e-a426-2ad102926cb4",
  "status": "Complete",
  "company_id": "0c97d69b-44f3-4336-b26f-d77edb5176c6",
  "datetime_requested": "2023-05-12T16:17:49.829Z",
  "message": null,
  "company_number": "12345678",
  "company_name": "Acme Inc",
  "country_code": "US",
  "provider_id": "US-0-US01758438"
}

curl --request GET \
     --url https://api.sikoia.com/v2/company-credit-reports/d61e3920-9d03-453e-a426-2ad102926cb4 \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>'

curl --request GET \
     --url https://api.sikoia.com/v2/companies/0c97d69b-44f3-4336-b26f-d77edb5176c6/credit-reports \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer <<bearer_token>>'

```

# Assumed Steps

<!-- curl@1-28 -->

This recipe assumes you've already created a case, added a company to a case and have the `company_id`.

# Request Company Credit Report

<!-- curl@30-39 -->

Make a credit report request using the `company_id`

# Get Company Credit Report (Picklist)

<!-- curl@41-80 -->

Using the request_id returned by Step 2, retrieve the company credit report.

If the result status is `TooManyResults`, then a single result was unable to be found and a picklist has been returned.

# View Picklist

<!-- curl@46-80 -->

The picklist is returned with details about the different matched companies, each indexed with an integer.

# Resolve the Picklist

<!-- curl@82-105 -->

The picklist is resolved by sending the original `request_id` and `picklist_index` to the endpoint.

This creates a new entry in the list of credit report requests for the company entity, and has a new `request_id`.

# Get resolved Company Credit Report

<!-- curl@107-110 -->

Using the new `request_id` make the same call as in Step 3, to get the resolved credit report.

# Get all Company Credit Reports Requests

<!-- curl@112-115 -->

You can see all the Company Credit Reports requests for a company - this gives you the historical data requests for that `company_id`.