List Subscription eligible transitions

GET /v1/customers/{customerId}/subscriptions/{subscriptionId}/eligible-transitions

Returns a list of eligible transitions for a specified subscription.

Headers

  • X-Tenant string Required

    This header identifies which tenant to access with this request. This value should be an existent domain for the specified tenant.

  • Authorization string Required

    JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

    Default value is Bearer eyJ0eXAiO....

  • X-Correlation-Id string(UUID)

    This header is optional and by setting it you can correlate the audit logs made by this request.

Path parameters

  • customerId string(uuid) Required

    GUID Unique identifier for the customer. The subscription must belong to this customer, otherwise this request will fail.

  • subscriptionId string(uuid) Required

    GUID Unique identifier for the subscription.

Responses

GET /v1/customers/{customerId}/subscriptions/{subscriptionId}/eligible-transitions
curl \
 -X GET https://app-cloudcockpitapi-prod-01.azurewebsites.net/v1/customers/{customerId}/subscriptions/{subscriptionId}/eligible-transitions \
 -H "X-Tenant: string" \
 -H "Authorization: Bearer eyJ0eXAiO..." \
 -H "X-Correlation-Id: string"
Response examples (200)
[
  {
    "destinationSubscriptionId": "string",
    "destinationProviderSubscriptionId": "string",
    "offerName": "string",
    "offerId": "string",
    "providerOfferId": "string",
    "providerOfferIdWithAvailability": "string",
    "imageUrl": "string",
    "quantity": 42,
    "termDuration": {
      "name": "string"
    },
    "billingFrequency": {
      "name": "string"
    },
    "transitionType": "string",
    "transitionEvents": [
      {
        "name": "string",
        "status": "string"
      }
    ]
  }
]
Response examples (200)
[
  {
    "destinationSubscriptionId": "string",
    "destinationProviderSubscriptionId": "string",
    "offerName": "string",
    "offerId": "string",
    "providerOfferId": "string",
    "providerOfferIdWithAvailability": "string",
    "imageUrl": "string",
    "quantity": 42,
    "termDuration": {
      "name": "string"
    },
    "billingFrequency": {
      "name": "string"
    },
    "transitionType": "string",
    "transitionEvents": [
      {
        "name": "string",
        "status": "string"
      }
    ]
  }
]
Response examples (400)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}
Response examples (400)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}
Response examples (404)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}
Response examples (404)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}
Response examples (500)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}
Response examples (500)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}