POST api/{version}/StudyHub2/SaveStudentMail
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
StudentMailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | integer |
None. |
|
| RegistrationId | integer |
None. |
|
| StudentEnrollmentId | integer |
None. |
|
| Subject | string |
None. |
|
| Content | string |
None. |
|
| ReadtheMail | boolean |
None. |
|
| EmailId | string |
None. |
|
| FileName | string |
None. |
|
| Attachment1 | string |
None. |
|
| Attachment2 | string |
None. |
|
| CourseDisciplineId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentId": 1,
"RegistrationId": 2,
"StudentEnrollmentId": 3,
"Subject": "sample string 4",
"Content": "sample string 5",
"ReadtheMail": true,
"EmailId": "sample string 7",
"FileName": "sample string 8",
"Attachment1": "sample string 9",
"Attachment2": "sample string 10",
"CourseDisciplineId": 11
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Info | ReturnResult |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Info": {
"Status": true,
"Message": "sample string 2",
"AdditionalData": {},
"ObjAppResponseMessage": {
"Status": true,
"Message": "sample string 2",
"AdditionalData": "sample string 3"
}
},
"Data": {}
}