Service: ExternalOrderService

Version: 1_11 (other versions, change log, ZUMSTEIN_V4.4-SNAPSHOT) END OF LIFE. Please consider switching to the latest version of the webservices, because this version may be removed anytime from support.

SOAP Demo endpoint: https://myinstit.ws.secutix.com/tnseb/external-remoting/com.secutix.service.realtime.externalorder.v1_11.ExternalOrderService.webservice?wsdl

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

For further documentation and examples, please check in Platform Website.external order service interface v1_11 : web service exposed to external world

Methods:

abandonMovements

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
orderIdLongthe SecuTix order id
movementIdsList of Longthe SecuTix movement id list

Return value

OrderUpdateResult
Class representing the response of create order method in external order service.
orderUpdateDataOrderUpdateData     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

OrderUpdateData
Class containing information of order update result. The following attributes are provided:
  • operationDataUpdates, optional: specify the list of created or updated operations
  • removeOperationIds, optional: specify the list of deleted operations
  • movementDataUpdates, optional: specify the list of created or updated movements
  • removeMovementIds, optional: specify the list of deleted movements
  • mainOperationId, optional: specify the operation id of the given request, if existing
generatedContiguitiesList of ContiguityData     
mainOperationIdLong     
movementDataUpdatesList of MovementData     
operationDataUpdatesList of OperationData     
orderIdLong     
originOrderOriginData     
removeMovementIdsList of Long     
removeOperationIdsList of Long     

ContiguityData
contiguousboolean     
performanceIdLong     
seatCategoryIdLong     
segmentsList of Segment     

Segment
movementIdsList of Long     

MovementData
Class containing all necessary information to display a movement. The following attributes are provided:
  • movementId, mandatory: the SecuTix movement id
  • type, mandatory: Specify if the movement concerns a numbered seat or a not numbered area
  • seatId, optional: the SecuTix seat id if type is SEAT
  • seatCategoryId, mandatory: the SecuTix seat category id
  • seatCategory, mandatory: the seat category name (language is the parameter in the request header or the favorite institution language)
  • contingentId, mandatory: the SecuTix contingent id
  • contingent, mandatory: the contingent name
  • areaId, mandatory: the SecuTix area id
  • area: the area name
  • floor: the floor name
  • sector: the sector name
  • blockId: the SecuTix block id if type is SEAT
  • block: the block name if type is SEAT
  • alley: the alley name if type is SEAT
  • entranceId: the SecuTix entrance id if type is SEAT
  • entrance: the entrance name
  • row: the row name
  • seatNumber: the seat number
  • seatQualityId: the SecuTix seat quality id
  • seatQuality: the SecuTix seat quality name
  • yCoordinate: the y coordinate in the SecuTix configuration
  • xCoordinate: the x coordinate in the SecuTix configuration
  • beneficiaryFirstname: the first name of the beneficiary
  • beneficiaryLastname: the last name of the beneficiary
  • contactReference: the id of the cultural contact
  • resaledMovementId: when the movement correspond to a resaled ticket, this field contains the movementId of
alleyString     
areaString     
areaIdLong     
areaKind(INDIFFERENT|BOX)     
attributionMatch(MATCHING_EXPECTED_AREAS|
MATCHING_EXPECTED_BLOCKS|
NOT_MATCHING|
NO_EXPECTATION)
     
barcodeString (8)     
beneficiaryBirthdateDate     
beneficiaryCountryCodeString (8)     
beneficiaryFirstnameString     
beneficiaryIdNumberString     
beneficiaryLastnameString     
blockString     
blockIdLong     
contactReferenceString (20)     
contingentString     
contingentIdLong     
endValidityDateDate     
entranceString     
entranceIdLong     
externalRemarkString     
floorString     
instanceNumberLong     
movementIdLong     
operationIdLong     
parentMovementIdLong     
resaledMovementIdLong     
resumedboolean     
resumedMovementIdLong     
rowString     
saleAreaIdLong     
saleSeatIdLong     
scenePhotoLinkString     
seatCategoryString     
seatCategoryIdLong     
seatIdLong     
seatNumberString     
seatOrientationInteger     
seatQualityString     
seatQualityCodeString (8)     
seatQualityIdLong     
sectorString     
stageVisibilityString     
startValidityDateDate     
taxNumberString     
titlingVisibilityString     
type(SEAT|AREA|SIMPLE_PRODUCT|
COMPOSED)
     
