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

Allows you to fetch a vendor's progress in addressing issues in an action plan.

## Pre-requisites {#pre-requisites}

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

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

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

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

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

## Test Cases {#test-cases}

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

**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_progress/5976423a-ee890-11e3-858983-14109ff1n46704' \
  -H 'accept: application/json'
  -H 'Authorization: valid_JWT_token'
```

**Response**

get:

```json
[
  {
    "current_action_plan_issues_count": 42,
    "current_shared_issues_count": 0,
    "event_name": "PolicyConfigurationChanged",
    "occurred_on": "2022-07-26T23:28:46.145917Z",
    "total_resolved_issues_count": 5,
    "total_shared_issues_count": 60
  },
  {
    "current_action_plan_issues_count": 42,
    "current_shared_issues_count": 0,
    "event_name": "AnalysisPublishedToCustomers",
    "occurred_on": "2022-07-26T23:28:46.145917Z",
    "total_resolved_issues_count": 0,
    "total_shared_issues_count": 0
  },
  {    
    "current_action_plan_issues_count": 1434,    
    "current_shared_issues_count": 1434,    
    "event_name": "ActionPlanShared",    
    "occurred_on": "2022-10-19T14:52:31.140597Z",    
    "total_resolved_issues_count": 711,    
    "total_shared_issues_count": 2145
  },
  {    
    "current_action_plan_issues_count": 1149,    
    "current_shared_issues_count": 23,    
    "event_name": "CompanyPortfolioRelationshipAdjusted",    
    "occurred_on": "2022-07-27T18:24:54.605357Z",    
    "total_resolved_issues_count": 92,    
    "total_shared_issues_count": 115  
  },
  {    
    "current_action_plan_issues_count": 1369,    
    "current_shared_issues_count": 34,    
    "event_name": "CompanyAddedToPortfolio",    
    "occurred_on": "2022-05-11T17:39:07.387672Z",    
    "total_resolved_issues_count": 120,    
    "total_shared_issues_count": 115  
  }
]
```

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

**Request**

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

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

**Response**

HTTP Error response 401

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

