POST api/Retail/LinksPremission

Documentation for 'LinksPremission'.

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,
    "Parent": 2,
    "flag": 3,
    "LinkName": "sample string 4"
  },
  {
    "Lid": 1,
    "Parent": 2,
    "flag": 3,
    "LinkName": "sample string 4"
  },
  {
    "Lid": 1,
    "Parent": 2,
    "flag": 3,
    "LinkName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLinksPremission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33">
  <LinksPremission>
    <Lid>1</Lid>
    <LinkName>sample string 4</LinkName>
    <Parent>2</Parent>
    <flag>3</flag>
  </LinksPremission>
  <LinksPremission>
    <Lid>1</Lid>
    <LinkName>sample string 4</LinkName>
    <Parent>2</Parent>
    <flag>3</flag>
  </LinksPremission>
  <LinksPremission>
    <Lid>1</Lid>
    <LinkName>sample string 4</LinkName>
    <Parent>2</Parent>
    <flag>3</flag>
  </LinksPremission>
</ArrayOfLinksPremission>