POST api/Registration/Parent/insertRecord
Request Information
URI Parameters
None.
Body Parameters
ParentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentId | decimal number |
None. |
|
| BranchKey | string |
None. |
|
| FatherName | string |
None. |
|
| MotherName | string |
None. |
|
| FathersPhoto | Collection of byte |
None. |
|
| MothersPhoto | Collection of byte |
None. |
|
| FathersMobileNo | string |
None. |
|
| MothersMobileNo | string |
None. |
|
| FathersUID | string |
None. |
|
| MothersUID | string |
None. |
|
| SMSOPTOUTFathersMobile | integer |
None. |
|
| SMSOPTOUTMothersMobile | integer |
None. |
|
| Password | string |
None. |
|
| Address | string |
None. |
|
| ZipCode | string |
None. |
|
| StateId | decimal number |
None. |
|
| CountryId | decimal number |
None. |
|
| string |
None. |
||
| UnsubscribeParentsEmail | integer |
None. |
|
| EditReason | string |
None. |
|
| OccupationId | decimal number |
None. |
|
| CreatedBy | decimal number |
None. |
|
| CreatedDate | date |
None. |
|
| Status | string |
None. |
|
| MonthlyIncome | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ParentId": 1.0,
"BranchKey": "sample string 2",
"FatherName": "sample string 3",
"MotherName": "sample string 4",
"FathersPhoto": "QEA=",
"MothersPhoto": "QEA=",
"FathersMobileNo": "sample string 5",
"MothersMobileNo": "sample string 6",
"FathersUID": "sample string 7",
"MothersUID": "sample string 8",
"SMSOPTOUTFathersMobile": 9,
"SMSOPTOUTMothersMobile": 10,
"Password": "sample string 11",
"Address": "sample string 12",
"ZipCode": "sample string 13",
"StateId": 14.0,
"CountryId": 15.0,
"Email": "sample string 16",
"UnsubscribeParentsEmail": 17,
"EditReason": "sample string 18",
"OccupationId": 19.0,
"CreatedBy": 20.0,
"CreatedDate": "2025-12-06T00:13:42.432817+05:30",
"Status": "sample string 22",
"MonthlyIncome": "sample string 23"
}
application/xml, text/xml
Sample:
<ParentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions"> <Address>sample string 12</Address> <BranchKey>sample string 2</BranchKey> <CountryId>15</CountryId> <CreatedBy>20</CreatedBy> <CreatedDate>2025-12-06T00:13:42.432817+05:30</CreatedDate> <EditReason>sample string 18</EditReason> <Email>sample string 16</Email> <FatherName>sample string 3</FatherName> <FathersMobileNo>sample string 5</FathersMobileNo> <FathersPhoto>QEA=</FathersPhoto> <FathersUID>sample string 7</FathersUID> <MonthlyIncome>sample string 23</MonthlyIncome> <MotherName>sample string 4</MotherName> <MothersMobileNo>sample string 6</MothersMobileNo> <MothersPhoto>QEA=</MothersPhoto> <MothersUID>sample string 8</MothersUID> <OccupationId>19</OccupationId> <ParentId>1</ParentId> <Password>sample string 11</Password> <SMSOPTOUTFathersMobile>9</SMSOPTOUTFathersMobile> <SMSOPTOUTMothersMobile>10</SMSOPTOUTMothersMobile> <StateId>14</StateId> <Status>sample string 22</Status> <UnsubscribeParentsEmail>17</UnsubscribeParentsEmail> <ZipCode>sample string 13</ZipCode> </ParentInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>