xCoordinateLong     
yCoordinateLong     

OperationData
Class containing all necessary information for an operation. The following attributes are provided:
  • operationId, mandatory: the SecuTix operation id
  • kind, mandatory: the operation kind
  • quantity, mandatory: item quantity for this operation
  • basePrice, mandatory: price as defined in SecuTix rates table, express as unity thousandth
  • productId, mandatory: real price asked to the client, express as unity thousandth
  • product, mandatory: the product name (language is the parameter in the request header or the favorite institution language)
  • itemId, optional: the SecuTix item id
  • item, optional: the item name
  • performanceId, optional: the SecuTix performance id
  • performance, optional: the performance name
  • eventId, eventId: the SecuTix event Id
  • siteId, optional: the SecuTix site id
  • site, optional: the site name
  • contingentId, optional: the SecuTix contingent id
  • contingent, optional: the contingent name
  • isNumbered, optional: identify if operation affects numbered seat or not numbered area
  • seatCategoryId, mandatory: the SecuTix seat category id
  • seatCategory, mandatory: the seat category name
  • audienceSubCategoryId, mandatory: the SecuTix audience sub category id
  • audienceSubCategory, mandatory: the audience sub category name
  • vatRate, mandatory: the vat rate, express as milli-percent (19.6% <=> 19600)
  • String message, optional: a message could be given to explain what happened to the operator
  • advantageId, optional: the advantage used for this operation
  • advantage, optional: the name of the advantage used for this operation
activityType(LIVE_SPECT|FESTIVAL|
MUSEUM|VISIT|ENTERT_PARK|
FAIR|PARKING|SPORT|
OTHER)
     
advantageString     
advantageIdLong     
alternativeCategoryQuantityInteger     
audienceSubCategoryString     
audienceSubCategoryIdLong     
audienceSubCategoryRankInteger     
basePriceInteger     
chargesType(OTHER|RESERVATION|
CANCELLATION)
     
contingentString     
contingentIdLong     
displayDateOnlyOfitemDateBoolean     
eventIdLong     
expirationDateDate     
fileIdLong     
hospitalityAreaString     
hospitalityAreaIdLong     
hospitalityAreaQuantityInteger     
hospitalityAreaSeatQuantityInteger     
hospitalityAreaType(SKYBOX|PREMIUM_SEATS|
BOTH)
     
hospitalityRoomString     
hospitalityRoomIdLong     
hospitalitySessionString     
hospitalitySessionCodeString (8)     
hospitalitySessionDateDate     
hospitalitySessionIdLong     
hospitalitySessionTimeDate     
itemString     
itemDateDateDate of timeslot pass item
itemDisplayExternalDesignationString     
itemIdLong     
kind(CHARGES|SIMPLE_PRODUCT|
SINGLE_ENTRY|
PRODUCT_COMPOSITION|
COMPOSED_PRODUCT|
OVERHEADS|SHIPPING_FEE|
PAYMENT_FEE|TR_BALANCE)
     
locationsList of Location     
matchMatch     
messageString     
nominativeboolean     
numberedboolean     
operationIdLong     
operationNumberInteger     
optionState(PRE_SALES|PRE_REQUESTED|
REQUESTED|VALIDATED|
REJECTED)
     
parentOperationIdLong     
performanceString     
performanceDataMap of Long, Date     
performanceIdLong     
performanceKindString     
physicalConfigurationIdLong     
priceType(PREDEFINED|DYNAMIC)     
productString     
productDesignationString     
productFamilySubType(SIMPLE_TICKET|
SEASONTICKET|MEMBERSHIP|
PACKAGE|STAY|SERVICE|
VOUCHER|GOODS|VISIT|OPEN|
OPEN_PASS|
DATE_SPECIFIC_PASS|
SPORTING_EVENT|RAILAWAY|
HOTEL|MUSEUM|ENTERT_PARK|
RESTAURANT|PRODLIB|
TIMESLOT_PASS|HOSPITALITY|
HOSPITALITY_PACKAGE)
     
productFamilyType(SINGLE_ENTRY|
SEASONTICKET|PASS|PACKAGE|
MEMBERSHIP|SERVICE|GOODS|
TRANSPORT|HOSPITALITY)
     
