Save Feestructure
Save Feestructure
URL
feemanagement/savefeestructure
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | dAnZIoBkgNaEEkVMpRQC2sVAQsDVubF2 | Key obtained from authentiaction. |
| isedit | Boolean | M | T | It is for ADD and EDIT | ||
| feestructuredata | String | M | '{"key":"sjPFErWT8ka0obkr86d7og==","fid":0,"feetype":1,"feestructure":"2 MONTHS","totalfees":1250,"monthlyfees":0,"basefees":1250,"installments":0,"installmentsbase":"1","active":"T","isedit":false,"feestructuredata":"","lstgrid":[]}' | For saving JSON data | ||
| lstgrid | Array | M | Feestructure Save Request | |||
| fid | Integer | M | 1 | For unique identification | ||
| installmentsd | Integer | M | 1 | Distributing the Monthly Fees | ||
| amount | Decimal | M | 1000 | Amount to be paid | ||
| fid | Integer | M | 1 | Feestructure ID | ||
| feetype | Integer | M | ADMISSION | Different types of feetypes | ||
| feestructure | String | M | 6 MONTHS COURSE | Adding Feestructures | ||
| basefees | Decimal | M | 1000 | Basic Fees | ||
| monthlyfees | Decimal | M | 1500 | Monthly Fees | ||
| totalfees | Decimal | M | 4000 | Total Fees | ||
| installments | Integer | M | 2 | For paying the total fees by Installments | ||
| installmentsbase | String | M | Month | For Paying the total fess by year or month | ||
| active | String | M | T | The entry is active or not |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| slno | Integer | M | 1 | Serial Number |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"isedit": "T",
"feestructuredata": "'{\"key\":\"sjPFErWT8ka0obkr86d7og==\",\"fid\":0,\"feetype\":1,\"feestructure\":\"2 MONTHS\",\"totalfees\":1250,\"monthlyfees\":0,\"basefees\":1250,\"installments\":0,\"installmentsbase\":\"1\",\"active\":\"T\",\"isedit\":false,\"feestructuredata\":\"\",\"lstgrid\":[]}'",
"lstgrid": [
{
"fid": "1",
"installmentsd": "1",
"amount": "1000"
}
],
"fid": "1",
"feetype": "ADMISSION",
"feestructure": "6 MONTHS COURSE",
"basefees": "1000",
"monthlyfees": "1500",
"totalfees": "4000",
"installments": "2",
"installmentsbase": "Month",
"active": "T"
}
Sample Success Response
{
"slno": "1",
"e": 200,
"msg": "Success"
}