LogoLogo
  • Genie Partner API
  • Getting Started
    • Quick Start Guide
    • Requesting Access
    • Installation & Configuration
    • Features
    • FAQ
    • What is FHIR?
    • Using Postman
    • Versioning & Release Notes
      • Release Notes
      • Release Notes Archive
  • API
    • Partner API
      • Capability Statement
  • Tutorials & Examples
    • Connecting with Postman
      • Setup and Config
      • Your Account Details
      • Calling the API
    • Machine-to-Machine Authentication
      • Setup and Config
  • Downloadable Resources
    • Getting Started
    • All FHIR Collections
Powered by GitBook
On this page
  1. Tutorials & Examples
  2. Connecting with Postman

Setup and Config

The steps in this section will guide you through the process of downloading the Postman collection and configuring the OAuth2 details with your personal login details.

PreviousConnecting with PostmanNextYour Account Details

Last updated 2 years ago

Step 1: Download the Postman Application

If you haven't already got Postman installed locally, and download the version of the application for your operating system.

Step 2: Download the Postman Collection

The Postman collection can be downloaded from our resources page .

Step 3: Import the collection in to Postman

To use the collection you will need to import it in to Postman first. Within the Postman application click the Import button to the right of 'My Workspaces' and then use the File browser to locate the postman collection .json file on your computer.

Step 4: Configure your Global Variables

Postman uses variables that allows the use of placeholders within requests and parameters to remove the need to copy and paste values in to multiple places for multiple requests.

The key variables you will need to do requests to the Partner API are API_URL,API_KEY AUTH_URL, TOKEN_URL, CLIENT_ID

To set these variables so they can be accessed easily by your requests go to the ENVIRONMENTS tab within Postman and click on the + button to create a new environment or import the empty environment file from our resources page .

In the table to the right of where you added the environment name, add the variable API_URL and then in both the Initial Value and Current Value columns add the URL to the Partner API server which was specified by Genie, for example:

https://api.example.geniesolutions.io

Then in the row below the API_URL add the variable API_KEY and in both the Initial Value and Current Value columns add the API_KEY you received when creating your Partner API account.

vhwln9AUoX6uXl6Iv9gtInywovORD8l1hADu4DS4

Add the AUTH_URL variable, and in both initial value and current value add the auth url you received from Genie, for example:

https://auth.example.geniesolutions.io/oauth2/authorize

Add the TOKEN_URL variable, and in both initial value and current value add the token url you received from Genie, for example:

https://auth.example.geniesolutions.io/oauth2/token

Add the CLIENT_ID variable, and in both initial value and current value add the client id you received from Genie, for example:

3o5g7uaic8og50e88ljsem8iau

If you have misplaced this key or don't have a Partner API account please contact the team at Genie.

navigate to the Postman website
here
here