POST api/Landing/BannerList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

BannerResult
NameDescriptionTypeAdditional information
Banner

Collection of BannerItem

None.

Errors

APIErrors

None.

Response Formats

application/json, text/json

Sample:
{
  "Banner": [
    {
      "BannerID": 1,
      "Link": "sample string 2",
      "Image": "sample string 3",
      "ImagePortrait": "sample string 4",
      "Habilitado": true
    },
    {
      "BannerID": 1,
      "Link": "sample string 2",
      "Image": "sample string 3",
      "ImagePortrait": "sample string 4",
      "Habilitado": true
    }
  ],
  "Errors": {
    "HasErrors": true,
    "ErrorList": [
      {
        "Message": "sample string 1",
        "Source": "sample string 2"
      },
      {
        "Message": "sample string 1",
        "Source": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<BannerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
  <Errors xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain">
    <ErrorList>
      <APIErrorMessage>
        <Message>sample string 1</Message>
        <Source>sample string 2</Source>
      </APIErrorMessage>
      <APIErrorMessage>
        <Message>sample string 1</Message>
        <Source>sample string 2</Source>
      </APIErrorMessage>
    </ErrorList>
    <HasErrors>true</HasErrors>
  </Errors>
  <Banner>
    <BannerItem>
      <BannerID>1</BannerID>
      <Habilitado>true</Habilitado>
      <Image>sample string 3</Image>
      <ImagePortrait>sample string 4</ImagePortrait>
      <Link>sample string 2</Link>
    </BannerItem>
    <BannerItem>
      <BannerID>1</BannerID>
      <Habilitado>true</Habilitado>
      <Image>sample string 3</Image>
      <ImagePortrait>sample string 4</ImagePortrait>
      <Link>sample string 2</Link>
    </BannerItem>
  </Banner>
</BannerResult>