Testing Retrieval of Starred Invoices

Step 1: Create Request

  1. In the InvoiceGetAPI-Tests Collection, click the "+" button to create a new request.

Get All Invoices Starred

  1. Name the request: Get All Invoices Starred.

Get All Invoices Starred

  1. Select the GET method.

Get All Invoices Starred

  1. Go to API Gateway and select the API: GetInvoiceAPI.

  2. Navigate to the Stages section.

  3. Click the "+" button to reveal the /invoice/starred endpoint path as shown below:

Get All Invoices Starred

  1. Select the GET method and copy the Invoke URL.

Get All Invoices Starred

  1. Paste the Invoke URL into Postman as follows:

Get All Invoices Starred

  1. Click the Send button to view results.

Get All Invoices Starred

  1. The response will appear as follows:

Get All Invoices Starred

When the response shows [], it means there are currently no starred invoices