Postman

Using the API Collections:


Prerequisite:

Postman Account: If you don't have a Postman account you can create one here.

Steps for using the Collection:

  1. Navigate to the list of APIs on the KPN Developer's postman site.

    Navigate to KPN Developer and find the list of APIs

  2. Choose the API from the list. “SMS-KPN” Is taken as an example.

    Choose the API from list

  3. It takes you to the workspace of the chosen API. Click on the “Fork” icon. In this case, “SMS-KPN” is the workspace, and we click on the “Fork” icon shown below.

    Click on the Fork Icon

  4. Enter the “Fork label” and “Workspace" names as shown in the below screenshot. Select the “Notification" checkbox. This will enable notification in case of any changes in the collection, notification will be sent via email. Finally, click the “Fork Collection” button to fork the collection.

    Give the Fork Label and your personal workspace

  5. This will open the “Sign In” pop-up.

    This will open the Sign In pop-up

  6. Provide “Postman” Credentials to log in.

    Update credentials

  7. Give the “Fork Label” and “Workspace” details.

    Give the Fork Label and your personal workspace

  8. Click on “Make my Profile Public”. This setting can be adjusted later.

    Click on Make my Profile Public

  9. The Postman collection is now Forked in your local workspace of “Postman”.

    Postman collection is Forked in your local workspace of Postman

  10. Click on “Collections” and choose the API Collection name. Move to the
    “Variables” section, as shown below. Enter your “client_Id” and “client_secret” (if you don’t have the keys, you can request them via KPN Developer Portal).
    Also, populate the other variables, these variables will be used for testing the endpoints. ”Save” the changes.

    Click on Collections and choose the API Collection name

  11. The next Step is to generate an access token. This token will be sent as part of the “Authorization” header.
    Click on the “Authorization” section. Click on the “Get New Access Token“.

    Next Step is to generate an access token

  12. This will open a pop-up, click “Proceed.”

    This will open a pop-up and Click Proceed

  13. Click on “Use Token”. This will make the currently generated token ready for use. The old access token will be overwritten.

    Click on Use Token

  14. Move to the “Endpoint“ in the collection. Fill in the request parameters and payload if needed. Press “Send” to test the API.

    Move to the Endpoint in the collection

  15. Check the response in the "Response" section.

    Check the Response in the Response section