POST < Back

appendevent?authToken={authToken}&surname={surname}&identifierType={identifierType}&identifier={identifier}

Record an Event

Request Information

authToken

Required

string
surname

Default value is

string
identifierType

Default value is

string
identifier

Default value is

string
EventDateTime

date
EventType

string
Description

string
DeviceType

string

Request body formats

application/json, text/json

Sample:
{
  "EventDateTime": "2024-10-01T00:41:00.5684614+13:00",
  "EventType": "sample string 2",
  "Description": "sample string 3",
  "DeviceType": "sample string 4"
}

application/xml, text/xml

Sample:
<EventArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmiAssistWrapper.Models">
  <Description>sample string 3</Description>
  <DeviceType>sample string 4</DeviceType>
  <EventDateTime>2024-10-01T00:41:00.5684614+13:00</EventDateTime>
  <EventType>sample string 2</EventType>
</EventArgs>

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 'EventArgs'.

Response Codes

BadRequest (400)

Event Failed to be recorded.

Created (201)

Event Recorded