View Taken Activity Cards

An overview of the View Taken Activity Cards endpoint.

Endpoint Description

The View Taken Activity Cards endpoint allows retrieval of the final cards selected and ranked by users for a specific activity. It provides details on the order, category, and content of each card associated with the user activity.

HTTP Method

GET /api/v1/view-taken-activity-cards/{userActivityId}

Headers

  • Content-Type: application/json

  • Accept: application/json

  • Authorization: Bearer {token}

URL Parameters

  • userActivityId (integer): The unique identifier of the taken activity. This parameter is required to specify the user activity being queried.

Data Dictionary for Response Fields

The response for the "View Taken Activity Cards" endpoint includes detailed information about each card associated with the specified user activity. Below is a breakdown of each field in the response data:

  • user_activity_id (integer): Unique identifier for the user activity.

  • cards (array): Array of cards associated with the user activity.

    • card_id (integer): Unique identifier for a card, indicative of its order.

    • model_category (string): The model category of the card.

    • card_detail (string): The detailed content displayed on the card.

Request Examples

Response Examples

Notes

  • Authorization Required: Ensure the provided Bearer token is valid and has sufficient privileges to access the company activity details.

  • Response Handling: Paginate responses to manage data effectively, especially when dealing with large datasets.

Last updated