POST api/MenuApi/GrabarFavoritos

Request Information

URI Parameters

None.

Body Parameters

FavoritosWebParam
NameDescriptionTypeAdditional information
text

string

None.

href

string

None.

cssclass

string

None.

Request Formats

application/json, text/json

Sample:
{
  "text": "sample string 1",
  "href": "sample string 2",
  "cssclass": "sample string 3"
}

application/xml, text/xml

Sample:
<FavoritosWebParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
  <cssclass>sample string 3</cssclass>
  <href>sample string 2</href>
  <text>sample string 1</text>
</FavoritosWebParam>

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

Response Information

Resource Description

ResultFavoritosWeb
NameDescriptionTypeAdditional information
Datos

Collection of FavoritosWebElem

None.

Response Formats

application/json, text/json

Sample:
{
  "Datos": [
    {
      "item": 1,
      "texto": "sample string 2",
      "href": "sample string 3",
      "cssclass": "sample string 4"
    },
    {
      "item": 1,
      "texto": "sample string 2",
      "href": "sample string 3",
      "cssclass": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ResultFavoritosWeb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
  <Datos xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.WebMenu">
    <d2p1:FavoritosWebElem>
      <d2p1:cssclass>sample string 4</d2p1:cssclass>
      <d2p1:href>sample string 3</d2p1:href>
      <d2p1:item>1</d2p1:item>
      <d2p1:texto>sample string 2</d2p1:texto>
    </d2p1:FavoritosWebElem>
    <d2p1:FavoritosWebElem>
      <d2p1:cssclass>sample string 4</d2p1:cssclass>
      <d2p1:href>sample string 3</d2p1:href>
      <d2p1:item>1</d2p1:item>
      <d2p1:texto>sample string 2</d2p1:texto>
    </d2p1:FavoritosWebElem>
  </Datos>
</ResultFavoritosWeb>