POST Permission/FolderPer?token={token}&folderid={folderid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

folderid

string

Required

Body Parameters

Collection of KeyValEF
NameDescriptionTypeAdditional information
Key

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "key": "sample string 1",
    "value": "sample string 2"
  },
  {
    "key": "sample string 1",
    "value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValEF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZC.DAL.BLL">
  <KeyValEF>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValEF>
  <KeyValEF>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValEF>
</ArrayOfKeyValEF>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

ReturnMsg
NameDescriptionTypeAdditional information
Status

string

None.

MsgCode

string

None.

_ReturnMsg

string

None.

ReturnCnt

string

None.

ExecTms

string

None.

item

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "msgcode": "sample string 2",
  "_returnmsg": "sample string 3",
  "returncnt": "sample string 4",
  "exectms": "sample string 5",
  "item": {}
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: 远程处理无法在类型“System.MarshalByRefObject”上找到字段“__identity”。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: 远程处理无法在类型“System.MarshalByRefObject”上找到字段“__identity”。