Skip to main content

Get Single

GET 

/api/subscription/24

API Endpoint: Get Subscription Details

Purpose

This endpoint retrieves detailed information about a specific subscription identified by its unique ID. In this case, the subscription ID is 24. This is useful for applications that need to display or manage subscription details for users.

Request Format

  • Method: GET
  • URL: https://app.udyogx.in/api/subscription/24
  • Request Body: No request body is required for this GET request.

Response Structure

The response will contain the details of the subscription, typically structured in JSON format. While the exact fields may vary, you can expect to receive the following types of information:

  • id: Unique identifier for the subscription.
  • name: Name of the subscription plan.
  • status: Current status of the subscription (e.g., active, expired).
  • start_date: The date when the subscription started.
  • end_date: The date when the subscription will end.
  • user_details: Information about the user associated with the subscription.

Ensure to handle the response appropriately to extract and display the relevant subscription details in your application.

Responses