POST api/ListType/AddListType

Request Information

URI Parameters

None.

Body Parameters

AddListTypeCommandDto
NameDescriptionTypeAdditional information
ListTypeName

string

None.

ListTypeText

string

None.

ListTypeValue

string

None.

Sequence

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ListTypeName": "sample string 1",
  "ListTypeText": "sample string 2",
  "ListTypeValue": "sample string 3",
  "Sequence": 4
}

application/xml, text/xml

Sample:
<AddListTypeCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ListTypeModule.Model">
  <ListTypeName>sample string 1</ListTypeName>
  <ListTypeText>sample string 2</ListTypeText>
  <ListTypeValue>sample string 3</ListTypeValue>
  <Sequence>4</Sequence>
</AddListTypeCommandDto>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>