Create a Results Query in Certify Results API Swagger

With Certify Results API Swagger, you can create a results query to retrieve Certify results, processes, and attributes.

Before you begin this process, you must have completed the following:

You can use one of the following methods to create a results query:

  • GET- Retrieve Certify results for the specified project and other filter criteria.
  • POST - Retrieve Certify results for the specified project and other filter criteria.

To create a results query in Certify Results API Swagger with the GET method:

Before you open Certify Results API Swagger, you must open Certify Results API to get your token.

  1. Open Certify Results API on your Certify Services server with the following URL address:

    http://<servername>/CertifyResultsAPI

  2. Using your Worksoft Portal credentials, enter your credentials and click Login.

    Certify Results API opens.

  3. Click the Manage Tokens tab.

  4. Click the Copy Token to Clipboard button next to the token you want to use in Swagger.
  1. Open Certify Results API Swagger through the following URL address:

    http://<servername>/CertifyResultsAPI/swagger/ui/index

  2. In the api_key field, paste the token you copied.
  3. Click Explore.

    The Worksoft.Certify.ResultsAPI Swagger page opens.

  4. Expand ProjectV1 and click the first GET method.

  5. In the Parameters section, enter your project name in the projectName field.
  6. In the Parameters section, enter your result folder name in the resultFolder field. The name should begin with /Client Project Name/QA Results.
  7. If you want to filter your results, add additional parameters to your request, including status, dates, and attributes. These parameters are optional.
  8. If you want to include all the log processes for the results, select true from the includeLogProcess drop-down list.

    If you do not want to include log processes, select false.

  9. In the itemsPerBatch field, enter how many items you want to add to a batch.

  10. In the Response Messages section, click the Try it out! button to test the query.

    The Results Query is created.

  11. Open the query in a reporting tool to visualize the results.

To create a results query in Certify Results API Swagger with the POST method:

Before you open Certify Results API Swagger, you need to open Certify Results API to get your token.

  1. Open Certify Results API through the following URL address:

    http://<servername>/CertifyResultsAPI

  2. Using your Worksoft Portal credentials, enter your credentials and click Login.

    Certify Results API opens.

  3. Click the Manage Tokens tab.

  4. Click the Copy Token to Clipboard button next to the token you want to use in Swagger.
  1. Open Certify Results API Swagger through the following URL address:

    http://<servername>/CertifyResultsAPI/swagger/ui/index

  2. In the api_key field, paste the token you copied.
  3. Click Explore.

    The Worksoft.Certify.ResultsAPI Swagger page opens.

  4. Expand ProjectV1 and click the POST method to expand the operations.

  5. From the Response Content Type drop-down list, select application/json.
  6. In the request field, enter your request value. Use the Example Value for guidance.
  1. From the Parameter Content Type drop-down list, select application/json.
  1. In the Response Messages section, click the Try it out! button to test the query.

    The Results Query is created.

  2. Open the query in a reporting tool to visualize the results.

 

Related Topics Link IconRelated Topics