Admin Get Plan Metrices By Type
Developing
GET
/admin/plans/{planId}/metrices/{type}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.vidinfra.com/v1/admin/plans/dad08e78-50f9-4cb7-beb4-d75a9ccc040d/metrices/'
Response Response Example
{"message":"metrics found successfully","result":[{"id":"75c393b4-b5bd-4303-8247-117b89ae6f9d","user_plan_id":"dad08e78-50f9-4cb7-beb4-d75a9ccc040d","type":"metered","name":"Plan Matric 1","code":"PLN_MTRC_1","description":"This is a plan matric.","unit":"unit1","price_per_unit":1000,"aggregate_type":"count","aggregation_property":"property1","created_at":"2024-03-30T15:27:13+06:00","updated_at":"2024-03-30T15:27:13+06:00","deleted_at":null}],"success":true}
Request
Path Params
planId
stringÂ
required
Example:
dad08e78-50f9-4cb7-beb4-d75a9ccc040d
type
stringÂ
required
Responses
Modified at 2025-06-19 04:59:01