Adds a new charge pricing template
post
/web/v1/chgPrcTmpl
This endpoint is used to add a new charge pricing template.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
-
branchCode: string
branchCode
-
userId: string
userId
Request Body that contains data required for creating a new charge pricing template.
Root Schema : ChgPrcTmplWebModel
Type:
object
ChgPrcTmplWebModel
Show Source
-
approverRemarks(optional):
string
Approver remarks
-
authStatus(optional):
string
Auth status flag
-
checkerDateStamp(optional):
string
Checker date stamp
-
checkerId(optional):
string
Check id
-
cmcTmChgPrcTmplt(optional):
object CmcTmChgPrcTmpltDTO
-
doerRemarks(optional):
string
Doer remarks
-
extendedDatasegments(optional):
array extendedDatasegments
Data for the extended datasegment operation
-
makerDateStamp(optional):
string
Maker date stamp
-
makerId(optional):
string
Maker id
-
modNo(optional):
integer
Mod no
-
onceAuth(optional):
string
Once auth flag
-
operationType:
string
Operation type
-
recordStatus(optional):
string
Record status flag
-
resourceId:
string
Resource id
-
resourceName(optional):
string
Resource name
Nested Schema : CmcTmChgPrcTmpltDTO
Type:
Show Source
object
-
annumBasis(optional):
string
Annum Basis
-
applicationCode(optional):
string
Application Code
-
chgInTxnCcy(optional):
string
Charge In Transaction Currency Flag
-
chgPrcDesc(optional):
string
Price Method Description
-
chgPrcTemplateId(optional):
string
Price Rule Id
-
CmcTmChgPrcTiersDTO(optional):
array CmcTmChgPrcTiersDTO
-
fixedAmt(optional):
number
Fixed Amount
-
fixedPct(optional):
number
Fixed Percentage
-
flatChg(optional):
string
Flat Charge Flag
-
maxChgAmount(optional):
number
Maximum Charge Amount
-
maxChgPct(optional):
number
Maximum Charge Percentage
-
minChgAmount(optional):
number
Minimum Charge Amount
-
minChgPct(optional):
number
Minimum Charge Percentage
-
minMaxValidationCriteria(optional):
string
Min-Max CHarge Criteria
-
ObTmChgPrcTiersDTO(optional):
array ObTmChgPrcTiersDTO
-
prcCategory(optional):
string
Price Category
-
prcCategoryDesc(optional):
string
Price Category Description
-
prcCcy(optional):
string
Price Rule Currency
-
prcMethod(optional):
string
Price Method
-
prcMethodDesc(optional):
string
Price Method Description
-
txnControllerRefNo(optional):
string
Transaction COntroller Reference Number
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CmcTmChgPrcTmpltDTO-allOf[1]
Nested Schema : extendedDatasegments
Type:
array
Data for the extended datasegment operation
Show Source
Nested Schema : GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CmcTmChgPrcTmpltDTO-allOf[1]
Type:
object
Nested Schema : CmcTmChgPrcTiersDTO
Type:
Show Source
object
-
amount(optional):
number
Slab Amount
-
chgPrcTemplateId(optional):
string
Price Rule Id
-
fromSlab(optional):
number
Slab start limit
-
id(optional):
string
Id
-
pct(optional):
number
Slab Percentage
-
prcMasterId(optional):
string
Price rule master id
-
toSlab(optional):
number
Slab end limit
-
unit(optional):
number
Slab units
Nested Schema : items
Type:
object
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created charge pricing template.
Root Schema : ResponseDtoWrapper
Type:
object
Collection of ResponseDto and ResponseResourceSupport
Show Source
-
data(optional):
object ResponseResourceSupport
Response DTO which extends RepresentationModel of Spring HATEOAS
-
messages(optional):
object ResponseDto
ResponseDto stores the response status and code.
Nested Schema : ResponseResourceSupport
Type:
object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type:
object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type:
Show Source
array
-
Array of:
object ResponseCode
ResponseCode stores the response details.
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error