# Get Action Plan Vendor Status Summary Counts
source: https://developer.mastercard.com/riskrecon-api/documentation/testing/actionplan-samples/actnpln-vend-sts-smpl/index.md

Allows you to fetch a vendor's issue status summary counts.

## Pre-requisites {#pre-requisites}

Refer to the [Retrieve Action Plan Vendor Status Summary Counts](https://developer.mastercard.com/riskrecon-api/documentation/use-cases/risk-mgmt-issue-rmdfn/actionplan/actpln-vend-sts-summ-cnts/index.md) use case.

## Request URL for Sandbox environment {#request-url-for-sandbox-environment}

```bash
GET https://api.sandbox.riskrecon.com/v1/action_plan/vendor_status_summary_counts/{toe_id}
```

## Request URL for Production environment {#request-url-for-production-environment}

```bash
GET https://api.riskrecon.com/v1/action_plan/vendor_status_summary_counts/{toe_id}
```

## Test Cases {#test-cases}

### Test Case: Success - Retrieve action vendor status summary counts {#test-case-success---retrieve-action-vendor-status-summary-counts}

**Request**

Here is an example of a request made using a `curl` command.

```bash
curl -X 'GET' \
  'https://api.sandbox.riskrecon.com/v1/action_plan/vendor_status_summary_counts/09918d09-8d52-4e86-a3ec-5ef4d461e2ba' \
  -H 'accept: application/json'
  -H 'Authorization: valid_JWT_token'
```

**Response**

get:

```json
[
  {
    "count": 5,
    "label": "No Action",
    "status": "no_action"
  },
  {
    "count": 37,
    "label": "Investigating",
    "status": "investigating"
  },
  {
    "count": 2,
    "label": "Compensating Control",
    "status": "compensating_control"
  },
  {
    "count": 0,
    "label": "False Positive",
    "status": "false_positive"
  },
  {
    "count": 8,
    "label": "Not Fixing",
    "status": "not_fixing"
  },
  {
    "count": 10,
    "label": "Fixing",
    "status": "fixing"
  },
  {
    "count": 5,
    "label": "Fixed",
    "status": "fixed"
  }
]
```

### Test Case: Fail - Expired JSON Web Token {#test-case-fail---expired-json-web-token}

**Request**

Here is an example of a request made with an expired JSON Web Token using a `curl` command.

```bash
curl -X GET \
  'https://api.sandbox.riskrecon.com/v1/action_plan/vendor_status_summary_counts/09918d09-8d52-4e86-a3ec-5ef4d461e2ba' \
  -H 'accept: application/json'
  -H 'Authorization: InR5cCI6IkpXVCJ9mFrQHJpc2tyZWNvbi5jb20ifX0.aXmHcW9vl7xKvrHJ-76p27rS8LtfJDwnIFdbVmOcTTXxN22NAK' | jq
```

**Response**

HTTP Error response 401

```json
{
  "Errors": {
    "Error": [
      {
        "Description": "Unauthorized request",
        "Details": "Invalid JWT",
        "ReasonCode": "UNAUTHORIZED",
        "Recoverable": false,
        "Source": "RISKRECON_API"
      }
    ]
  }
}
```

