Get all Plans
Last updated
Last updated
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 Parameters
The various parameters are explained below:
Parent Property/Element | Property/Element Name | Mandatory | Data Type | Description |
---|---|---|---|---|
Request Parameters
The various parameters are explained below:
Parent Property/Element | Property/Element Name | Mandatory | Data Type | Description |
---|---|---|---|---|
Json Formatted Response Example
Request: GET /masters/plans?billerId=HUNG00000NATJL&category=Music&page=0&pagesize=10
[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
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
categorySubType
M
String
amountInRupees
M
String
effctvFrom
M
String
effctvTo
M
String
status
M
String
additionalInfo
planAdditionalInfoId
M
UUID
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
totalPages
M
Numeric
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