Docs home

Get Unpublished Course Listing

Lists the courses in the organization in your `ORGID` header that are not published yet, with their prices.

GET/admin/get/unpublishedbundles
Get Unpublished Course Listing
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/admin/get/unpublishedbundles' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "unpublished_bundles": [
    {
      "institution_bundle_id": 31676,
      "bundle_id": 15665,
      "bundle_name": "test course",
      "bundle_description": "my short description",
      "bundle_status": 0,
      "bundle_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/CourseBundles(15665)/1551904-download1.jpeg",
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 100,
          "striked_cost": 110,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 31962,
      "bundle_id": 16016,
      "bundle_name": "test demo",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 10,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 36427,
      "bundle_id": 18222,
      "bundle_name": "test dummy course",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 0,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 36528,
      "bundle_id": 18321,
      "bundle_name": "Test IIT Batch",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 0,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 36820,
      "bundle_id": 18616,
      "bundle_name": "DRM",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 0,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 39290,
      "bundle_id": 20189,
      "bundle_name": "Test Session Batch",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 0,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 40030,
      "bundle_id": 20724,
      "bundle_name": "Replica Test",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 0,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 40204,
      "bundle_id": 20723,
      "bundle_name": "Replica Mysql",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 0,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 40557,
      "bundle_id": 21414,
      "bundle_name": "next tech ",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 15000,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 44848,
      "bundle_id": 24170,
      "bundle_name": "live class 2",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 100,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    },
    {
      "institution_bundle_id": 47516,
      "bundle_id": 26428,
      "bundle_name": "samo",
      "bundle_description": "",
      "bundle_status": 0,
      "bundle_img_url": null,
      "institution_id": 1613,
      "organization_id": 1943,
      "bundle_cost": [
        {
          "currency_id": "49",
          "cost": 30,
          "striked_cost": 0,
          "currency_symbol": "₹"
        }
      ]
    }
  ]
}

Access: Any signed-in user of the organization. The route has no role restriction.

Parameters: None.

Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
Show child attributesHide child attributes
Example: 15665
Example: test course
Example: my short description
Always 0, unpublished
Example: 0

Notes: Only currencies the organization sells in are included in bundle_cost. Not paginated. Rate limit: 30 requests per 1 minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI