Save Subject
For Saving Subject
URL
feemanagement/subjectsave
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 | zlOT2vXBCV3YkjEfkHZ9FMw3x0cwrea7 | Key obtained from authentiaction. |
| subjectcode | Integer | M | 1 | subject ID | ||
| subject | String | M | English | subject name | ||
| isedit | Boolean | M | false | isedit |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| slno | Integer | M | 1 | Serial number |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"subjectcode": "1",
"subject": "English",
"isedit": "false"
}
Sample Success Response
{
"slno": "1",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 401,
"msg": "Invalid authentication credentials."
}