POST api/Parent/AddParent
Request Information
URI Parameters
None.
Body Parameters
ParentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Gender | string |
None. |
|
Occupation | string |
None. |
|
StudentId | integer |
None. |
|
BloodGroup | string |
None. |
|
Religion | string |
None. |
|
string |
None. |
||
Address | string |
None. |
|
Mobile | string |
None. |
|
ShortBio | string |
None. |
|
Photo | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "Gender": "sample string 4", "Occupation": "sample string 5", "StudentId": 6, "BloodGroup": "sample string 7", "Religion": "sample string 8", "Email": "sample string 9", "Address": "sample string 10", "Mobile": "sample string 11", "ShortBio": "sample string 12", "Photo": "sample string 13", "CreatedBy": "sample string 14", "CreatedDate": "2024-12-01T09:43:44.2485224+05:30", "UpdatedBy": "sample string 16", "UpdatedDate": "2024-12-01T09:43:44.2485224+05:30" }
application/octet-stream
Sample:
{"$id":"1","Id":1,"FirstName":"sample string 2","LastName":"sample string 3","Gender":"sample string 4","Occupation":"sample string 5","StudentId":6,"BloodGroup":"sample string 7","Religion":"sample string 8","Email":"sample string 9","Address":"sample string 10","Mobile":"sample string 11","ShortBio":"sample string 12","Photo":"sample string 13","CreatedBy":"sample string 14","CreatedDate":"2024-12-01T09:43:44.2485224+05:30","UpdatedBy":"sample string 16","UpdatedDate":"2024-12-01T09:43:44.2485224+05:30"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.