POST api/UnitFormSearch/FormParams

获得一个表单的查询字段

Request Information

URI Parameters

None.

Body Parameters

GetFormInput
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

ID

表单ID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "3440b897-678b-4029-a61b-66f842045ce4",
  "ID": "f8e702ba-2428-4cc9-b5e1-ed43bb705e78"
}

application/xml, text/xml

Sample:
<UnitFormSearchController.GetFormInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Unit">
  <ID>f8e702ba-2428-4cc9-b5e1-ed43bb705e78</ID>
  <UnitID>3440b897-678b-4029-a61b-66f842045ce4</UnitID>
</UnitFormSearchController.GetFormInput>

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

Response Information

Resource Description

Collection of UnitFormParamsOutput
NameDescriptionTypeAdditional information
SearchColName

搜索字段

Collection of string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfUnitFormSearchController.UnitFormParamsOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Unit">
  <UnitFormSearchController.UnitFormParamsOutput>
    <SearchColName xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </SearchColName>
  </UnitFormSearchController.UnitFormParamsOutput>
  <UnitFormSearchController.UnitFormParamsOutput>
    <SearchColName xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </SearchColName>
  </UnitFormSearchController.UnitFormParamsOutput>
</ArrayOfUnitFormSearchController.UnitFormParamsOutput>