Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2364

Add Azure Customer Id to subscription and contract records

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-06-12 - API
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • True
    • 5

      In order to utilize IT Partner Gateways admin API for account cleanup, we will need to store the azure customer ID on both the subscriptions and contracts tables' billing_provider_id columns. The API will accept AzureCustomerId and OfferId(already saved). This data is in the response from partner gateway and should be stored during contract creation.

      Done:
      azureCustomerId is found in the billing_provider_id field of  GET /api/swatch-contracts/internal/contracts endpoint. The format will be 

      AzureResourceId;AzurePlanId;AzureOfferId;AzureCustomerId

              kflahert@redhat.com Kevin Flaherty
              kflahert@redhat.com Kevin Flaherty
              Trayvon McKnight Trayvon McKnight
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: