POST api/ListType/EditListType

Request Information

URI Parameters

None.

Body Parameters

EditListTypeCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ListTypeName

string

None.

ListTypeText

string

None.

ListTypeValue

string

None.

Sequence

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4c024ca8-d9a6-4fd0-8bc3-bd0bc74abfe9",
  "ListTypeName": "sample string 2",
  "ListTypeText": "sample string 3",
  "ListTypeValue": "sample string 4",
  "Sequence": 5
}

application/xml, text/xml

Sample:
<EditListTypeCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ListTypeModule.Model">
  <Id>4c024ca8-d9a6-4fd0-8bc3-bd0bc74abfe9</Id>
  <ListTypeName>sample string 2</ListTypeName>
  <ListTypeText>sample string 3</ListTypeText>
  <ListTypeValue>sample string 4</ListTypeValue>
  <Sequence>5</Sequence>
</EditListTypeCommandDto>

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

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>