POST api/School/AddSchool
“AddSchool”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"InData": [
{
"id": 1,
"yeyname": "sample string 2",
"yeynamepy": "sample string 3",
"yeynasspell": "sample string 4",
"applyer": "sample string 5",
"phone": "sample string 6",
"email": "sample string 7",
"yeyurl1": 1,
"urlname1": "sample string 8",
"yeyurl2": "sample string 9",
"yeyaddr": "sample string 10",
"yeylng": "sample string 11",
"useraccount": "sample string 12",
"yeylat": "sample string 13",
"regioncode": "sample string 14",
"croomid": 1,
"serverid": 1,
"starttime": "2026-08-18T08:10:21.1782037+08:00",
"endtime": "2026-08-18T08:10:21.1782037+08:00",
"auditstatus": 1,
"creatstatus": 1,
"tempsysman": 1,
"status": 1,
"buyrecord": "sample string 15",
"description": "sample string 16",
"creationtime": "2026-08-18T08:10:21.1782037+08:00",
"creator": "sample string 17",
"altertime": "2026-08-18T08:10:21.1782037+08:00",
"alteruser": "sample string 18",
"delflag": 19,
"yeyurl3": "sample string 20",
"linkman": "sample string 21",
"version": 22,
"ValidateCode": "sample string 23",
"Columnstr": "sample string 24",
"systype": 1,
"registertype": 1,
"Ispass": true,
"pwd": "sample string 26",
"tbtime": "2026-08-18T08:10:21.1782037+08:00",
"Actiontype": 27,
"isSendEmail": true,
"Isngroup": 29,
"OpFlag": 30
},
{
"id": 1,
"yeyname": "sample string 2",
"yeynamepy": "sample string 3",
"yeynasspell": "sample string 4",
"applyer": "sample string 5",
"phone": "sample string 6",
"email": "sample string 7",
"yeyurl1": 1,
"urlname1": "sample string 8",
"yeyurl2": "sample string 9",
"yeyaddr": "sample string 10",
"yeylng": "sample string 11",
"useraccount": "sample string 12",
"yeylat": "sample string 13",
"regioncode": "sample string 14",
"croomid": 1,
"serverid": 1,
"starttime": "2026-08-18T08:10:21.1782037+08:00",
"endtime": "2026-08-18T08:10:21.1782037+08:00",
"auditstatus": 1,
"creatstatus": 1,
"tempsysman": 1,
"status": 1,
"buyrecord": "sample string 15",
"description": "sample string 16",
"creationtime": "2026-08-18T08:10:21.1782037+08:00",
"creator": "sample string 17",
"altertime": "2026-08-18T08:10:21.1782037+08:00",
"alteruser": "sample string 18",
"delflag": 19,
"yeyurl3": "sample string 20",
"linkman": "sample string 21",
"version": 22,
"ValidateCode": "sample string 23",
"Columnstr": "sample string 24",
"systype": 1,
"registertype": 1,
"Ispass": true,
"pwd": "sample string 26",
"tbtime": "2026-08-18T08:10:21.1782037+08:00",
"Actiontype": 27,
"isSendEmail": true,
"Isngroup": 29,
"OpFlag": 30
},
{
"id": 1,
"yeyname": "sample string 2",
"yeynamepy": "sample string 3",
"yeynasspell": "sample string 4",
"applyer": "sample string 5",
"phone": "sample string 6",
"email": "sample string 7",
"yeyurl1": 1,
"urlname1": "sample string 8",
"yeyurl2": "sample string 9",
"yeyaddr": "sample string 10",
"yeylng": "sample string 11",
"useraccount": "sample string 12",
"yeylat": "sample string 13",
"regioncode": "sample string 14",
"croomid": 1,
"serverid": 1,
"starttime": "2026-08-18T08:10:21.1782037+08:00",
"endtime": "2026-08-18T08:10:21.1782037+08:00",
"auditstatus": 1,
"creatstatus": 1,
"tempsysman": 1,
"status": 1,
"buyrecord": "sample string 15",
"description": "sample string 16",
"creationtime": "2026-08-18T08:10:21.1782037+08:00",
"creator": "sample string 17",
"altertime": "2026-08-18T08:10:21.1782037+08:00",
"alteruser": "sample string 18",
"delflag": 19,
"yeyurl3": "sample string 20",
"linkman": "sample string 21",
"version": 22,
"ValidateCode": "sample string 23",
"Columnstr": "sample string 24",
"systype": 1,
"registertype": 1,
"Ispass": true,
"pwd": "sample string 26",
"tbtime": "2026-08-18T08:10:21.1782037+08:00",
"Actiontype": 27,
"isSendEmail": true,
"Isngroup": 29,
"OpFlag": 30
}
],
"OpFlag": 1,
"SrcFlag": "sample string 2"
}
application/xml, text/xml
Sample:
<School.InPrame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models">
<InData>
<School.TempDto>
<Actiontype>27</Actiontype>
<Columnstr>sample string 24</Columnstr>
<Isngroup>29</Isngroup>
<Ispass>true</Ispass>
<OpFlag>30</OpFlag>
<ValidateCode>sample string 23</ValidateCode>
<altertime>2026-08-18T08:10:21.1782037+08:00</altertime>
<alteruser>sample string 18</alteruser>
<applyer>sample string 5</applyer>
<auditstatus>1</auditstatus>
<buyrecord>sample string 15</buyrecord>
<creationtime>2026-08-18T08:10:21.1782037+08:00</creationtime>
<creator>sample string 17</creator>
<creatstatus>1</creatstatus>
<croomid>1</croomid>
<delflag>19</delflag>
<description>sample string 16</description>
<email>sample string 7</email>
<endtime>2026-08-18T08:10:21.1782037+08:00</endtime>
<id>1</id>
<isSendEmail>true</isSendEmail>
<linkman>sample string 21</linkman>
<phone>sample string 6</phone>
<pwd>sample string 26</pwd>
<regioncode>sample string 14</regioncode>
<registertype>1</registertype>
<serverid>1</serverid>
<starttime>2026-08-18T08:10:21.1782037+08:00</starttime>
<status>1</status>
<systype>1</systype>
<tbtime>2026-08-18T08:10:21.1782037+08:00</tbtime>
<tempsysman>1</tempsysman>
<urlname1>sample string 8</urlname1>
<useraccount>sample string 12</useraccount>
<version>22</version>
<yeyaddr>sample string 10</yeyaddr>
<yeylat>sample string 13</yeylat>
<yeylng>sample string 11</yeylng>
<yeyname>sample string 2</yeyname>
<yeynamepy>sample string 3</yeynamepy>
<yeynasspell>sample string 4</yeynasspell>
<yeyurl1>1</yeyurl1>
<yeyurl2>sample string 9</yeyurl2>
<yeyurl3>sample string 20</yeyurl3>
</School.TempDto>
<School.TempDto>
<Actiontype>27</Actiontype>
<Columnstr>sample string 24</Columnstr>
<Isngroup>29</Isngroup>
<Ispass>true</Ispass>
<OpFlag>30</OpFlag>
<ValidateCode>sample string 23</ValidateCode>
<altertime>2026-08-18T08:10:21.1782037+08:00</altertime>
<alteruser>sample string 18</alteruser>
<applyer>sample string 5</applyer>
<auditstatus>1</auditstatus>
<buyrecord>sample string 15</buyrecord>
<creationtime>2026-08-18T08:10:21.1782037+08:00</creationtime>
<creator>sample string 17</creator>
<creatstatus>1</creatstatus>
<croomid>1</croomid>
<delflag>19</delflag>
<description>sample string 16</description>
<email>sample string 7</email>
<endtime>2026-08-18T08:10:21.1782037+08:00</endtime>
<id>1</id>
<isSendEmail>true</isSendEmail>
<linkman>sample string 21</linkman>
<phone>sample string 6</phone>
<pwd>sample string 26</pwd>
<regioncode>sample string 14</regioncode>
<registertype>1</registertype>
<serverid>1</serverid>
<starttime>2026-08-18T08:10:21.1782037+08:00</starttime>
<status>1</status>
<systype>1</systype>
<tbtime>2026-08-18T08:10:21.1782037+08:00</tbtime>
<tempsysman>1</tempsysman>
<urlname1>sample string 8</urlname1>
<useraccount>sample string 12</useraccount>
<version>22</version>
<yeyaddr>sample string 10</yeyaddr>
<yeylat>sample string 13</yeylat>
<yeylng>sample string 11</yeylng>
<yeyname>sample string 2</yeyname>
<yeynamepy>sample string 3</yeynamepy>
<yeynasspell>sample string 4</yeynasspell>
<yeyurl1>1</yeyurl1>
<yeyurl2>sample string 9</yeyurl2>
<yeyurl3>sample string 20</yeyurl3>
</School.TempDto>
<School.TempDto>
<Actiontype>27</Actiontype>
<Columnstr>sample string 24</Columnstr>
<Isngroup>29</Isngroup>
<Ispass>true</Ispass>
<OpFlag>30</OpFlag>
<ValidateCode>sample string 23</ValidateCode>
<altertime>2026-08-18T08:10:21.1782037+08:00</altertime>
<alteruser>sample string 18</alteruser>
<applyer>sample string 5</applyer>
<auditstatus>1</auditstatus>
<buyrecord>sample string 15</buyrecord>
<creationtime>2026-08-18T08:10:21.1782037+08:00</creationtime>
<creator>sample string 17</creator>
<creatstatus>1</creatstatus>
<croomid>1</croomid>
<delflag>19</delflag>
<description>sample string 16</description>
<email>sample string 7</email>
<endtime>2026-08-18T08:10:21.1782037+08:00</endtime>
<id>1</id>
<isSendEmail>true</isSendEmail>
<linkman>sample string 21</linkman>
<phone>sample string 6</phone>
<pwd>sample string 26</pwd>
<regioncode>sample string 14</regioncode>
<registertype>1</registertype>
<serverid>1</serverid>
<starttime>2026-08-18T08:10:21.1782037+08:00</starttime>
<status>1</status>
<systype>1</systype>
<tbtime>2026-08-18T08:10:21.1782037+08:00</tbtime>
<tempsysman>1</tempsysman>
<urlname1>sample string 8</urlname1>
<useraccount>sample string 12</useraccount>
<version>22</version>
<yeyaddr>sample string 10</yeyaddr>
<yeylat>sample string 13</yeylat>
<yeylng>sample string 11</yeylng>
<yeyname>sample string 2</yeyname>
<yeynamepy>sample string 3</yeynamepy>
<yeynasspell>sample string 4</yeynasspell>
<yeyurl1>1</yeyurl1>
<yeyurl2>sample string 9</yeyurl2>
<yeyurl3>sample string 20</yeyurl3>
</School.TempDto>
</InData>
<OpFlag>1</OpFlag>
<SrcFlag>sample string 2</SrcFlag>
</School.InPrame>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"Model": {},
"Model1": {},
"Model2": {},
"Model3": {},
"Model4": {},
"Model5": {},
"Model6": {},
"ErrorMessage": "sample string 8",
"ErroCode": -1
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models"> <_x003C_ErrorMessage_x003E_k__BackingField>sample string 8</_x003C_ErrorMessage_x003E_k__BackingField> <_x003C_Model1_x003E_k__BackingField /> <_x003C_Model2_x003E_k__BackingField /> <_x003C_Model3_x003E_k__BackingField /> <_x003C_Model4_x003E_k__BackingField /> <_x003C_Model5_x003E_k__BackingField /> <_x003C_Model6_x003E_k__BackingField /> <_x003C_Model_x003E_k__BackingField /> </ResultModel>