Public API
https://partnerapi.goilobby.com/
Data Format: json
Send issued API key in http request header X-ApiKey
Route |
Method(s) |
Description |
/events |
GET |
|
Request DTO Parameters
Name |
Data type |
Mandatory |
Description |
startDate |
date |
M |
Period start. Format: yyyy-MM-dd (2017-02-04) or yyyy/MM/dd (2017/02/04). |
endDate |
date |
M |
Period end. Format: yyyy-MM-dd (2017-02-04) or yyyy/MM/dd (2017/02/04). |
Response DTO
Name |
Data type |
Mandatory |
Description |
items |
EventDetails[] |
M |
Array of events |
responseStatus |
ResponseStatus |
O |
Response details when request is failed due to validation or internal error |
EventDetails
Name |
Data type |
Mandatory |
Description |
siteName |
string |
M |
|
hostName |
string |
M |
|
title |
string |
M |
Event title |
eventStart |
date |
M |
|
eventEnd |
date |
O |
|
visitorType |
string |
M |
|
notes |
string |
O |
|
lastUpdatedBy |
string |
O |
|
lastUpdated |
date |
O |
|
reasonForVisitation |
string |
O |
|
meetingRoom |
string |
O |
|
welcome |
bool |
O |
|
hotel |
string |
O |
|
arrivalDate |
date |
O |
|
departureDate |
date |
O |
|
eventGuests |
EventGuest[] |
O |
|
EventGuest
Name |
Data type |
Mandatory |
Description |
emailAddress |
string |
M |
Email address |
firstName |
string |
O |
|
lastName |
string |
O |
|
ResponseStatus
Name |
Data type |
Mandatory |
Description |
ErrorCode |
string |
M |
|
Message |
string |
O |
|
Errors |
string |
O |
|
Route |
Method(s) |
Description |
/activeevents |
GET |
|
Request DTO Parameters
Name |
Data type |
Mandatory |
Description |
date |
date |
M |
Period start. Format: yyyy-MM-dd (2017-02-04) or yyyy/MM/dd (2017/02/04). |
Response DTO
Name |
Data type |
Mandatory |
Description |
items |
EventDetails[] |
M |
Array of events, same structure as in #1. Events |
responseStatus |
ResponseStatus |
O |
Response details when request is failed due to validation or internal error |
Route |
Method(s) |
Description |
/expectedvisitors |
GET |
|
Request DTO Parameters
Name |
Data type |
Mandatory |
Description |
date |
date |
M |
Period start. Format: yyyy-MM-dd (2017-02-04) or yyyy/MM/dd (2017/02/04). |
Response DTO
Name |
Data type |
Mandatory |
Description |
items |
ExpectedEventGuest[] |
M |
Array of events |
responseStatus |
ResponseStatus |
O |
Response details when request is failed due to validation or internal error |
ExpectedEventGuest
Name |
Data type |
Mandatory |
Description |
siteName |
string |
M |
|
hostName |
string |
M |
|
hostCompany |
string |
M |
|
eventTitle |
string |
M |
Event title |
eventStart |
date |
M |
|
eventEnd |
date |
O |
|
visitorType |
string |
M |
|
firstName |
string |
M |
Guest first name |
lastName |
string |
M |
Guest last name |
emailAddress |
string |
M |
Guest email |
companyName |
string |
M |
Guest company |
ResponseStatus
Name |
Data type |
Mandatory |
Description |
ErrorCode |
string |
M |
|
Message |
string |
O |
|
Errors |
string |
O |
Route |
Method(s) |
Description |
/badgeholders/{qrcode} |
GET |
|
/badgeholders |
GET |
|
Request DTO Parameters
Name |
Data type |
Mandatory |
Description |
qrcode |
string |
M |
QR code to find. |
Response DTO
Name |
Data type |
Mandatory |
Description |
items |
VisitorDetails[] |
M |
Array of visitors |
responseStatus |
ResponseStatus |
O |
Response details when request is failed due to validation or internal error |
VisitorDetails
Name |
Data type |
Mandatory |
Description |
firstName |
string |
O |
Fist name |
lastName |
string |
O |
Last name |
fullName |
string |
M |
Full name |
companyName |
string |
O |
Company name |
email |
string |
O |
Email address |
siteName |
string |
M |
Site name |
hostName |
string |
M |
Host's full name |
hostCompany |
string |
M |
Host's department |
visitStartUtc |
date |
M |
Sign in time (in UTC) |
visitEndUtc |
date |
O |
Sign out time (in UTC) |
visitorType |
string |
M |
|
deviceTag |
string |
O |
|
qrCode |
string |
M |
QR Code |
AdditionalData |
dictionary<string, string> |
O |
Additional visitor details, Key-Value array, (i.e. CountryOfOrigin, Phone etc.) |
ResponseStatus
Name |
Data type |
Mandatory |
Description |
ErrorCode |
string |
M |
|
Message |
string |
O |
|
Errors |
string |
O |
|
3.1. Get list of all visitors for a specified period of time
Route |
Method(s) |
Description |
/visitors |
GET |
|
Request DTO Parameters
Name |
Data type |
Mandatory |
Description |
StartDate |
date |
M |
Period start |
EndDate |
date |
M |
Period end |
Response DTO
Name |
Data type |
Mandatory |
Description |
items |
VisitorDetails[] |
M |
Array of visitors |
responseStatus |
ResponseStatus |
O |
Response details when request is failed due to validation or internal error |
VisitorDetails
Name |
Data type |
Mandatory |
Description |
firstName |
string |
O |
Fist name |
lastName |
string |
O |
Last name |
fullName |
string |
M |
Full name |
companyName |
string |
O |
Company name |
email |
string |
O |
Email address |
siteName |
string |
M |
Site name |
hostName |
string |
M |
Host's full name |
hostCompany |
string |
M |
Host's department |
visitStartUtc |
date |
M |
Sign in time (in UTC) |
visitEndUtc |
date |
O |
Sign out time (in UTC) |
visitorType |
string |
M |
|
deviceTag |
string |
O |
|
qrCode |
string |
M |
QR Code |
AdditionalData |
dictionary<string, string> |
O |
Additional visitor details, Key-Value array, (i.e. CountryOfOrigin, Phone etc.) |
ResponseStatus
Name |
Data type |
Mandatory |
Description |
ErrorCode |
string |
M |
|
Message |
string |
O |
|
Errors |
string |
O |
|