POST api/Account/Updateparentsdata
Request Information
URI Parameters
None.
Body Parameters
Collection of Update_parents_DTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| user_id | integer |
None. |
|
| name | string |
None. |
|
| birth_date | string |
None. |
|
| age | string |
None. |
|
| gender | string |
None. |
|
| religion | string |
None. |
|
| nationality | string |
None. |
|
| national_id_number | string |
None. |
|
| home_phone_number | string |
None. |
|
| cell_phone_number | string |
None. |
|
| passport_number | string |
None. |
|
| country_of_birth | string |
None. |
|
| passport_issue_date | string |
None. |
|
| passport_expiry_date | string |
None. |
|
| home_address | string |
None. |
|
| permanent_address | string |
None. |
|
| preferred_mobile_number_for_sms | string |
None. |
|
| yearly_income | string |
None. |
|
| occupation | string |
None. |
|
| is_active | integer |
None. |
|
| is_deleted | integer |
None. |
|
| parent_type | integer |
None. |
|
| create_date | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"user_id": 2,
"name": "sample string 3",
"birth_date": "sample string 4",
"age": "sample string 5",
"gender": "sample string 6",
"religion": "sample string 7",
"nationality": "sample string 8",
"national_id_number": "sample string 9",
"home_phone_number": "sample string 10",
"cell_phone_number": "sample string 11",
"passport_number": "sample string 12",
"country_of_birth": "sample string 13",
"passport_issue_date": "sample string 14",
"passport_expiry_date": "sample string 15",
"home_address": "sample string 16",
"permanent_address": "sample string 17",
"preferred_mobile_number_for_sms": "sample string 18",
"yearly_income": "sample string 19",
"occupation": "sample string 20",
"is_active": 21,
"is_deleted": 22,
"parent_type": 23,
"create_date": "2025-12-22T16:10:51.4687765+05:30"
},
{
"id": 1,
"user_id": 2,
"name": "sample string 3",
"birth_date": "sample string 4",
"age": "sample string 5",
"gender": "sample string 6",
"religion": "sample string 7",
"nationality": "sample string 8",
"national_id_number": "sample string 9",
"home_phone_number": "sample string 10",
"cell_phone_number": "sample string 11",
"passport_number": "sample string 12",
"country_of_birth": "sample string 13",
"passport_issue_date": "sample string 14",
"passport_expiry_date": "sample string 15",
"home_address": "sample string 16",
"permanent_address": "sample string 17",
"preferred_mobile_number_for_sms": "sample string 18",
"yearly_income": "sample string 19",
"occupation": "sample string 20",
"is_active": 21,
"is_deleted": 22,
"parent_type": 23,
"create_date": "2025-12-22T16:10:51.4687765+05:30"
}
]
application/xml, text/xml
Sample:
<ArrayOfUpdate_parents_DTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NxModel">
<Update_parents_DTO>
<age>sample string 5</age>
<birth_date>sample string 4</birth_date>
<cell_phone_number>sample string 11</cell_phone_number>
<country_of_birth>sample string 13</country_of_birth>
<create_date>2025-12-22T16:10:51.4687765+05:30</create_date>
<gender>sample string 6</gender>
<home_address>sample string 16</home_address>
<home_phone_number>sample string 10</home_phone_number>
<id>1</id>
<is_active>21</is_active>
<is_deleted>22</is_deleted>
<name>sample string 3</name>
<national_id_number>sample string 9</national_id_number>
<nationality>sample string 8</nationality>
<occupation>sample string 20</occupation>
<parent_type>23</parent_type>
<passport_expiry_date>sample string 15</passport_expiry_date>
<passport_issue_date>sample string 14</passport_issue_date>
<passport_number>sample string 12</passport_number>
<permanent_address>sample string 17</permanent_address>
<preferred_mobile_number_for_sms>sample string 18</preferred_mobile_number_for_sms>
<religion>sample string 7</religion>
<user_id>2</user_id>
<yearly_income>sample string 19</yearly_income>
</Update_parents_DTO>
<Update_parents_DTO>
<age>sample string 5</age>
<birth_date>sample string 4</birth_date>
<cell_phone_number>sample string 11</cell_phone_number>
<country_of_birth>sample string 13</country_of_birth>
<create_date>2025-12-22T16:10:51.4687765+05:30</create_date>
<gender>sample string 6</gender>
<home_address>sample string 16</home_address>
<home_phone_number>sample string 10</home_phone_number>
<id>1</id>
<is_active>21</is_active>
<is_deleted>22</is_deleted>
<name>sample string 3</name>
<national_id_number>sample string 9</national_id_number>
<nationality>sample string 8</nationality>
<occupation>sample string 20</occupation>
<parent_type>23</parent_type>
<passport_expiry_date>sample string 15</passport_expiry_date>
<passport_issue_date>sample string 14</passport_issue_date>
<passport_number>sample string 12</passport_number>
<permanent_address>sample string 17</permanent_address>
<preferred_mobile_number_for_sms>sample string 18</preferred_mobile_number_for_sms>
<religion>sample string 7</religion>
<user_id>2</user_id>
<yearly_income>sample string 19</yearly_income>
</Update_parents_DTO>
</ArrayOfUpdate_parents_DTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />