POST api/Sehir/GetOptionById

Request Information

URI Parameters

None.

Body Parameters

SearchNameArg
NameDescriptionTypeAdditional information
id

integer

None.

ad

string

None.

dil

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "ad": "sample string 2",
  "dil": "sample string 3"
}

application/xml, text/xml

Sample:
<SearchNameArg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cingoz.Domain.Dtos.Args">
  <Ad>sample string 2</Ad>
  <Dil>sample string 3</Dil>
  <Id>1</Id>
</SearchNameArg>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OptionDto
NameDescriptionTypeAdditional information
value

string

None.

label

string

None.

Response Formats

application/json, text/json

Sample:
{
  "value": "sample string 1",
  "label": "sample string 2"
}

application/xml, text/xml

Sample:
<OptionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cingoz.Core.Dto">
  <Label>sample string 2</Label>
  <Value>sample string 1</Value>
</OptionDto>