POST api/Notification/SaveLockingEvent

Request Information

URI Parameters

None.

Body Parameters

LockingEvent
NameDescriptionTypeAdditional information
Account

string

None.

Id

integer

None.

EventName

string

None.

IsEnable

boolean

None.

SelectedLockType

boolean

None.

NodeBitMap

string

None.

LockStateType

boolean

None.

LockState

integer

None.

IsAnyTime

boolean

None.

StartTime

string

None.

EndTime

string

None.

IsAnyDay

boolean

None.

DOWBitMap

string

None.

Payload

string

None.

ServerIndex

integer

None.

EventAddressBooks

Collection of EventAddress

None.

EventPushDevices

Collection of EventPushDevice

None.

Request Formats

application/json, text/json

Sample:
{
  "account": "sample string 1",
  "id": 2,
  "eventName": "sample string 3",
  "isEnable": true,
  "selectedLockType": true,
  "nodeBitMap": "sample string 6",
  "lockStateType": true,
  "lockState": 8,
  "isAnyTime": true,
  "startTime": "sample string 10",
  "endTime": "sample string 11",
  "isAnyDay": true,
  "dowBitMap": "sample string 13",
  "payload": "sample string 14",
  "serverIndex": 15,
  "eventAddressBooks": [
    {
      "id": 1,
      "notificationEventId": 2,
      "masterAddressId": 3,
      "issms": true,
      "isEmail": true,
      "firstName": "sample string 6",
      "lastName": "sample string 7",
      "sms": "sample string 8",
      "email": "sample string 9",
      "carrier": "sample string 10"
    },
    {
      "id": 1,
      "notificationEventId": 2,
      "masterAddressId": 3,
      "issms": true,
      "isEmail": true,
      "firstName": "sample string 6",
      "lastName": "sample string 7",
      "sms": "sample string 8",
      "email": "sample string 9",
      "carrier": "sample string 10"
    }
  ],
  "eventPushDevices": [
    {
      "eventPushDeviceID": 1,
      "pushDeviceID": 2,
      "notificationEventID": 3,
      "account": "sample string 4",
      "deviceName": "sample string 5",
      "deviceToken": "sample string 6",
      "osType": "sample string 7",
      "enabled": true,
      "appID": "sample string 9"
    },
    {
      "eventPushDeviceID": 1,
      "pushDeviceID": 2,
      "notificationEventID": 3,
      "account": "sample string 4",
      "deviceName": "sample string 5",
      "deviceToken": "sample string 6",
      "osType": "sample string 7",
      "enabled": true,
      "appID": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<LockingEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model">
  <Account>sample string 1</Account>
  <DOWBitMap>sample string 13</DOWBitMap>
  <EndTime>sample string 11</EndTime>
  <EventAddressBooks>
    <EventAddress>
      <Carrier>sample string 10</Carrier>
      <Email>sample string 9</Email>
      <FirstName>sample string 6</FirstName>
      <Id>1</Id>
      <IsEmail>true</IsEmail>
      <IsSMS>true</IsSMS>
      <LastName>sample string 7</LastName>
      <MasterAddressId>3</MasterAddressId>
      <NotificationEventId>2</NotificationEventId>
      <SMS>sample string 8</SMS>
    </EventAddress>
    <EventAddress>
      <Carrier>sample string 10</Carrier>
      <Email>sample string 9</Email>
      <FirstName>sample string 6</FirstName>
      <Id>1</Id>
      <IsEmail>true</IsEmail>
      <IsSMS>true</IsSMS>
      <LastName>sample string 7</LastName>
      <MasterAddressId>3</MasterAddressId>
      <NotificationEventId>2</NotificationEventId>
      <SMS>sample string 8</SMS>
    </EventAddress>
  </EventAddressBooks>
  <EventName>sample string 3</EventName>
  <EventPushDevices>
    <EventPushDevice>
      <Account>sample string 4</Account>
      <AppID>sample string 9</AppID>
      <DeviceName>sample string 5</DeviceName>
      <DeviceToken>sample string 6</DeviceToken>
      <Enabled>true</Enabled>
      <EventPushDeviceID>1</EventPushDeviceID>
      <NotificationEventID>3</NotificationEventID>
      <OSType>sample string 7</OSType>
      <PushDeviceID>2</PushDeviceID>
    </EventPushDevice>
    <EventPushDevice>
      <Account>sample string 4</Account>
      <AppID>sample string 9</AppID>
      <DeviceName>sample string 5</DeviceName>
      <DeviceToken>sample string 6</DeviceToken>
      <Enabled>true</Enabled>
      <EventPushDeviceID>1</EventPushDeviceID>
      <NotificationEventID>3</NotificationEventID>
      <OSType>sample string 7</OSType>
      <PushDeviceID>2</PushDeviceID>
    </EventPushDevice>
  </EventPushDevices>
  <Id>2</Id>
  <IsAnyDay>true</IsAnyDay>
  <IsAnyTime>true</IsAnyTime>
  <IsEnable>true</IsEnable>
  <LockState>8</LockState>
  <LockStateType>true</LockStateType>
  <NodeBitMap>sample string 6</NodeBitMap>
  <Payload>sample string 14</Payload>
  <SelectedLockType>true</SelectedLockType>
  <ServerIndex>15</ServerIndex>
  <StartTime>sample string 10</StartTime>
</LockingEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LockingEvent
NameDescriptionTypeAdditional information
Account

string

None.

Id

integer

None.

EventName

string

None.

IsEnable

boolean

None.

SelectedLockType

boolean

None.

NodeBitMap

string

None.

LockStateType

boolean

None.

LockState

integer

None.

IsAnyTime

boolean

None.

StartTime

string

None.

EndTime

string

None.

IsAnyDay

boolean

None.

DOWBitMap

string

None.

Payload

string

None.

ServerIndex

integer

None.

EventAddressBooks

Collection of EventAddress

None.

EventPushDevices

Collection of EventPushDevice

None.

Response Formats

application/json, text/json

Sample:
{
  "account": "sample string 1",
  "id": 2,
  "eventName": "sample string 3",
  "isEnable": true,
  "selectedLockType": true,
  "nodeBitMap": "sample string 6",
  "lockStateType": true,
  "lockState": 8,
  "isAnyTime": true,
  "startTime": "sample string 10",
  "endTime": "sample string 11",
  "isAnyDay": true,
  "dowBitMap": "sample string 13",
  "payload": "sample string 14",
  "serverIndex": 15,
  "eventAddressBooks": [
    {
      "id": 1,
      "notificationEventId": 2,
      "masterAddressId": 3,
      "issms": true,
      "isEmail": true,
      "firstName": "sample string 6",
      "lastName": "sample string 7",
      "sms": "sample string 8",
      "email": "sample string 9",
      "carrier": "sample string 10"
    },
    {
      "id": 1,
      "notificationEventId": 2,
      "masterAddressId": 3,
      "issms": true,
      "isEmail": true,
      "firstName": "sample string 6",
      "lastName": "sample string 7",
      "sms": "sample string 8",
      "email": "sample string 9",
      "carrier": "sample string 10"
    }
  ],
  "eventPushDevices": [
    {
      "eventPushDeviceID": 1,
      "pushDeviceID": 2,
      "notificationEventID": 3,
      "account": "sample string 4",
      "deviceName": "sample string 5",
      "deviceToken": "sample string 6",
      "osType": "sample string 7",
      "enabled": true,
      "appID": "sample string 9"
    },
    {
      "eventPushDeviceID": 1,
      "pushDeviceID": 2,
      "notificationEventID": 3,
      "account": "sample string 4",
      "deviceName": "sample string 5",
      "deviceToken": "sample string 6",
      "osType": "sample string 7",
      "enabled": true,
      "appID": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<LockingEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model">
  <Account>sample string 1</Account>
  <DOWBitMap>sample string 13</DOWBitMap>
  <EndTime>sample string 11</EndTime>
  <EventAddressBooks>
    <EventAddress>
      <Carrier>sample string 10</Carrier>
      <Email>sample string 9</Email>
      <FirstName>sample string 6</FirstName>
      <Id>1</Id>
      <IsEmail>true</IsEmail>
      <IsSMS>true</IsSMS>
      <LastName>sample string 7</LastName>
      <MasterAddressId>3</MasterAddressId>
      <NotificationEventId>2</NotificationEventId>
      <SMS>sample string 8</SMS>
    </EventAddress>
    <EventAddress>
      <Carrier>sample string 10</Carrier>
      <Email>sample string 9</Email>
      <FirstName>sample string 6</FirstName>
      <Id>1</Id>
      <IsEmail>true</IsEmail>
      <IsSMS>true</IsSMS>
      <LastName>sample string 7</LastName>
      <MasterAddressId>3</MasterAddressId>
      <NotificationEventId>2</NotificationEventId>
      <SMS>sample string 8</SMS>
    </EventAddress>
  </EventAddressBooks>
  <EventName>sample string 3</EventName>
  <EventPushDevices>
    <EventPushDevice>
      <Account>sample string 4</Account>
      <AppID>sample string 9</AppID>
      <DeviceName>sample string 5</DeviceName>
      <DeviceToken>sample string 6</DeviceToken>
      <Enabled>true</Enabled>
      <EventPushDeviceID>1</EventPushDeviceID>
      <NotificationEventID>3</NotificationEventID>
      <OSType>sample string 7</OSType>
      <PushDeviceID>2</PushDeviceID>
    </EventPushDevice>
    <EventPushDevice>
      <Account>sample string 4</Account>
      <AppID>sample string 9</AppID>
      <DeviceName>sample string 5</DeviceName>
      <DeviceToken>sample string 6</DeviceToken>
      <Enabled>true</Enabled>
      <EventPushDeviceID>1</EventPushDeviceID>
      <NotificationEventID>3</NotificationEventID>
      <OSType>sample string 7</OSType>
      <PushDeviceID>2</PushDeviceID>
    </EventPushDevice>
  </EventPushDevices>
  <Id>2</Id>
  <IsAnyDay>true</IsAnyDay>
  <IsAnyTime>true</IsAnyTime>
  <IsEnable>true</IsEnable>
  <LockState>8</LockState>
  <LockStateType>true</LockStateType>
  <NodeBitMap>sample string 6</NodeBitMap>
  <Payload>sample string 14</Payload>
  <SelectedLockType>true</SelectedLockType>
  <ServerIndex>15</ServerIndex>
  <StartTime>sample string 10</StartTime>
</LockingEvent>