POST api/people/addPeople
Request Information
URI Parameters
None.
Body Parameters
peopleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| poid | string |
None. |
|
| head | string |
None. |
|
| remnant | string |
None. |
|
| radio | string |
None. |
|
| address | string |
None. |
|
| birthday | string |
None. |
|
| burialAddress | string |
None. |
|
| dwellAddress | string |
None. |
|
| createBy | string |
None. |
|
| CREATEDT | date |
None. |
|
| dateOfDeath | string |
None. |
|
| deleted | boolean |
None. |
|
| education | string |
None. |
|
| exits | integer |
None. |
|
| fileId | string |
None. |
|
| gender | integer |
None. |
|
| generation | string |
None. |
|
| id | integer |
None. |
|
| jishi | string |
None. |
|
| level | integer |
None. |
|
| fatherName | string |
None. |
|
| motherName | string |
None. |
|
| description | string |
None. |
|
| name | string |
None. |
|
| spouseId | integer |
None. |
|
| xingming | string |
None. |
|
| salutation | string |
None. |
|
| jiguan | string |
None. |
|
| nation | string |
None. |
|
| nickName | string |
None. |
|
| occupation | string |
None. |
|
| oldName | string |
None. |
|
| phone | string |
None. |
|
| pid | integer |
None. |
|
| sorts | integer |
None. |
|
| surname | string |
None. |
|
| timeOfBirth | string |
None. |
|
| timeOfDeath | string |
None. |
|
| tword | string |
None. |
|
| zibei | string |
None. |
|
| zid | string |
None. |
|
| zuporId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"poid": "sample string 1",
"head": "sample string 2",
"remnant": "sample string 3",
"radio": "sample string 4",
"address": "sample string 5",
"birthday": "sample string 6",
"burialAddress": "sample string 7",
"dwellAddress": "sample string 8",
"createBy": "sample string 9",
"CREATEDT": "2025-11-19T10:16:17.4628293+08:00",
"dateOfDeath": "sample string 11",
"deleted": true,
"education": "sample string 13",
"exits": 14,
"fileId": "sample string 15",
"gender": 16,
"generation": "sample string 17",
"id": 18,
"jishi": "sample string 19",
"level": 20,
"fatherName": "sample string 21",
"motherName": "sample string 22",
"description": "sample string 23",
"name": "sample string 24",
"spouseId": 25,
"xingming": "sample string 26",
"salutation": "sample string 27",
"jiguan": "sample string 28",
"nation": "sample string 29",
"nickName": "sample string 30",
"occupation": "sample string 31",
"oldName": "sample string 32",
"phone": "sample string 33",
"pid": 34,
"sorts": 35,
"surname": "sample string 36",
"timeOfBirth": "sample string 37",
"timeOfDeath": "sample string 38",
"tword": "sample string 39",
"zibei": "sample string 40",
"zid": "sample string 41",
"zuporId": "sample string 42"
}
application/xml, text/xml
Sample:
<peopleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.Entity.dto"> <CREATEDT>2025-11-19T10:16:17.4628293+08:00</CREATEDT> <address>sample string 5</address> <birthday>sample string 6</birthday> <burialAddress>sample string 7</burialAddress> <createBy>sample string 9</createBy> <dateOfDeath>sample string 11</dateOfDeath> <deleted>true</deleted> <description>sample string 23</description> <dwellAddress>sample string 8</dwellAddress> <education>sample string 13</education> <exits>14</exits> <fatherName>sample string 21</fatherName> <fileId>sample string 15</fileId> <gender>16</gender> <generation>sample string 17</generation> <head>sample string 2</head> <id>18</id> <jiguan>sample string 28</jiguan> <jishi>sample string 19</jishi> <level>20</level> <motherName>sample string 22</motherName> <name>sample string 24</name> <nation>sample string 29</nation> <nickName>sample string 30</nickName> <occupation>sample string 31</occupation> <oldName>sample string 32</oldName> <phone>sample string 33</phone> <pid>34</pid> <poid>sample string 1</poid> <radio>sample string 4</radio> <remnant>sample string 3</remnant> <salutation>sample string 27</salutation> <sorts>35</sorts> <spouseId>25</spouseId> <surname>sample string 36</surname> <timeOfBirth>sample string 37</timeOfBirth> <timeOfDeath>sample string 38</timeOfDeath> <tword>sample string 39</tword> <xingming>sample string 26</xingming> <zibei>sample string 40</zibei> <zid>sample string 41</zid> <zuporId>sample string 42</zuporId> </peopleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| data | Object |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"data": {},
"msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.API"> <code>1</code> <data /> <msg>sample string 3</msg> </ResultEntity>