Skip to content

API Specs - Update the environment in the Postman Collection to use the sandbox #22877

Closed

Description

@eason-pan-bc

As we are delivering the API specs and the Postman Collections to clients, we need to change the environment used in the Postman collection from Dev to Sandbox.

References from PPR's Postman collection: https://developer.bcregistry.daxiom.ca/apigw-ppr-demo.postman_collection.json

Double-check the url for Business API Sandbox with Argus.

This ticket blocks the last step for the API specs publishing

TODOs:

  • Change the current Postman collection environment variable to use the Sandbox
  • Add necessary notes in the Postman collection to help clients understand the collections

Activity

  1. added
    Entities - Data Migration
    on Aug 20, 2024
  2. self-assigned this
    on Aug 20, 2024
  3. eason-pan-bc commented on Aug 20, 2024

    @eason-pan-bc
    Author

    As per discussion, updated the Postman collection for the use of Sandbox, and clients using account_id and api-key.
    image.pngimage.png

    Changes Made:

    • As per discussion with Argus, removed 'setup' folder for retrieving a token and also the Authorization: Bearer header, which we used for the DEV environment.

    image.png

    image.png

    • Updated Notes

    image.png

    • Changed the gateway_url to use the sandbox

    image.png

    • Reorganized the Sandbox environment, so users can easily find the place they can fill in their account info.

    image.png

  4. eason-pan-bc commented on Aug 21, 2024

    @eason-pan-bc
    Author

    adjusted x-apikey and Account-Id for each request

  5. eason-pan-bc commented on Aug 22, 2024

    @eason-pan-bc
    Author

    Notes for QA:

    • The updated version is in the shared Postman workspace. The collection is called Business API Demo image.png
    • Please select lear-api(Sandbox) environment to test it.
    • You can find detailed instruction of how to run them in the overview of the collection. image.png
    • You will need an Api-key and account-id for using the Sandbox, please connect with Argus to borrow one.
    • You will need to look at the Sandbox database, to find a business that exists in the db, and change the business identifier in the requests parameter image.png

    and the business in th payload image.png

  6. vishnup0422 commented on Aug 22, 2024

    @vishnup0422
    Collaborator

    Received creds from Argus and was able to hit the endpoints on Sandbox env.

    Screenshot 2024-08-22 at 2.55.06 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions