# Get Action Plan Issue Summary
source: https://developer.mastercard.com/riskrecon-api/documentation/testing/actionplan-samples/actnpln-iss-summ-smpl/index.md

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

## Pre-requisites {#pre-requisites}

Refer to the [Retrieve Action Plan Issue Summary](https://developer.mastercard.com/riskrecon-api/documentation/use-cases/risk-mgmt-issue-rmdfn/actionplan/actnpln-iss-summ/index.md) use case.

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

    GET https://api.sandbox.riskrecon.com/v1/action_plan/issue_summary/{toe_id}

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

    GET https://api.riskrecon.com/v1/action_plan/issue_summary/{toe_id}

## Test Cases {#test-cases}

### Test Case: Success - Retrieve action plan issue summary {#test-case-success---retrieve-action-plan-issue-summary}

**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/issue_summary/09918d09-8d52-4e86-a3ec-5ef4d461e2ba' \
  -H 'accept: application/json'
  -H 'Authorization: valid_JWT_token'
```

**Response**

get:

```json
[
  {
    "action_plan_last_shared_on": "2022-10- 10T13:18:15.078864Z",
    "current_action_plan_issues_count": 123,
    "current_open_issues_count": 123,
    "current_shared_issues_count": 0,
    "latest_analysis_published_on": "2022-10-10T13:18:15.078864Z",
    "new_open_issues_count": 8,
    "total_resolved_issues_count": 0,
    "total_shared_issues_count": 0,
    "vendor_shared_with_customer": false
  }
]
```

### Test Case: Fail - Invalid Resource {#test-case-fail---invalid-resource}

**Request**

Here is an example of a request made with an incorrect endpoint name using a `curl` command.

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

**Response**

HTTP Error response 404

```json
{
  "Errors": {
    "Error": [
      {
        "Description": "Resource Not found.",
        "Details": null,
        "ReasonCode": "NOT_FOUND",
        "Recoverable": false,
        "Source": "RISKRECON_API"
      }
    ]
  }
}
```

