Service: ProductionPublicService

Version: 1_17 (other versions, change log, ZUMSTEIN_V3.12-SNAPSHOT) Latest frozen version. Base by default all your developments on this one.

SOAP Demo endpoint: https://myinstit.ws.secutix.com/tnpsb/external-remoting/com.secutix.facade.production.v1_17.ProductionPublicService.webservice?wsdl

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

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.Production public service. This service responsibility is the production of printable elements, that is, mostly tickets and documents. This service handle the proper generation of those elements, and the transfer of their content to the calling service.

Methods:

cancelTicketResales

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Cancel tickets that put on resale.

Parameters

ticketIdsList of LongThe Ids of tickets.
contactNumberString (20)The number of contact who resell tickets.

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString     

contingentsChanged

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Checks if allowed contingents have changed since the lastUpdate

Parameters

lastUpdateDate     

Return value

createDefaultDocuments

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Creates default documents for an order. Information contained in the DocumentInformation may override some values of the newShipmentOptions

Parameters

shipmentOptionsShipmentOptionsthe options to create the new shipments.
pointOfSalesIdlongMandatory
actionKindsList of Stringthe actionsKind of the order
documentTuningDocumentsInformation     

ShipmentOptions
addRarDocumentboolean     
contactAddressIdLong     
contactIdLong     
contactNumberString (20)     
documentToSendIdsPrintCollectList of Long     
emailString     
emailDocumentTypeIdLong     
immediateBoolean     
orderIdLong     
printConfiguredDocumentsCheckboxBoolean     
rarNumberString     
shipmentModeIdLong     
skipShipmentModeCheckBoolean     

DocumentsInformation
allDocumentsList of DocumentInformation     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

DocumentInformation
addressIdLong     
contactIdLong     
documentToSendIdLong     
documentTypeIdLong     
emailString     
isImmediateboolean     
operation(ADD|MODIFY|REMOVE|
SKIPPED)
     
rarRefNumberString     
shipmentModeIdLong     
withTicketsboolean     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

Return value

CreatedDocumentsInformation
allDocumentsList of CreatedDocumentInformation     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

CreatedDocumentInformation
documentIdLong     
isEmailContentboolean     
isRarDocumentboolean     
shipmentIdlong     
statusString     
addressIdLong     
contactIdLong     
documentToSendIdLong     
documentTypeIdLong     
emailString     
isImmediateboolean     
operation(ADD|MODIFY|REMOVE|
SKIPPED)
     
rarRefNumberString     
shipmentModeIdLong     
withTicketsboolean     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

createReprintShipment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Creates shipments to reprint/duplicate tickets and documents

Parameters

shipmentOptionsShipmentOptionsthe options to create the new shipments. orderId must be filled if documents are provided
pointOfSalesIdlongMandatory
ticketIdsList of Longid of the tickets
documentIdsList of Longid of the documents
creationCause(PRINT|REPRINT|DUPLICATE|
PRINT_FILE|INVALIDATE)
     
invalidationCause(NOT_CANCELLED|REFUNDED|
LOSS|THEFT|OTHER|
EBO_CANCELLED|FORBIDDEN|
REPRINT|PRINT_KO|
CHANGE_RFID|INVALIDATE|
RESOLD|RESEAT|
OTHER_SECURITY_REQUEST_BL|
OTHER_PNA_REQUEST_BL|
LOSS_COURIER_FAILURE|
LOSS_RETURN_DISTRIBUTION|
REPRINT_RESEAT|
REPRINT_CONTACT_PAPER|
REPRINT_CONTACT_MOBILE|
REPRINT_DAMAGED|
REPRINT_PNA_ON_SITE|
REPRINT_ORG_PAPER|
REPRINT_ORG_MOBILE|
REPRINT_APP_PAPER|
ITA_WRONG_DATA|
ITA_INVALID_PRINT|
ITA_TRANS_NOT_COMPLETED|
ITA_CUSTOMER_REQUEST|
ITA_SERVICE_REASON|
ITA_EVENT_CANCELLATION|
ITA_CUST_NAME_CHANGE|
ITA_THEFT_LOSS|
ITA_UPSELLING|
RESALE_PENDING|
RESALE_CANCELLED|
MOBILE_TAKE_BACK)
     