productIdLong     
quantityInteger     
seasonTicketSubjectString     
seasonTicketSubjectIdLong     
seatCategoryString     
seatCategoryBgColorString     
seatCategoryIdLong     
seatCategoryRankInteger     
siteString     
siteIdLong     
timeslotIdLong     
totalAmountInteger     
tripType(ONEWAY|RETURN)     
unitPriceInteger     
vatRateInteger     
waitingAccountBalanceLong     
withoutVatTotalAmountLong     

Location
siteCodeString (8)     
siteExternalNameExternalName60 characters max for each translation
spaceCodeString (8)     
spaceExternalNameExternalName60 characters max for each translation

ExternalName
translationsList of Translation     

Translation
localeString (2)     
valueString     

Match
finalDateBoolean     
hostTeamString     
hostTeamIdLong     
opposingTeamString     
opposingTeamIdLong     
roundString     
roundCodeString (8)     
roundExternalNameExternalName60 characters max for each translation

OrderOriginData
countryCodeString (8)     
ipAddressString     
orderOriginInfoIdCodeString (8)     
userAgentString     
zipCodeString (8)     

abandonOperations

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
orderIdLongthe SecuTix order id
operationIdsList of Longthe SecuTix operation id list

Return value

OrderUpdateResult

abandonOrder

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
orderIdLongthe SecuTix order id

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString     

applyAdvantage

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Applies rulesetAdvantage on the given order.

Parameters

orderIdLong     
advantageIdLong     
accessCodeString (8)     
confirmApplyBoolean     

Return value

OrderUpdateResult

cancelOperations

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Cancels the given operations or movements which is used for reservation/option cancellations.

Parameters

requestIdIntegerthe request id
orderIdLongMandatory
the SecuTix order id(Mandatory)
operationIdsList of Longthe SecuTix operation id list (Optional, if list is empty it will cancel all operations of given order )
movementIdsList of Longthe SecuTix movement id list (Optional, if list is empty it will cancel all movements of given order/operations, else it will consider only given movements so if movements are given operations are not considered ),

Return value

OrderUpdateResult

closeOrder

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
purchaserInfoContactDatathe external purchaser information
orderIdLongthe SecuTix order id
ticketsList of TicketDatathe tickets data
externalReferenceStringthe external order Reference
generateBarCodesbooleanMandatory
TODO
maxWaitingTimeLongTODO
orderType(SALE|REFUND_CLIENT|
REFUND_ORGANIZATION|
EXCHANGE_ORGANIZATION|
EXCHANGE_CLIENT|
RESERVATION|RENEWAL|
OPTION|
RESERVATION_FREEING|
OPTION_FREEING)
     
externalRemarkString     

ContactData
Class containing the beneficiary data :
  • contactReference, optional: the secutix contact number
  • firstName, optional: beneficiary first name
  • lastName, optional: beneficiary last name
  • email, optional: beneficiary email
  • birthday, optional: beneficiary birthday
  • firstAddressLine, optional: first address line
  • secondAddressLine, optional: second address line
  • thirdAddressLine, optional: third address line
  • zipCode, optional: address zip code
  • locality, optional: address locality
  • countryCode, optional: address country code
  • phone, optional: beneficary phone number
  • mobilePhone, optional: beneficary mobile phone number
  • contactId, optional: the contact internal id
  • invoiceAddressId, optional: the contact address internal id
  • idNumber, optional: To store beneficiary id number like passport number.
answerQuestionnaireAnswerQuestionnaire     
birthdayDate     
contactIdLong     
contactReferenceString (20)     
countryCodeString (8)     
emailString     
firstAddressLineString     
firstNameString     
idNumberString     
invoiceAddressIdLong     
lastNameString     
localityString     
mobilePhoneString     
phoneString     
secondAddressLineString     
structureOfficialNameString     
thirdAddressLineString     
zipCodeString (8)     

AnswerQuestionnaire
answerQuestionsList of AnswerQuestion     
ticketIdLong     

AnswerQuestion
answerCodesList of String     
questionCodeString (8)     

TicketData
Class containing the ticket data :
  • ticketMedium, optional: specify the ticket medium
  • additionalInfo, optional: additional info for DataWareHouse
  • beneficiaryData, optional: beneficary data (name...)
additionnalInfoString     
containerIdentifierString     
holderInfoContactData     
ticketMedium(THERMAL|E_TICKET|MOBILE|
RFID)
     
barcodeString (8)     
movementIdLong     
taxNumberString     

Return value

CloseOrderResult
Class representing the response of closeOrder method in external order service.
movementTicketDatasList of MovementTicketData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

