POST new/oa/sendForm

用户提交表单

Request Information

URI Parameters

None.

Body Parameters

OADetailModel
NameDescriptionTypeAdditional information
FormId

integer

None.

ListId

integer

None.

OADetailEntitys

Collection of OADetailEntity

None.

oAFlowEntities

Collection of OAFlowEntity

None.

oaButtons

Collection of OAButtonEntity

None.

oaButton

OAButtonEntity

None.

IsCurrentUser

boolean

None.

OALogList

日志

Collection of OAPassLogEntity

None.

Type

integer

None.

ButtonId

按钮Id

integer

None.

ToUser

To用户Id 处理用户Id

string

None.

ToName

To用户Id 处理用户Id

string

None.

CC

CC抄送

string

None.

Remark

To用户Id 处理用户Id

string

None.

IsGetFlow

是否需要获得流程

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ma.Model.EntityModel.OADetail.OADetailEntity'. Path 'OADetailEntitys[0].Childs'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ma.Model.EntityModel.OADetail.OADetailEntity'. Path 'OADetailEntitys[0].Childs'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[ma.Model.EntityModel.OADetail.OADetailEntity, ma.Model, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[ma.Model.EntityModel.OADetail.OADetailEntity, ma.Model, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

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 'OADetailModel'.

Response Information

Resource Description

ApiDataResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</ApiDataResponse>