# Work Request Status
source: https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/testing/wr-status-tests/index.md

## Test Suite 1.0 RPPS Biller Maintenance Service {#test-suite-10-rpps-biller-maintenance-service}

|                              |                                                                                                                                                                                                                                                                                                |
|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Suite Name**          | Work Request Status                                                                                                                                                                                                                                                                            |
| **MTF Inbound API Endpoint** | `https://api.mastercard.com/billpay/mtf/biller-maintenance/biller-request/{work_request_id}/status`                                                                                                                                                                                            |
| **Pre-Conditions**           | Concentrator has successfully been onboarded to the MTF environment. Concentrator has successfully requested and received approval for an MTF certificate. The Client ID associated with the approved MTF certificate is assigned and active on the Concentrator's API Key Management profile. |
| **Post-Condition**           | Concentrator has successfully completed all the Test Cases.                                                                                                                                                                                                                                    |
| **Dependencies**             | Data to support the scenarios is correctly configured by Mastercard to simulate the Test Cases.                                                                                                                                                                                                |
| **Overall Test Notes**       | The Work Request Status service is an inbound call that the Concentrator makes to get the status of a work request in Bill Pay.                                                                                                                                                                |

## Test Cases {#test-cases}

<br />

### Test Case: Get Single Biller Work Request Status - 1 Valid Work Request {#test-case-get-single-biller-work-request-status----1-valid-work-request}

|                     |                                                                                                                                                                                              |
|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Title**      | Get Single Biller Work Request Status                                                                                                                                                        |
| **Description**     | Concentrator submits a valid work request ID to retrieve the work request status for that Biller.                                                                                            |
| **Pre-Requisite**   | Concentrator has added a Biller and saved the work request ID.                                                                                                                               |
| **Test Steps**      | **Step 1:** Submit a valid workRequestId <br /> [Review Parameters](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/parameters/wr-status-parameters/index.md) |
| **Expected Result** | HTTP 200 with the `workRequestId` and its `workRequestStatus`.                                                                                                                               |
| **Notes**           | After you receive the response, share the response logs with CIS.                                                                                                                            |

<br />

### Test Case: Request status on malformed Work Request - Malformed Work Request {#test-case-request-status-on-malformed-work-request---malformed-work-request}

|                                |                                                                                                                                                                                                 |
|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Title**                 | Request status on malformed Work Request                                                                                                                                                        |
| **Description**                | Concentrator submits a work request ID that does not match the defined format (for example, 100a000).                                                                                           |
| **Pre-Requisite**              | N/A.                                                                                                                                                                                            |
| **Test Steps to create error** | **Step 1:** Submit an Invalid workRequestId <br /> [Review Parameters](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/parameters/wr-status-parameters/index.md) |
| **Expected Result**            | HTTP 400 with service error code BPBMSAPI_ERR_0075, which the Concentrator must handle.                                                                                                         |
| **Notes**                      | After you receive the response, share the response logs with CIS.                                                                                                                               |

<br />

### Test Case: Request status on an invalid Biller Work Request - Invalid Work Request {#test-case-request-status-on-an-invalid-biller-work-request----invalid-work-request}

|                                |                                                                                                                                                                                                 |
|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Title**                 | Request status on an invalid Biller Work Request - Invalid Work Request                                                                                                                         |
| **Description**                | Concentrator submits an invalid work request ID, such as all zeros, to get the invalid work request response.                                                                                   |
| **Pre-Requisite**              | N/A.                                                                                                                                                                                            |
| **Test Steps to create error** | **Step 1:** Submit an Invalid workRequestId <br /> [Review Parameters](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/parameters/wr-status-parameters/index.md) |
| **Expected Result**            | An invalid work request response, which the Concentrator must handle.                                                                                                                           |
| **Notes**                      | After you receive the response, share the response logs with CIS.                                                                                                                               |

<br />

## Next Steps {#next-steps}

* [Quick Start Guide](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/getting-started/index.md) --- get credentials and make your first call
* [API Reference](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/api-reference/index.md) --- full OpenAPI specification
* [Testing](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/testing/index.md): test environments, methods, and troubleshooting.