MovementTicketData
barcodeString (8)     
beneficiaryBirthdateDate     
beneficiaryCountryCodeString (8)     
beneficiaryIdNumberString     
contactReferenceString (20)     
firstNameString     
instanceNumberString     
isLinkedToTicketDistributionboolean     
lastNameString     
movementIdLong     
questionnaireIdLong     
taxNumberString     
ticketIdLong     

createRefundOperations

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
orderIdLongthe SecuTix order id
ticketsInfoList of TicketInfo     

TicketInfo
Class containing the ticket info :
  • movementId, mandatory: the SecuTix movement id
  • barcode, mandatory: the ticket bar code, used for access control
  • taxNumber, mandatory: the ticket tax number
barcodeString (8)     
movementIdLong     
taxNumberString     

Return value

OrderUpdateResult

deleteFileAttachment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Deletes the given fileAttachmentId and return success or failure status code.

Parameters

requestIdInteger     
fileAttachmentIdLongMandatory
- Mandatory parameter, the fileAttachmentId to delete.
contactReferenceString (20)Mandatory
- Mandatory parameter, the contactReference to whom the file attachment belongs.

Return value

WebMethodResult

getFileAttachment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Returns the fileAttachment of given fileAttachmentId and contactReference

Parameters

requestIdInteger     
fileAttachmentIdLongMandatory
- Mandatory parameter, the fileAttachmentId to find.
contactReferenceString (20)Mandatory
- Mandatory parameter, the contactReference to whom the file attachment belongs.

Return value

PrintableFileAttachmentResult
fileAttachmentPrintableFileAttachmentData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

PrintableFileAttachmentData
databyte     
fileNameString     
mimetypeString     
uploadDateDate     

getFileDetails

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Returns the details of a file which may contain several orders, some of which may be partial (only the operations of the order concerning the given file will be returned)

Parameters

requestIdInteger     
fileIdLong     
operationIdLong     
movementIdLong     
currentViewBoolean     

Return value

FileDetailResult
Class representing the response of getFileDetails method in external order service which has Secutix file details with corresponding order details.
currentViewOrderDetailsDatasList of OrderDetailsData     
fileDetailsDataFileDetailsData     
installmentsList of InstallmentData     
orderDetailsDatasList of OrderDetailsData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

OrderDetailsData
Class containing information of order detail result. The following attributes are provided:
  • orderId, mandatory: specify the SecuTix order id
  • orderState, mandatory: specify the order state
  • creationDateTime, mandatory: specify the date when order was created
  • referenceDate, mandatory: specify the date when order will be count
  • totalAmount, mandatory: total amount of the order, express as unity thousandth
  • numberOfMovements, mandatory: specify the list of deleted movements
  • externalReference, optional: specify the operation id of the given request, if existing
contactReferenceString (20)     
creationDateTimeDate     
expirationDateDate     
externalReferenceString     
externalRemarkString     
generatedContiguitiesList of ContiguityData     
movementDatasList of MovementData     
movementTicketDatasList of MovementTicketData     
numberTicketsLong     
operationDatasList of OperationData     
optionAmountInteger     
orderIdLong     
orderInstallmentsToCreateList of InstallmentData     
orderOriginDataOrderOriginData     
orderState(OPEN|VALIDATED|CLOSED|
ABANDONNED|PROCESSING)
     
orderType(SALE|REFUND_CLIENT|
REFUND_ORGANIZATION|
EXCHANGE_ORGANIZATION|
EXCHANGE_CLIENT|
RESERVATION|RENEWAL|
OPTION|
RESERVATION_FREEING|
OPTION_FREEING)
     
preSaleAmountInteger     
referenceDateDate     
reservationAmountInteger     
saleAmountInteger     
salesChannelNameExternalName     
salesChannelType(AGENCY|BOXOFFICE|
INTERNET_B2C|INTERNET_B2B|
INTERNET_B2B2C)
     
waitingAccountBalanceAmountInteger     

InstallmentData
dueAmountLong     
dueDateDate     
lastPaymentDateDate     
orderIdLong     
paidAmountLong     

FileDetailsData
acceptAlternativeCategoriesBoolean     
contactReferenceString (20)     
creationDateTimeDate     
currentOrderIdLong     
fileAttachmentsList of FileAttachmentData     
fileContactsList of FileContactData     
fileIdLong     
fileState(RUNNING|SUSPENDED|
IN_OPTION|IN_RESERVATION|
OPTION_RESERV|CONFIRMED|
SOLDED|NOT_SOLDED|
PART_SOLDED|CANCELED|
ABANDONNED|TECH_ERROR)
     
