POST api/Device/NoticeList

Get the notification information - site letter [GM]

Request Information

Body Parameters

NoticesModel
NameDescriptionTypeAdditional information
PageNo

Query pages

integer

None.

PageCount

Number each page

integer

None.

UserId

user id

integer

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

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

Statestatus codeillustrate:
0. success
100. success but no data

NoticesResult
NameDescriptionTypeAdditional information
Items

Notify the collection

Collection of UserNotice

None.

State

status code

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>