List all azure entitlements Subscriptions

GET /v1/customers/{customerId}/subscriptions/{subscriptionId}/azure-entitlements

Returns a list of azure entitlements subscriptions for the provided parent subscription id.

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

    The GUID identifier for the parent subscription.

Query parameters

  • resellerId string(uuid)

    The reseller identifier. View only the customer subscriptions for this reseller.

Responses

GET /v1/customers/{customerId}/subscriptions/{subscriptionId}/azure-entitlements
curl \
 -X GET https://app-cloudcockpitapi-prod-01.azurewebsites.net/v1/customers/{customerId}/subscriptions/{subscriptionId}/azure-entitlements \
 -H "X-Tenant: string" \
 -H "Authorization: Bearer eyJ0eXAiO..." \
 -H "X-Correlation-Id: string"
Response examples (200)
[
  {
    "id": "string",
    "orderId": "string",
    "offerId": "string",
    "customerId": "string",
    "providerInstanceId": "string",
    "resellerId": "string",
    "subscriptionName": "string",
    "offerName": "string",
    "offerType": {
      "name": "string"
    },
    "isAddonOffer": true,
    "isTrialOffer": true,
    "providerOfferId": "string",
    "subscriptionStatus": {
      "name": "string"
    },
    "startDate": "2024-05-04T09:42:00+00:00",
    "endDate": "2024-05-04T09:42:00+00:00",
    "cancellationAllowedUntil": "2024-05-04T09:42:00+00:00",
    "quantity": 42,
    "listPrice": {
      "value": 42.0,
      "currency": {
        "name": "string"
      }
    },
    "revenuePrice": {
      "value": 42.0,
      "currency": {
        "name": "string"
      }
    },
    "erpPrice": {
      "value": 42.0,
      "currency": {
        "name": "string"
      }
    },
    "customMargin": {
      "marginRule": {
        "name": "string"
      },
      "value": 42.0
    },
    "billingFrequency": {
      "name": "string"
    },
    "billingType": {
      "name": "string"
    },
    "termDuration": {
      "name": "string"
    },
    "segment": {
      "name": "string"
    },
    "parentSubscriptionId": "string",
    "providerSubscriptionId": "string",
    "autoRenewal": true,
    "providerData": "string",
    "internalId": "string"
  }
]
Response examples (200)
[
  {
    "id": "string",
    "orderId": "string",
    "offerId": "string",
    "customerId": "string",
    "providerInstanceId": "string",
    "resellerId": "string",
    "subscriptionName": "string",
    "offerName": "string",
    "offerType": {
      "name": "string"
    },
    "isAddonOffer": true,
    "isTrialOffer": true,
    "providerOfferId": "string",
    "subscriptionStatus": {
      "name": "string"
    },
    "startDate": "2024-05-04T09:42:00+00:00",
    "endDate": "2024-05-04T09:42:00+00:00",
    "cancellationAllowedUntil": "2024-05-04T09:42:00+00:00",
    "quantity": 42,
    "listPrice": {
      "value": 42.0,
      "currency": {
        "name": "string"
      }
    },
    "revenuePrice": {
      "value": 42.0,
      "currency": {
        "name": "string"
      }
    },
    "erpPrice": {
      "value": 42.0,
      "currency": {
        "name": "string"
      }
    },
    "customMargin": {
      "marginRule": {
        "name": "string"
      },
      "value": 42.0
    },
    "billingFrequency": {
      "name": "string"
    },
    "billingType": {
      "name": "string"
    },
    "termDuration": {
      "name": "string"
    },
    "segment": {
      "name": "string"
    },
    "parentSubscriptionId": "string",
    "providerSubscriptionId": "string",
    "autoRenewal": true,
    "providerData": "string",
    "internalId": "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"
      ]
    }
  ]
}