POST api/DataModel/linkDMDataSubmit

Request Information

URI Parameters

None.

Body Parameters

parDataSubmit
NameDescriptionTypeAdditional information
loginID

string

None.

dm

parDataModel

None.

data

Collection of Object

None.

Request Formats

application/json, text/json

Sample:
{
  "loginID": "sample string 1",
  "dm": {
    "dmCode": "sample string 1",
    "dmNum": 2,
    "Para": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "data": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: 类型“Newtonsoft.Json.Linq.JToken”是不支持的递归集合数据协定。请考虑修改集合“Newtonsoft.Json.Linq.JToken”的定义,移除对其自身的引用。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: 类型“Newtonsoft.Json.Linq.JToken”是不支持的递归集合数据协定。请考虑修改集合“Newtonsoft.Json.Linq.JToken”的定义,移除对其自身的引用。

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

Response Information

Resource Description

linkResult
NameDescriptionTypeAdditional information
isSuccess

string

None.

dataType

string

None.

data

Object

None.

message

string

None.

action

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": "sample string 1",
  "dataType": "sample string 2",
  "data": {},
  "message": "sample string 4",
  "action": "sample string 5"
}

application/xml, text/xml

Sample:
<linkResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MultiSoft">
  <action>sample string 5</action>
  <data />
  <dataType>sample string 2</dataType>
  <isSuccess>sample string 1</isSuccess>
  <message>sample string 4</message>
</linkResult>