POST api/dropdowns/GetFormDynamicList

Request Information

URI Parameters

None.

Body Parameters

FormDynamicDropdownRequest
NameDescriptionTypeAdditional information
List

Collection of FormdropDownValuesConfig

None.

Request Formats

application/json, text/json

Sample:
{
  "List": [
    {
      "ControlTypeId": 1,
      "Name": "sample string 2",
      "Id": 3,
      "IsSelected": true
    },
    {
      "ControlTypeId": 1,
      "Name": "sample string 2",
      "Id": 3,
      "IsSelected": true
    }
  ]
}

text/html

Sample:
{"List":[{"ControlTypeId":1,"Name":"sample string 2","Id":3,"IsSelected":true},{"ControlTypeId":1,"Name":"sample string 2","Id":3,"IsSelected":true}]}

application/xml, text/xml

Sample:
<WebDropdownsController.FormDynamicDropdownRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Api.Controllers">
  <List xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tracking.Entity">
    <d2p1:FormdropDownValuesConfig>
      <d2p1:ControlTypeId>1</d2p1:ControlTypeId>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:FormdropDownValuesConfig>
    <d2p1:FormdropDownValuesConfig>
      <d2p1:ControlTypeId>1</d2p1:ControlTypeId>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:FormdropDownValuesConfig>
  </List>
</WebDropdownsController.FormDynamicDropdownRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.