Service: ExternalAccessControlService

Version: 1_6 (other versions, change log) Latest stable version. Please base all your developments on this one.

SOAP Demo endpoint: https://secutix.ws.secutix.com/tnci/external-remoting/com.secutix.facade.control.v1_6.ExternalAccessControlService.webservice?wsdl

REST Demo endpoint (only POST): https://secutix.ws.secutix.com/tnci/backend-apis/externalAccessControlService/v1_6/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "secutix" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.This service allows to access ticket data for using in an access control system.
Its main method is exportList, which allow to incrementally retrieve the tickets.

Methods:

exportList

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieves the tickets to be controlled, incrementally.

Parameters

requestIdInteger     
listType(GREY|BLACK|WHITE)WHITE : only valid tickets
BLACK : only invalid ones
GREY : valid and invalid mixed. In all the cases the order matters !
ticketType(ALL|THIRD_PARTY)     
seasonCodeString (8)     
productCodesList of String     
performanceCodesList of String     
paginationStartStringThis value is a string, and must be stored as a string. Must be null for the first call, then use the value paginationEnd returned in AccessControlListData for the next call.
nbMaxResultsLongthe number of tickets returned. Beware, if returning a grey list, a valid ticket followed by its invalid counterpart counts as 1 ticket, so the number of items in AccessControlListResult can exceed nbMaxResults.

Return value

AccessControlListResult
accessControlListDataAccessControlListData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

AccessControlListData
accessControlListItemsList of AccessControlListItem     
paginationEndString     

AccessControlListItem
areaCodeString (8)     
audienceCategoryKindString     
audienceSubCategoryCodeString (8)     
barcodeString (8)     
barcodeInternalValuesMap of StringString     
blockCodeString (8)     
cancellationCause(NOT_CANCELLED|REFUNDED|
LOSS|FORBIDDEN|DUPLICATA|
REPRINT|THEFT|OTHER|
PRINT_KO|CHANGE_RFID)
     
categoryCodeString (8)     
containerIdentifierString     
endValidityDateDate     
entranceCodeString (8)     
entranceIdLong     
entryQuantityInteger     
externalEntranceCodeString (8)     
externalEntranceIdLong     
fileIdLong     
holderInfoMap of StringString     
holderPhotoString     
isProductCompositionTicketBoolean     
loungeCodeString (8)     
performanceCodeString (8)     
performanceDateTimeDate     
performanceIdLong     
priceLong     
productCodeString (8)     
productIdLong     
resellerString     
seatNumberString     
seatQualityCodeString (8)     
seatRowString     
taxNumberString     
ticketMedium(CONTENT|E_TICKET|THERMAL|
MOBILE)
     
ticketState(VALID|CANCELLED)     
validityDateDate     
validityDaysInteger     

getAccessControlCatalog

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Returns all the events and performances that are eligile to access control from the current operator. Basically, to be returned, a season or a product or a performance must be in RUNNING state inside SecuTix and be authorized for the current operator.

Parameters

requestIdInteger     
seasonCodeString (8)if set, returns only the season with the code specified.
productCodesList of Stringif set, then season code must be set. Filters the results according to products codes.
catalogDetailsList of (PERFORMANCES|TIMESLOTS|
ENTRANCES)
if set, return only values of this kind (PERFORMANCES, TIMESLOTS, ENTRANCES)

Return value

AccessControlCatalogResult
seasonsList of Season     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

Season
endDateDate     
productsList of ProductAll the active products of the season accessible to control through the current access control operator.
startDateDate     
internalNameStringInternal name of the object.
codeString (8)     
idlong     

Product
performanceList of PerformanceDefined if and only if the product is an event.
spaceNameStringIf the product is explicitely associated to a space, here is its name.
timeslotsList of TimeslotDefined if an only if the product is a dated pass.
internalNameStringInternal name of the object.
codeString (8)     
idlong     

Performance
A Performance's code, in this API, is the code of the parent event followed by an index.
durationIntegerDuration, in minutes.
entrancesList of Entrance     
externalEntrancesList of Entrance     
openingGatesTimeDate     
spaceNameString     
startTimeDate     
codeString (8)     
idlong     

Entrance
An entrance to the venue associated to the performance.
internalNameStringInternal name of the object.
codeString (8)     
idlong     

Timeslot
durationIntegerIn minutes.
startTimeDate     

getTimeZone

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieve the timezone of request org

Parameters

requestIdInteger     
institutionCodeString (8)     
organizationCodeString (8)     

Return value

TimeZoneResult
timeZoneString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

importControlledTicket

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Marks the tickets as controlled in the system.

Parameters

requestIdInteger     
controlledTicketsList of ControlledTicket     

ControlledTicket
acIdentifierStringMandatory parameter. Any value allowing to identify the control session for the external access control system. If the access control system does not provide this kind of value, we suggest to put a timestamp.
additionnalInfoString     
barcodeString (8)     
checkFlow(IN|OUT)If you need to specify the flow of the controlled ticket, please set it here. If the ticket is controlled when people come in, then the checkFlow is IN, if it is controlled when people come out, the checkFlow will be OUT. If left empty, the default value of the checkFlow is IN
controlDateDate     
controlResult(OK|FAIL|OFFLINE_OK|
OFFLINE_FAIL)
     
countingProductboolean     
deviceCodeString (8)     
failureReasonString

The reason of the failure tu control.

Should be considered as an enum, with the following possible values. OK, OFFLINE_OK, FAIL, OFFLINE_FAIL, SPECIMEN_TICKET, TICKET_ALREADY_USED, TICKET_NOT_VALID_ANYMORE, TICKET_NOT_VALID_TODAY, WRONG_ARTICLE, NO_MORE_READMISSION, TICKET_ON_BLACKLIST, INVALID_TICKET, TICKET_CANNOT_BE_CHECKED, MAX_PEOPLE_REACHED

If none, put OK.

gateCodeString (8)     
multiplierInteger     
productCodeString (8)     
seasonCodeString (8)     
sectorCodeString (8)     

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString