abn.GetUnreadRevisitCount

This job determines the number of read and unread revisits for a user.

When specifying a time (StartTime > 0), always 86,399 seconds (almost 24 hours) are added to simplify the specification. Example: For revisits until 01.01.2018, calculate the seconds to the time 01.01.2018 00:00:00 — all revisits until 01.01.2018 23:59:59 are returned.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

UserID

INT

Yes

User ID of the user whose revisits should be determined

[StartTime]

BIGINT

No

0 = all revisits until the current time (default)
>0 = time in seconds since 01.01.1970 01:00:00 MEZ, until which revisits should be determined

2. Output Parameters

Name Type Dependency Description

Read

INT

Number of read revisits

Unread

INT

Number of unread revisits

3. Return Value

(INT): 0 = Job successful, otherwise error code.