POST api/public/eink/badges/reset-events

Request Information

URI Parameters

None.

Body Parameters

EInkBadgeResetEventsRequestDTO
NameDescriptionTypeAdditional information
LocationId

integer

None.

Events

Collection of EInkBadgeResetEventDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "Events": [
    {
      "BadgeId": 1,
      "EventType": "sample string 2",
      "Detail": "sample string 3",
      "Rssi": 1,
      "BatteryLevel": 1.1
    },
    {
      "BadgeId": 1,
      "EventType": "sample string 2",
      "Detail": "sample string 3",
      "Rssi": 1,
      "BatteryLevel": 1.1
    }
  ]
}

application/xml, text/xml

Sample:
<EInkBadgeResetEventsRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.EInk.Badges">
  <Events>
    <EInkBadgeResetEventDTO>
      <BadgeId>1</BadgeId>
      <BatteryLevel>1.1</BatteryLevel>
      <Detail>sample string 3</Detail>
      <EventType>sample string 2</EventType>
      <Rssi>1</Rssi>
    </EInkBadgeResetEventDTO>
    <EInkBadgeResetEventDTO>
      <BadgeId>1</BadgeId>
      <BatteryLevel>1.1</BatteryLevel>
      <Detail>sample string 3</Detail>
      <EventType>sample string 2</EventType>
      <Rssi>1</Rssi>
    </EInkBadgeResetEventDTO>
  </Events>
  <LocationId>1</LocationId>
</EInkBadgeResetEventsRequestDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EInkBadgeResetEventsRequestDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.