Return value

ShipmentsData
dataList of ShipmentData     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ShipmentData
contactAddressIdLong     
contactIdLong     
documentsIdsList of Long     
emailIdLong     
idlong     
rarDocumentIdLong     
referenceNumberString     
shipmentModeIdLong     
shipmentModeTypeEnum(HANDED_AT_BO|
HANDED_POSTPONED|
LEFT_AT_CONTROL|BY_MAIL|
BY_RECOMMANDED_MAIL|
BY_BROKER|BY_EMAIL|
PRINT_AT_HOME|DHL|FEDEX|
MOBILE|LOAD_BADGE|
LOAD_RFID_CARD|ELECTRONIC|
BLOCKCHAIN)
     
ticketIdsList of Long     

createReprintShipmentWithCollectionDateTime

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

shipmentOptionsShipmentOptions     
pointOfSalesIdlongMandatory
ticketIdsList of Long     
documentIdsList of Long     
creationCause(PRINT|REPRINT|DUPLICATE|
PRINT_FILE|INVALIDATE)
     
invalidationCause(NOT_CANCELLED|REFUNDED|
LOSS|THEFT|OTHER|
EBO_CANCELLED|FORBIDDEN|
REPRINT|PRINT_KO|
CHANGE_RFID|INVALIDATE|
RESOLD|RESEAT|
OTHER_SECURITY_REQUEST_BL|
OTHER_PNA_REQUEST_BL|
LOSS_COURIER_FAILURE|
LOSS_RETURN_DISTRIBUTION|
REPRINT_RESEAT|
REPRINT_CONTACT_PAPER|
REPRINT_CONTACT_MOBILE|
REPRINT_DAMAGED|
REPRINT_PNA_ON_SITE|
REPRINT_ORG_PAPER|
REPRINT_ORG_MOBILE|
REPRINT_APP_PAPER|
ITA_WRONG_DATA|
ITA_INVALID_PRINT|
ITA_TRANS_NOT_COMPLETED|
ITA_CUSTOMER_REQUEST|
ITA_SERVICE_REASON|
ITA_EVENT_CANCELLATION|
ITA_CUST_NAME_CHANGE|
ITA_THEFT_LOSS|
ITA_UPSELLING|
RESALE_PENDING|
RESALE_CANCELLED|
MOBILE_TAKE_BACK)
     
shipmentPickupDataShipmentPickupData     
collectionDateTimeDate     

ShipmentPickupData
contactIdLong     
databyte     
filenameString     
mimetypeString     
remarkString     

Return value

ShipmentsData

getAvailableTicketSupports

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieve the available tickets supports for the given list of tickets identified by their IDs

Parameters

ticketIdsList of Longlist of technical identifier of the tickets to be considered

Return value

AvailableTicketSupportsResult
availableTicketSupportsList of AvailableTicketSupports     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

AvailableTicketSupports
cardNumberString     
cardTypesList of CardTypeData     
firstNameString     
lastNameString     
ticketIdLong     
ticketSupportDataList of TicketSupportData     

CardTypeData
cardTypeIdLong     
codeString (8)     
controlString     
externalNameString     
logoUrlString (255)     
printableBoolean     

TicketSupportData
nameString     
ticketSupport(THERMAL|ETICKET|PAPER_A4|
PASSBOOK|MOBILE|
BLOCKCHAIN|BADGE|RFID|
PR_RFID_CARD|
DEMAT_BADGE)
     

getCards

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

culturalContactNumbersCollection of String     

Return value

CardsDataResult
cardsList of CardData     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

CardData
cardNumberString     
cardTypeDataCardTypeData     
lastUsedDateDate     
linkedContactNumberString (20)     

