get_client_package_details

Description

This API allows you to obtain the details of package(s) assigned to a client including the remaining minutes.

Parameters

client_account_code 

Request

curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \-H "Content-Type: application/json" \
-d '{"client_account_code":"2144533795"}' \
-k https://your.domain.com/api/users/get_client_package_details

Responses

{
  "status": "success",
  "results": [
    {
      "day_of_renew": "30",
      "client_account_code": "2144533795",
      "package_name": "North_America_2000",
      "remaining_minutes": 750.0
    },
  ]
}