lastModDateTimeDate     
optionState(PRE_REQUESTED|REQUESTED|
VALIDATED|PART_VALIDATED|
REJECTED|ABANDONED)
     

FileAttachmentData
fileAttachmentIdLong     
nameString     
uploadDateDate     

FileContactData
fileContactType(SALE|OWNER|FINDER|
COMM_ENTITY)
     
answerQuestionnaireAnswerQuestionnaire     
birthdayDate     
contactIdLong     
contactReferenceString (20)     
countryCodeString (8)     
emailString     
firstAddressLineString     
firstNameString     
idNumberString     
invoiceAddressIdLong     
lastNameString     
localityString     
mobilePhoneString     
phoneString     
secondAddressLineString     
structureOfficialNameString     
thirdAddressLineString     
zipCodeString (8)     

getOrderDetails

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
orderIdLongthe SecuTix order id
operationIdLong     
movementIdLong     

Return value

OrderDetailResult
Class representing the response of getOrderDetails method in external order service.
fileDetailsDataFileDetailsData     
orderDetailsDataOrderDetailsData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getOrderInstallmentData

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

orderIdLong     
dueAmountLong     

Return value

OrderInstallmentDetailResult
Class representing the response of getInstallmentData method in external order service.
installmentsList of InstallmentData     
orderIdLong     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

isExternalOrderServiceAlive

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

validate network connection and login/password

Parameters

Return value

WebMethodResult

manualAttributeSeats

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Manual attribution for operations. Provided seats must match operations expectations. If operations cover many performances, seatDefininitions are supposed to be applied to ALL performances at once.

Parameters

requestIdInteger     
orderIdLong     
operationIdsList of Long     
seatDefinitionsList of SeatDefinition     
areaAttributionsList of NotNumberedSeatDefinition     

SeatDefinition
UNDEFINEDString     
areaIdLong     
areaKind(INDIFFERENT|BOX)     
availableboolean     
blockIdLong     
contingentIdLong     
numberString     
physicalSeatIdLong     
rotationint     
rowString     
seatCategoryIdLong     
xint     
yint     

NotNumberedSeatDefinition
Class containing all necessary information to manually attribute seats. The following attributes are provided:
  • areaId, mandatory: the SecuTix area id
  • quantity, mandatory: specify quantity of places needed in this area
areaIdLong     
quantityInteger     

Return value

OrderUpdateResult

notifyOrder

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method finalizes the order if its waiting for payment confirmation done via EPC by notifying orchestra to resume the EPC ASYNC wait. Note: This method must be called after calling {@link #closeOrder(Integer, ContactData, Long, List, String, boolean, Long)}

Parameters

requestIdInteger     
orderIdLongMandatory
( mandatory parameter )
maxWaitingTimeLong( Optional, if given then this method executes until this maxWaitingTime and returns "InProgres" if its not done)

Return value

CloseOrderResult

reopenOrder

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
orderIdLongthe SecuTix order id

Return value

WebMethodResult

setMovementContact

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Assigns a contact to a movement. This method helps to associate a contact to specific movement of a sales order to fill the cultural contact. If this call is not done explicitly, movement are not assigned yet will automatically assigned with the purchase contact when closing order.

Parameters

requestIdIntegerthe request id
movementContactsList of MovementContactThe movement with its contact info

MovementContact
holderInfoContactData     
movementIdLong     

Return value

WebMethodResult

uploadFileAttachment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Uploads the given printableFileAttachmentData to given fileId and given file contact reference and return success or failure status code.

Parameters

requestIdInteger     
fileIdLongMandatory
- Mandatory parameter, the fileId
printableFileAttachmentDataPrintableFileAttachmentDataMandatory
- Mandatory parameter, the file attachment data
contactReferenceString (20)Mandatory
- Mandatory parameter, the contactReference to whom the file attachment belongs.

Return value

WebMethodResult

validateOrder

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdIntegerthe request id
orderIdLongthe SecuTix order id
externalReferenceString     
orderType(SALE|REFUND_CLIENT|
REFUND_ORGANIZATION|
EXCHANGE_ORGANIZATION|
EXCHANGE_CLIENT|
RESERVATION|RENEWAL|
OPTION|
RESERVATION_FREEING|
OPTION_FREEING)
     

Return value

WebMethodResult