POST api/UnitClassShare/Insert

班级共享文件[新增]

Request Information

URI Parameters

None.

Body Parameters

InsertInput
NameDescriptionTypeAdditional information
UnitID

单位ID

globally unique identifier

None.

ClassID

班级ID

globally unique identifier

None.

ShareName

文件名称[最多50个汉字]

string

None.

ShareSize

文件大小

decimal number

None.

ShareType

文件类型

integer

None.

FilePath

文件路径[300个字符上限]

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "d065178f-c7a6-41f7-b79d-8b08504ede71",
  "ClassID": "902c6138-18fb-4da2-be0f-e0c144978aa6",
  "ShareName": "sample string 3",
  "ShareSize": 4.1,
  "ShareType": 5,
  "FilePath": "sample string 6"
}

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.