NodeRingsDocs

Get Marketplace Plan

Get Marketplace Plan on the NodeRings client API (GET /v1/marketplace/plans/{planId}).

GET
/v1/marketplace/plans/{planId}
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

planIdstring

Response Body

application/json

curl -X GET "https://api.noderings.com/v1/marketplace/plans/{planId}" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "planId": "string",
  "planCode": "string",
  "regionId": "string",
  "regionCity": "string",
  "regionCountry": "string",
  "organizationId": "string",
  "organizationName": "string",
  "providerLogoUrl": "string",
  "billingType": "BILLING_TYPE_UNSPECIFIED",
  "vcpus": 0,
  "ramGb": 0,
  "diskGb": 0,
  "planPrices": [
    {
      "id": "string",
      "pricingModel": "PRICING_MODEL_UNSPECIFIED",
      "chargeTiming": "CHARGE_TIMING_UNSPECIFIED",
      "tierMode": "TIER_MODE_UNSPECIFIED",
      "currency": "string",
      "unitAmount": "string",
      "unitName": "string",
      "unitQuantity": 0,
      "metricName": "string",
      "metricAggregation": "METRIC_AGGREGATION_UNSPECIFIED",
      "packageSize": 0,
      "packagePrice": "string",
      "overagePrice": "string",
      "billingPeriod": "BILLING_PERIOD_UNSPECIFIED",
      "billingInterval": 0,
      "minimumCharge": "string",
      "maximumCharge": "string",
      "freeUnits": 0,
      "freeAmount": "string",
      "prorate": true,
      "metered": true,
      "effectiveFrom": "2019-08-24T14:15:22Z",
      "effectiveUntil": "2019-08-24T14:15:22Z",
      "externalId": "string",
      "productType": "PRODUCT_TYPE_UNSPECIFIED",
      "parentPlanId": "string",
      "minQuantity": 0,
      "maxQuantity": 0,
      "pricingFormula": {},
      "planPrices": [
        {
          "id": "string",
          "name": "string",
          "description": "string",
          "code": "string",
          "endUser": "END_USER_UNSPECIFIED",
          "billingPeriod": "BILLING_PERIOD_UNSPECIFIED",
          "planType": "PLAN_TYPE_UNSPECIFIED",
          "billingType": "BILLING_TYPE_UNSPECIFIED",
          "assetCategory": "ASSET_CATEGORY_UNSPECIFIED",
          "assetType": "ASSET_TYPE_UNSPECIFIED",
          "planCategory": "PLAN_CATEGORY_UNSPECIFIED",
          "currency": "string",
          "setupFee": "string",
          "trialDays": 0,
          "trialAvailable": true,
          "gracePeriodDays": 0,
          "autoRenew": true,
          "maxSubscribers": 0,
          "isPublic": true,
          "slaHours": 0,
          "requiresManualApproval": true,
          "effectiveFrom": "2019-08-24T14:15:22Z",
          "effectiveUntil": "2019-08-24T14:15:22Z",
          "externalBillingId": "string",
          "templatePlanId": "string",
          "rulesetIds": [
            "string"
          ],
          "planPrices": [
            {
              "id": "string",
              "pricingModel": "PRICING_MODEL_UNSPECIFIED",
              "chargeTiming": "CHARGE_TIMING_UNSPECIFIED",
              "tierMode": "TIER_MODE_UNSPECIFIED",
              "currency": "string",
              "unitAmount": "string",
              "unitName": "string",
              "unitQuantity": 0,
              "metricName": "string",
              "metricAggregation": "METRIC_AGGREGATION_UNSPECIFIED",
              "packageSize": 0,
              "packagePrice": "string",
              "overagePrice": "string",
              "billingPeriod": "BILLING_PERIOD_UNSPECIFIED",
              "billingInterval": 0,
              "minimumCharge": "string",
              "maximumCharge": "string",
              "freeUnits": 0,
              "freeAmount": "string",
              "prorate": true,
              "metered": true,
              "effectiveFrom": "2019-08-24T14:15:22Z",
              "effectiveUntil": "2019-08-24T14:15:22Z",
              "externalId": "string",
              "productType": "PRODUCT_TYPE_UNSPECIFIED",
              "parentPlanId": "string",
              "minQuantity": 0,
              "maxQuantity": 0,
              "pricingFormula": {},
              "planPrices": [],
              "pricingTierIds": [
                "string"
              ],
              "subscriptionTemplateIds": [
                "string"
              ],
              "metricIds": [
                "string"
              ],
              "metadata": {},
              "status": "STATUS_UNSPECIFIED",
              "timestamps": {
                "createTime": "2019-08-24T14:15:22Z",
                "updateTime": "2019-08-24T14:15:22Z"
              }
            }
          ],
          "subscriptionIds": [
            "string"
          ],
          "regionIds": [
            "string"
          ],
          "nodeIds": [
            "string"
          ],
          "organizationName": "string",
          "onCreditExhaustion": "string",
          "metadata": {},
          "status": "STATUS_UNSPECIFIED",
          "timestamps": {
            "createTime": "2019-08-24T14:15:22Z",
            "updateTime": "2019-08-24T14:15:22Z"
          }
        }
      ],
      "pricingTierIds": [
        "string"
      ],
      "subscriptionTemplateIds": [
        "string"
      ],
      "metricIds": [
        "string"
      ],
      "metadata": {},
      "status": "STATUS_UNSPECIFIED",
      "timestamps": {
        "createTime": "2019-08-24T14:15:22Z",
        "updateTime": "2019-08-24T14:15:22Z"
      }
    }
  ],
  "planRegions": [
    {
      "regionId": "string",
      "country": "string",
      "city": "string",
      "latitude": 0.1,
      "longitude": 0.1
    }
  ],
  "rating": 0.1,
  "totalReviews": 0
}