upGrad Commission Rule Controller API
The commission-rule-controller API from upGrad — 2 operation(s) for commission-rule-controller.
The commission-rule-controller API from upGrad — 2 operation(s) for commission-rule-controller.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/upgrad-commission-rule-controller-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Partner Service Commission Rule Controller API
license:
name: Apache 2.0
url: https://upgrad.com
version: '1'
servers:
- url: https://partner.upgrad.com
description: Generated server url
security:
- AUTH-TOKEN: []
tags:
- name: commission-rule-controller
paths:
/commission-rule:
get:
tags:
- commission-rule-controller
operationId: getCommissionRules
parameters:
- name: predicate
in: query
required: true
schema:
$ref: '#/components/schemas/Predicate'
- name: pageable
in: query
required: true
schema:
$ref: '#/components/schemas/Pageable'
responses:
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'409':
description: Conflict
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'405':
description: Method Not Allowed
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'503':
description: Service Unavailable
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'429':
description: Too Many Requests
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/PageResponseCommissionRuleDto'
summary: Get commission rules
x-summary-source: derived
put:
tags:
- commission-rule-controller
operationId: updateCommissionRule
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CommissionRuleDto'
required: true
responses:
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'409':
description: Conflict
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'405':
description: Method Not Allowed
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'503':
description: Service Unavailable
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'429':
description: Too Many Requests
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'200':
description: OK
summary: Update commission rule
x-summary-source: derived
post:
tags:
- commission-rule-controller
operationId: saveCommissionRule
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CommissionRuleDto'
required: true
responses:
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'409':
description: Conflict
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'405':
description: Method Not Allowed
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'503':
description: Service Unavailable
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'429':
description: Too Many Requests
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'200':
description: OK
summary: Save commission rule
x-summary-source: derived
/commission-rule/{commissionId}:
get:
tags:
- commission-rule-controller
operationId: getCommissionDetail
parameters:
- name: commissionId
in: path
required: true
schema:
type: integer
format: int64
responses:
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'409':
description: Conflict
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'405':
description: Method Not Allowed
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'503':
description: Service Unavailable
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'429':
description: Too Many Requests
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorContext'
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/CommissionRuleDto'
summary: Get commission detail
x-summary-source: derived
components:
schemas:
Predicate:
type: object
ErrorContext:
type: object
properties:
errorCode:
type: string
messages:
type: array
items:
type: string
data:
type: object
additionalProperties:
type: object
PageResponseCommissionRuleDto:
type: object
properties:
total:
type: integer
format: int64
data:
type: array
items:
$ref: '#/components/schemas/CommissionRuleDto'
CommissionRuleDto:
type: object
properties:
id:
type: integer
format: int64
partnerDetail:
type: string
enum:
- GST_PARTNER
- NON_GST_PARTNER
- PARTNER_SPECIFIC
partnerType:
type: string
enum:
- FP
- CP
- CP_SA
- LC
partnerId:
type: integer
format: int64
programType:
type: string
enum:
- PROGRAM_VERTICAL
- PROGRAM_SPECIFIC
programVertical:
type: string
programKey:
type: string
commissionType:
type: string
enum:
- FIXED
- SLAB_AMOUNT
- SLAB_ENROLLMENT
commission:
type: number
format: double
applicableFromDate:
type: string
format: date
parentRuleId:
type: integer
format: int64
archivedAt:
type: string
format: date
commissionRuleSlab:
type: array
items:
$ref: '#/components/schemas/CommissionRuleSlabDto'
lastUpdatedById:
type: integer
format: int64
lastUpdated:
type: string
format: date-time
CommissionRuleSlabDto:
type: object
properties:
id:
type: integer
format: int64
commissionRuleId:
type: integer
format: int64
minLimit:
type: number
format: double
maxLimit:
type: number
format: double
commission:
type: number
format: double
Pageable:
type: object
properties:
page:
minimum: 0
type: integer
format: int32
size:
minimum: 1
type: integer
format: int32
sort:
type: array
items:
type: string
securitySchemes:
AUTH-TOKEN:
type: apiKey
name: AUTH-TOKEN
in: header