GET api/News?shopId={shopId}&type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

string

Required

type

string

Required

Body Parameters

None.

Response Information

Resource Description

WindowsImage
NameDescriptionTypeAdditional information
windowsImageList

Collection of CommImageText

None.

windowHight

string

None.

menuName

string

None.

url

string

None.

img

string

None.

text

string

None.

description

string

None.

isShowText

boolean

None.

type

integer

None.

createTime

string

None.

Response Formats

application/json, text/json

Sample:
{
  "windowsImageList": [
    {
      "url": "sample string 1",
      "img": "sample string 2",
      "text": "sample string 3",
      "description": "sample string 4",
      "isShowText": true,
      "type": 6,
      "createTime": "sample string 7"
    },
    {
      "url": "sample string 1",
      "img": "sample string 2",
      "text": "sample string 3",
      "description": "sample string 4",
      "isShowText": true,
      "type": 6,
      "createTime": "sample string 7"
    }
  ],
  "windowHight": "sample string 1",
  "menuName": "sample string 2",
  "url": "sample string 3",
  "img": "sample string 4",
  "text": "sample string 5",
  "description": "sample string 6",
  "isShowText": true,
  "type": 8,
  "createTime": "sample string 9"
}

application/xml, text/xml

Sample:
<NewsController.WindowsImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
  <createTime xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 9</createTime>
  <description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 6</description>
  <img xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 4</img>
  <isShowText xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">true</isShowText>
  <text xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 5</text>
  <type xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">8</type>
  <url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 3</url>
  <menuName>sample string 2</menuName>
  <windowHight>sample string 1</windowHight>
  <windowsImageList xmlns:d2p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
    <d2p1:CommImageText>
      <d2p1:createTime>sample string 7</d2p1:createTime>
      <d2p1:description>sample string 4</d2p1:description>
      <d2p1:img>sample string 2</d2p1:img>
      <d2p1:isShowText>true</d2p1:isShowText>
      <d2p1:text>sample string 3</d2p1:text>
      <d2p1:type>6</d2p1:type>
      <d2p1:url>sample string 1</d2p1:url>
    </d2p1:CommImageText>
    <d2p1:CommImageText>
      <d2p1:createTime>sample string 7</d2p1:createTime>
      <d2p1:description>sample string 4</d2p1:description>
      <d2p1:img>sample string 2</d2p1:img>
      <d2p1:isShowText>true</d2p1:isShowText>
      <d2p1:text>sample string 3</d2p1:text>
      <d2p1:type>6</d2p1:type>
      <d2p1:url>sample string 1</d2p1:url>
    </d2p1:CommImageText>
  </windowsImageList>
</NewsController.WindowsImage>