POST api/Command/SetEventRemind

Setting up events alerts [specific device specific interfaces OF]

Request Information

Body Parameters

SetEventRemindModel
NameDescriptionTypeAdditional information
Id

integer

None.

IdentityID

string

None.

Long

integer

None.

VoiceTime

date

None.

UserId

integer

None.

Model

integer

None.

DeviceId

integer

None.

EIndex

integer

None.

Interval

integer

None.

EType

integer

None.

EWeek

string

None.

EContent

string

None.

ETime

string

None.

IsVoice

boolean

None.

VoiceBase64

string

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:
{
  "Id": 1,
  "IdentityID": "sample string 2",
  "Long": 3,
  "VoiceTime": "2018-10-16T18:35:52.7915733+08:00",
  "UserId": 5,
  "Model": 6,
  "DeviceId": 7,
  "EIndex": 8,
  "Interval": 9,
  "EType": 10,
  "EWeek": "sample string 11",
  "EContent": "sample string 12",
  "ETime": "sample string 13",
  "IsVoice": true,
  "VoiceBase64": "sample string 15",
  "Token": "sample string 16",
  "Language": "sample string 17",
  "AppId": "sample string 18"
}

application/xml, text/xml

Sample:
<SetEventRemindModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 18</AppId>
  <Language>sample string 17</Language>
  <Token>sample string 16</Token>
  <DeviceId>7</DeviceId>
  <EContent>sample string 12</EContent>
  <EIndex>8</EIndex>
  <ETime>sample string 13</ETime>
  <EType>10</EType>
  <EWeek>sample string 11</EWeek>
  <Id>1</Id>
  <IdentityID>sample string 2</IdentityID>
  <Interval>9</Interval>
  <IsVoice>true</IsVoice>
  <Long>3</Long>
  <Model>6</Model>
  <UserId>5</UserId>
  <VoiceBase64>sample string 15</VoiceBase64>
  <VoiceTime>2018-10-16T18:35:52.7915733+08:00</VoiceTime>
</SetEventRemindModel>

Response Information

Resource Description

CommandResult
NameDescriptionTypeAdditional information
Content

string

None.

Message

string

None.

WIFIItem

Collection of WIFIResult

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "Message": "sample string 2",
  "WIFIItem": [
    {
      "WIFIName": "sample string 1",
      "SSID": "sample string 2",
      "IsCurrentLink": true,
      "Password": "sample string 4"
    },
    {
      "WIFIName": "sample string 1",
      "SSID": "sample string 2",
      "IsCurrentLink": true,
      "Password": "sample string 4"
    }
  ],
  "State": 3
}

application/xml, text/xml

Sample:
<CommandResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>3</State>
  <Content>sample string 1</Content>
  <Message>sample string 2</Message>
  <WIFIItem>
    <WIFIResult>
      <IsCurrentLink>true</IsCurrentLink>
      <Password>sample string 4</Password>
      <SSID>sample string 2</SSID>
      <WIFIName>sample string 1</WIFIName>
    </WIFIResult>
    <WIFIResult>
      <IsCurrentLink>true</IsCurrentLink>
      <Password>sample string 4</Password>
      <SSID>sample string 2</SSID>
      <WIFIName>sample string 1</WIFIName>
    </WIFIResult>
  </WIFIItem>
</CommandResult>