POST api/Unit/AddUnit

添加学校

Request Information

URI Parameters

None.

Body Parameters

输入参数

AddUnitInput
NameDescriptionTypeAdditional information
AreaID

地区编号

string

None.

UnitName

学校名称

string

None.

UnitType

幼教 = 0, 小学 = 1, 初中 = 2, 高中 = 3, 完全中学 = 4, 九年义务学校 = 5, 完全学校 = 6, 其它学校 = 7, 职业学校 = 10, 教育局 = 20

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaID": "sample string 1",
  "UnitName": "sample string 2",
  "UnitType": 3
}

Response Information

Resource Description

返回值

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.