POST api/DropDown

Request Information

URI Parameters

None.

Body Parameters

DropDownInput
NameDescriptionTypeAdditional information
NAME

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NAME": "sample string 1"
}

application/xml, text/xml

Sample:
<DropDownInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <NAME>sample string 1</NAME>
</DropDownInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of DropDown
NameDescriptionTypeAdditional information
ID

integer

None.

DESCRIPTION

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfDropDown xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <DropDown>
    <DESCRIPTION>sample string 2</DESCRIPTION>
    <ID>1</ID>
  </DropDown>
  <DropDown>
    <DESCRIPTION>sample string 2</DESCRIPTION>
    <ID>1</ID>
  </DropDown>
</ArrayOfDropDown>