POST api/Retail/MainLinks

Documentation for 'MainLinks'.

Request Information

Parameters

NameDescriptionAdditional information
Info
Documentation for 'Info'.

Define this parameter in the request body.

Request body formats

application/json, text/json

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

application/xml, text/xml

Sample:
<RetailController.Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33.Controllers">
  <info>sample string 1</info>
</RetailController.Params>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'Params'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Lid": 1,
    "LinkName": "sample string 2",
    "Pagename": "sample string 3",
    "DispPage": "sample string 4",
    "Parent": 5,
    "sorting": 6,
    "Icon": "sample string 7"
  },
  {
    "Lid": 1,
    "LinkName": "sample string 2",
    "Pagename": "sample string 3",
    "DispPage": "sample string 4",
    "Parent": 5,
    "sorting": 6,
    "Icon": "sample string 7"
  },
  {
    "Lid": 1,
    "LinkName": "sample string 2",
    "Pagename": "sample string 3",
    "DispPage": "sample string 4",
    "Parent": 5,
    "sorting": 6,
    "Icon": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetLinks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33">
  <GetLinks>
    <DispPage>sample string 4</DispPage>
    <Icon>sample string 7</Icon>
    <Lid>1</Lid>
    <LinkName>sample string 2</LinkName>
    <Pagename>sample string 3</Pagename>
    <Parent>5</Parent>
    <sorting>6</sorting>
  </GetLinks>
  <GetLinks>
    <DispPage>sample string 4</DispPage>
    <Icon>sample string 7</Icon>
    <Lid>1</Lid>
    <LinkName>sample string 2</LinkName>
    <Pagename>sample string 3</Pagename>
    <Parent>5</Parent>
    <sorting>6</sorting>
  </GetLinks>
  <GetLinks>
    <DispPage>sample string 4</DispPage>
    <Icon>sample string 7</Icon>
    <Lid>1</Lid>
    <LinkName>sample string 2</LinkName>
    <Pagename>sample string 3</Pagename>
    <Parent>5</Parent>
    <sorting>6</sorting>
  </GetLinks>
</ArrayOfGetLinks>