2 output format – DoorKing Remote Account Manager User Manual

Page 66

Advertising
background image

Page 66

1835-066-N-7-13

5.4.2 Output

Format

The output format can be either XML or RAW TEXT. This is selected from the drop down box.

RAW TEXT

If Raw Text is chosen, the output is a stream of 158 ASCII characters, beginning and ending with a Carriage
Return (CR) and Line Feed (LF). There are no column headers – just the Raw Text. The 158 characters are
broken down like this:

Account Name:

23 characters

Date: 11 characters

Time:

10 characters

Event: 13 characters

Number:

8 characters

Name:

18 characters

Access:

8 characters

Relay:

13 characters

APB: 8 characters

Description:

33 characters

Tracker Board: 13 characters

An Example would look something like this:


Westend Apts 7/15/09 11:12AM Card 13356 Sue Smith Admit

The beginning and ending CR LF aren’t printable characters and are not shown here. These are the same fields
you see when viewing transaction reports from this program after receiving transactions from the buffer of the
system, with a couple of exceptions. The first field is the account name the transaction belongs to and the last
two fields are used if it was a Gate Transaction. This example is a ‘Regular’ transaction. If the Event field is
blank, there would be a description in the Description field making it a Gate Transaction.

XML

If XML format is chosen, the same transaction data is output as for Raw Text, but in standard XML format. Note
that the Date and Time is using XML time stamp standard. See the example below:


<Transaction>
<Account>Windward Apartments</Account>
<Timestamp>2009-11-24T19:22:00.0-08:00</Timestamp>
<Event>Entry Code</Event>
<Number>3356</Number>
<Name>Henry James</Name>
<Access>Admit</Access>
<Relay>North Gate</Relay>
<APB></APB>
<Description></Description>
<Tracker Board></Tracker Board>
</Transaction>

Advertising