Setting up your Azure Service Bus with Postman

Note: This section references the sasdanvy-corrected.html file you downloaded from the Itron Developer Portal.

The Postman tool can be used to invoke REST APIs to register your Azure Service Bus with DSS. (Final implementation will require invoking these REST APIs from your back end services. Sample code for that is described later.)

  1. Create the SAS URI for your Azure Service Bus using the HTML utility provided to you by Itron.

  2. Import the Postman files provided in the Postman tool from Itron.

  3. Run the following sequence of calls to create feature subscription.

    1. POST connect/token/ to fetch the OAuth Identity token.

    2. PUT di-subscriptions to create and update the feature subscription.

      Note: Do not forget to note the SubscriptionId. You must use the same SubscriptionId in the next GET and DELETE calls.

    3. GET /di-subscriptions/{subscription-id} to verify feature subscription details.

    4. (Later) Delete the feature subscription when you no longer want to receive notifications from the DI agent. Use DELETE /di-subscriptions/{subscription-id}