POST api/GridLayoutsApi/GrabarLayout

Request Information

URI Parameters

None.

Body Parameters

GridLayoutParam
NameDescriptionTypeAdditional information
Clave

string

None.

Layout

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Clave": "sample string 1",
  "Layout": "sample string 2"
}

application/xml, text/xml

Sample:
<GridLayoutParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigDipperAPI.Models">
  <Clave>sample string 1</Clave>
  <Layout>sample string 2</Layout>
</GridLayoutParam>

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

Response Information

Resource Description

GridLayoutErrorModel
NameDescriptionTypeAdditional information
Errores

Collection of MSErrorMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "Errores": [
    {
      "Source": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Source": "sample string 1",
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<GridLayoutErrorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigDipperAPI.Models">
  <Errores xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Standard">
    <d2p1:MSErrorMessage>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Source>sample string 1</d2p1:Source>
    </d2p1:MSErrorMessage>
    <d2p1:MSErrorMessage>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Source>sample string 1</d2p1:Source>
    </d2p1:MSErrorMessage>
  </Errores>
</GridLayoutErrorModel>