getDocuments

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieve the given document data for documents identified by their IDs. The same processing applied in {@link #getDocument(long, String)} is applied for each document, except for inexistent documents. If a document cannot be found in the system, nothing will be returned for this element. Meaning that the returned list will contain less elements than requested.

For performance reasons, this method will only consider the

Parameters

documentIdsList of Longlist of technical identifier of the documents to consider.
contactNumberString (20)contact number of contact linked to the documents by the shipments.

Return value

PrintableDocumentsData
documentsList of PrintableDocumentData     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

PrintableDocumentData
databyte     
filenameString     
mimetypeString     
EMPTY_IDlong     
idlong     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getFileSummaryDocument

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

fileIdLong     
contactNumberString (20)     
contactAddresIdLong     

Return value

PrintableDocumentsData

getReusableVouchers

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Get list reusable vouchers by contact.

Parameters

contactNumberString (20)The number of contact who buying tickets.

Return value

VoucherInstancesData
voucherInstanceDataList of VoucherInstanceData     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

VoucherInstanceData
expirationDateDate     
identifierString     
paymentDteLogLuDate     
remainingAmountMoneyData     

MoneyData
currencyString     
digitsint     
valueBigDecimal     

getThermalPrintableTickets

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Returns all the tickets in the specified shipment, with all details required for thermal printing on the configured hardware.

Parameters

requestIdLongoptional
shipmentIdLong     

Return value

ThermalPrintableTicketsResult
cuttingSetSet of Long     
shipmentIdLong     
thermalPrintableTicketsList of ThermalPrintableTicket     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ThermalPrintableTicket
cuttingMode(NONE|AFTER_EACH_TICKET|
AFTER_EACH_ORDER|
AT_THE_END_OF_MASS_PRINTING)
     
databyteBinary data to be printed.
dataEncoding(ISO_8859_1|UTF_8|
BINARY)
Encoding of {@link #data}
idlongId of the ticket or document.
metadataMap of StringStringcontains the same metadata as in JMS version, see twiki
mimeTypeStringMime type of {@link #data}
printableType(TICKET|DOCUMENT)Type of the printable
readableReferenceStringcomprehensible information to identify the printable

getTicketTemplates

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method is used to get available ticket templates of each product for a point of sales by applications that desire to produce ticket themselves.

Parameters

posIdLong     
productIdsList of Long     

Return value

TicketTemplateResult
productTicketTemplatesList of ProductTicketTemplate     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ProductTicketTemplate
productIdLong     
ticketTemplatebyte     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getTickets

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieve the given ticket data for tickets identified by their IDs. The same processing applied in {@link #getTicket(long, String)} is applied for each ticket, except for inexistent tickets. If a ticket cannot be found in the system, nothing will be returned for this element. Meaning that the returned list will contain less elements than requested.

For performance reasons, this method will only consider the first {@link #MAX_ELEMENTS} elements. If more tickets are requested, they will be ignored.

Parameters

ticketIdsList of Longlist of technical identifier of the tickets to consider.
contactNumberString (20)contact number of contact is allowed to download the tickets.
beneficiariesList of TicketBeneficiaryDatalist of beneficiaries for the tickets; optional.
ticketSupportsList of (THERMAL|ETICKET|PAPER_A4|
PASSBOOK|MOBILE|
BLOCKCHAIN|BADGE|RFID|
PR_RFID_CARD|
DEMAT_BADGE)
     
questionnaireAnswersList of AnswerQuestionnaire     

TicketBeneficiaryData
beneficiaryBirthPlaceString     
beneficiaryBirthRegionString     
beneficiaryBirthdateDate     
beneficiaryCountryCodeString (8)     
beneficiaryFirstnameStringMandatory
beneficiaryIdNumberString     
beneficiaryLastnameStringMandatory
ticketIdlongMandatory

AnswerQuestionnaire
answerQuestionsList of AnswerQuestionMandatory
ticketIdLongMandatory

AnswerQuestion
answerCodesList of StringMandatory
questionCodeString (8)Mandatory

Return value

PrintableTicketsData
ticketsList of PrintableTicketData     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

PrintableTicketData
barcodeString (8)     
cardVisualIdString     
containerIdentifierString     
humanReadableBarcodeString (8)     
shipmentIdLong     
state(CONTROLLED|
CONTROLLED_OUT|PRINTED|
NOT_PRINTED|INVALIDATED|
CANCELLED|EXPORTED)
     
taxNumberString     
ticketSupport(THERMAL|ETICKET|PAPER_A4|
PASSBOOK|MOBILE|
BLOCKCHAIN|BADGE|RFID|
PR_RFID_CARD|
DEMAT_BADGE)
     
databyte     
filenameString     
mimetypeString     
EMPTY_IDlong     
idlong     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getTicketsToResell

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Get the list of tickets to resell.

Parameters

itemIdsList of Longthe list of item ids
performanceIdsList of Longthe list of performance ids
dateDate     
privateBucketIdentifierStringIdentifier (as a string) of the bucket in which the private resales are stored. If empty means general public.

Return value

TicketResaleGroups
dateDate     
ticketResaleGroupsList of TicketResaleGroup     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

TicketResaleGroup
areaIdLong     
audienceSubCategoryIdLong     
blockIdLong     
itemIdLong     
performanceIdLong     
quantityInteger     
seatCategoryIdLong     
ticketResaleSeatsList of TicketResaleSeat     
unitAmountLong     

TicketResaleSeat
companionboolean     
companionTicketResaleIdLong     
endValidityDateDate     
movementIdLong     
realAmountLong     
remarkString     
resaleAdvantageIdsSet of Long     
resaleScope(PUBLIC|PRIVATE)     
resaleState(OPEN|PROCESSING|RESOLD|
INVALIDATED|CANCELED)
     
seatDefinitionSeatDefinition     
seatIdLong     
startValidityDateDate     
ticketResaleIdLong     
withCompanionboolean     
withoutCompanionboolean     

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

getTicketsWithShipment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieve the given tickets and associates them with the given shipment mode. If no shipment of this mode is associated with the ticket, the shipment is created and associated to the ticket. There may be some consistency issues between shipmentMode and TicketSupport, that have to be checked. For performance reasons, this method will only consider the first {@link #MAX_ELEMENTS} elements. If more tickets are requested, they will be ignored.

Parameters

shipmentModeIdlongMandatory
ticketIdsList of Longlist of technical identifier of the tickets to consider.
contactNumberString (20)contact number of contact is allowed to download the tickets.
beneficiariesList of TicketBeneficiaryDatalist of beneficiaries for the tickets; optional.
ticketSupportsList of (THERMAL|ETICKET|PAPER_A4|
PASSBOOK|MOBILE|
BLOCKCHAIN|BADGE|RFID|
PR_RFID_CARD|
DEMAT_BADGE)
     
questionnaireAnswersList of AnswerQuestionnaire     

Return value

PrintableTicketsData

loadTicketsOnCard

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Load tickets on badge/RFID card.

Parameters

ticketDefinitionsList of TicketBeneficiaryData     
containerIdentifierStringcontainer identifier used to update tickets
questionnaireAnswersList of AnswerQuestionnaire     
cardLoadingQuestionsList of SimpleQuestionlist of answers for questions required by the card type (Eg. SWISSPASS requires zip code)

SimpleQuestion
answerString     
keyString     
translationString     

Return value

LoadTicketOnCardResult
cardTypeIdLong     
questionsList of SimpleQuestion     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

resellTickets

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Put list of tickets to resale.

Parameters

ticketsList of TicketResaleDataThe list of ticket data that contains ticket Id and resale amount.
contactNumberString (20)The number of contact who buying tickets.
paymentMethodIdLongThe payment method Id
remarkStringThe remark of the resale tickets.
privateBucketIdentifierStringIdentifier (as a string) of the bucket in which the private resales are stored. If empty means general public.

TicketResaleData
companionTicketIdLong     
companionUnitAmountLong     
ticketIdLong     
unitAmountLong     

Return value

WebMethodResult