POST api/Command/EventRemindList

事件列表[特定设备专用接口OF]

Request Information

Body Parameters

EventRemindListModel
NameDescriptionTypeAdditional information
DeviceId

integer

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": 1,
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

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

Response Information

Resource Description

EventRemindListResult
NameDescriptionTypeAdditional information
Items

Collection of EventRemindInfo

None.

State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Id": 1,
      "Long": 2,
      "DeviceId": 3,
      "EIndex": 4,
      "Interval": 5,
      "EType": 6,
      "EWeek": "sample string 7",
      "EContent": "sample string 8",
      "ETime": "sample string 9",
      "IsVoice": true,
      "VoiceUrl": "sample string 11",
      "IdentityID": "sample string 12"
    },
    {
      "Id": 1,
      "Long": 2,
      "DeviceId": 3,
      "EIndex": 4,
      "Interval": 5,
      "EType": 6,
      "EWeek": "sample string 7",
      "EContent": "sample string 8",
      "ETime": "sample string 9",
      "IsVoice": true,
      "VoiceUrl": "sample string 11",
      "IdentityID": "sample string 12"
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<EventRemindListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:EventRemindInfo>
      <d2p1:DeviceId>3</d2p1:DeviceId>
      <d2p1:EContent>sample string 8</d2p1:EContent>
      <d2p1:EIndex>4</d2p1:EIndex>
      <d2p1:ETime>sample string 9</d2p1:ETime>
      <d2p1:EType>6</d2p1:EType>
      <d2p1:EWeek>sample string 7</d2p1:EWeek>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IdentityID>sample string 12</d2p1:IdentityID>
      <d2p1:Interval>5</d2p1:Interval>
      <d2p1:IsVoice>true</d2p1:IsVoice>
      <d2p1:Long>2</d2p1:Long>
      <d2p1:VoiceUrl>sample string 11</d2p1:VoiceUrl>
    </d2p1:EventRemindInfo>
    <d2p1:EventRemindInfo>
      <d2p1:DeviceId>3</d2p1:DeviceId>
      <d2p1:EContent>sample string 8</d2p1:EContent>
      <d2p1:EIndex>4</d2p1:EIndex>
      <d2p1:ETime>sample string 9</d2p1:ETime>
      <d2p1:EType>6</d2p1:EType>
      <d2p1:EWeek>sample string 7</d2p1:EWeek>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IdentityID>sample string 12</d2p1:IdentityID>
      <d2p1:Interval>5</d2p1:Interval>
      <d2p1:IsVoice>true</d2p1:IsVoice>
      <d2p1:Long>2</d2p1:Long>
      <d2p1:VoiceUrl>sample string 11</d2p1:VoiceUrl>
    </d2p1:EventRemindInfo>
  </Items>
</EventRemindListResult>