Service: ExternalAccessControlService

Version: 1_4 (other versions, change log) Deprecated. This version is still supported.

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

REST Demo endpoint (only POST): https://secutix.ws.secutix.com/tnci/backend-apis/externalAccessControlService/v1_4/{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)     
blockCodeString (8)     
cancellationCause(NOT_CANCELLED|REFUNDED|
LOSS|FORBIDDEN|DUPLICATA|
REPRINT|THEFT|OTHER|
PRINT_KO|CHANGE_RFID)
     
categoryCodeString (8)     
containerIdentifierString     
endValidityDateDate     
entranceCodeString (8)     
entryQuantityInteger     
holderInfoMap of StringString     
holderPhotoString     
loungeCodeString (8)     
performanceCodeString (8)     
performanceDateTimeDate     
performanceIdLong     
productCodeString (8)     
productIdLong     
resellerString     
seatNumberString     
seatQualityCodeString (8)     
seatRowString     
taxNumberString     
ticketMedium(CONTENT|E_TICKET|THERMAL|
MOBILE)
     
ticketState(VALID|CANCELLED)     
validityDateDate     
validityDaysInteger     

getCatalog

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Lists the items to be controlled.
Do not use it if you already know the productCode of the products that you and to control.

Parameters

requestIdInteger     
seasonCodeString (8)     
productCodeString (8)     
validityStartDateDate     
validityEndDateDate     

Return value

CatalogResult
barcodeIDInteger     
internalNameString     
internalRequestIdInteger     
itemControlDatasList of ItemControlData     
requestStateAsynchronousMethodResult.
AsynchronousMethodState
     
seasonCodeString (8)     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ItemControlData
entrancesControlDataList of EntranceControlData     
performanceStartDateTimeDate     
productControlDataProductControlData     

EntranceControlData
codeString (8)     
internalNameString     

ProductControlData
barcodeIdIntegerInternal SecuTix use only.
codeString (8)     
durationInteger     
eventDataEventControlData     
internalNameString     
numberValidDaysInteger     
organizationStartDayTimeDate     

EventControlData
performancesList of PerformanceTreatedData     

PerformanceTreatedData
codeString (8)     
durationTimeSpan     
openingTimeTimeSpan     
performanceIdLong     
spaceString     
startDate     
tolerancelong     

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