POST api/Student/AddStudentFamily?userid={userid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | string |
Required |
Body Parameters
StudentFamily| Name | Description | Type | Additional information |
|---|---|---|---|
| familyid | integer |
None. |
|
| studentid | string |
None. |
|
| mfirstname | string |
None. |
|
| mlastname | string |
None. |
|
| relation | string |
None. |
|
| education | string |
None. |
|
| gender | string |
None. |
|
| age | string |
None. |
|
| occupation | string |
None. |
|
| income | integer |
None. |
|
| contactno | string |
None. |
|
| createon | date |
None. |
|
| createby | string |
None. |
|
| updateon | date |
None. |
|
| updateby | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"familyid": 1,
"studentid": "sample string 2",
"mfirstname": "sample string 3",
"mlastname": "sample string 4",
"relation": "sample string 5",
"education": "sample string 6",
"gender": "sample string 7",
"age": "sample string 8",
"occupation": "sample string 9",
"income": 1,
"contactno": "sample string 10",
"createon": "2025-10-30T03:03:49.8790622+05:30",
"createby": "sample string 11",
"updateon": "2025-10-30T03:03:49.8790622+05:30",
"updateby": "sample string 12"
}
application/xml, text/xml
Sample:
<StudentFamily xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models"> <age>sample string 8</age> <contactno>sample string 10</contactno> <createby>sample string 11</createby> <createon>2025-10-30T03:03:49.8790622+05:30</createon> <education>sample string 6</education> <familyid>1</familyid> <gender>sample string 7</gender> <income>1</income> <mfirstname>sample string 3</mfirstname> <mlastname>sample string 4</mlastname> <occupation>sample string 9</occupation> <relation>sample string 5</relation> <studentid>sample string 2</studentid> <updateby>sample string 12</updateby> <updateon>2025-10-30T03:03:49.8790622+05:30</updateon> </StudentFamily>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>