Get all Plans
API for getting list of plans for a specific biller.This api has to be invoked if planMDM requirement is mandatory for the biller, it will return the list of plans.
Endpoint: Request: GET /masters/plans?billerId=HUNG00000NATJL&category=Music&page=0&pagesize=10
Request body
Parent Property/Element | Property/Element Name | Mandatory | Data Type | Description |
---|---|---|---|---|
[ROOT] (No parent property / element) | billerId | M | Alphanumeric | Fixed Length – 14 |
category | C | String | Category of the Plan | |
amountInRupees | C | String | Amount of the Plan | |
circle | C | String | Circle of the Plan | |
page | C | Numeric | Page number for API Response Pagination | |
pagesize | C | Numeric | Page Size for API Response Pagination |
Response body
Parent Property/Element | Property/Element Name | Mandatory | Data Type | Description |
---|---|---|---|---|
plans | planId | M | String | A unique id to identify the plans |
description | M | String | Description of the plan | |
billerId | M | String | Biller id of fixed lenght | |
categoryType | M | String | Category type of biller | |
categorySubType | M | String | Category sub type of biller | |
amountInRupees | M | String | Amount in rupees. eg: "100" | |
effctvFrom | M | String | Effective from date | |
effctvTo | M | String | Effective to date | |
status | M | String | It is either “Success” or failure | |
additionalInfo | planAdditionalInfoId | M | UUID | Plan additional info id |
tags | M | List | Will be a list of additional ifos Eg: { "tagId":"d55aa58e-bf83-4273-80ee- 7bc8e7c4f1a2", "name": "Package Duration", "value": "1 Month" } | |
[ROOT](No parent property / element) | pageNo | M | Numeric | Page number for API Response Pagination |
pageSize | M | Numeric | Page Size for API Response Pagination | |
totalElements | M | Numeric | Total elements | |
totalPages | M | Numeric | Total number of pages | |
generalResp | statusCode | M | Numeric | 200- SUCCESS Other than 200-Failure |
status | M | String | It is either “Success” or failure | |
message | M | String | Contains the reason message for failure / success | |
remarks | C | String | Remark |
Response body
Last updated