POST api/Device/NoticeList

获取通知信息-站内信[通用]

Request Information

Body Parameters

NoticesModel
NameDescriptionTypeAdditional information
PageNo

查询页数

integer

None.

PageCount

每页条数

integer

None.

UserId

用户Id

integer

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PageNo": 1,
  "PageCount": 2,
  "UserId": 3,
  "Token": "sample string 4",
  "Language": "sample string 5",
  "AppId": "sample string 6"
}

application/xml, text/xml

Sample:
<NoticesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 6</AppId>
  <Language>sample string 5</Language>
  <Token>sample string 4</Token>
  <PageCount>2</PageCount>
  <PageNo>1</PageNo>
  <UserId>3</UserId>
</NoticesModel>

Response Information

Resource Description

State状态码说明:
0. 成功
100. 成功但无数据

NoticesResult
NameDescriptionTypeAdditional information
Items

通知集合

Collection of UserNotice

None.

State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Title": "sample string 1",
      "Content": "sample string 2",
      "CreateTime": "sample string 3"
    },
    {
      "Title": "sample string 1",
      "Content": "sample string 2",
      "CreateTime": "sample string 3"
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<NoticesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items>
    <NoticesResult.UserNotice>
      <Content>sample string 2</Content>
      <CreateTime>sample string 3</CreateTime>
      <Title>sample string 1</Title>
    </NoticesResult.UserNotice>
    <NoticesResult.UserNotice>
      <Content>sample string 2</Content>
      <CreateTime>sample string 3</CreateTime>
      <Title>sample string 1</Title>
    </NoticesResult.UserNotice>
  </Items>
</NoticesResult>