URL: | ||
JWT Token | ||
Template: | ||
cURL: |
Version: 1_10 (other versions, change log, ZUMSTEIN_V3.12-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/tnpsb/external-remoting/com.secutix.facade.shipment.v1_10.ShipmentPublicService.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.Shipment public service. Responsible of handling shipments linked to orders, where a shipment is composed of tickets and documents.
REST_RPC | MOSA | CUBE | PLAY |
SOAP | MOSA | CUBE | PLAY |
Retrieve the list of available shipment modes based on filtering parameters.
pointOfSalesId | long | Mandatory Technical ID of the point of sales; mandatory, used to find shipment modes authorized for the sales channel the point of sales belongs to. |
shipmentContents | (TICKETS|DOCUMENTS| TICKETS_AND_DOCUMENTS) | Mandatory Filter shipment modes based on their support for tickets, documents or both of those elements; mandatory parameter. |
destinationCountryCode | String (8) | filter shipment modes that support mail in the given country code; optional parameter. |
contactAddressId | Long | filter shipment modes based on country code of the given contact address; supersede the
destinationCountryCode parameter if defined. |
orderId | Long | optional parameter, if defined filter shipment modes based on the order content; the following filters
are applied:
|
ShipmentModesDetailedData | ||
shipmentModes | List of ShipmentModeDetailedData | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
ShipmentModeDetailedData | ||
catalogTypes | Set of (TICKETING|GOODS| HOSPITALITY) | |
contactAddressRequired | boolean | |
deliveryTimeInDays | Integer | |
description | String | |
externalProvider | boolean | |
idCode | String (8) | |
name | String | |
shipmentFee | ShipmentFeeData | |
ticketSupports | List of (THERMAL|ETICKET|PAPER_A4| PASSBOOK|MOBILE|BADGE| RFID|PR_RFID_CARD| DEMAT_BADGE) | |
type | (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| EXTERNAL) | |
EMPTY_ID | long | |
id | long | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
ShipmentFeeData | ||
amount | MoneyData | |
freeFromAmount | MoneyData | |
vatRate | String | |
EMPTY_ID | long | |
id | long | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
MoneyData | ||
currency | String | |
digits | int | |
value | BigDecimal |
REST_RPC | MOSA | CUBE | PLAY |
SOAP | MOSA | CUBE | PLAY |
Retrieve all shipments that exists for the given order id. For each movement of the order, if multiple tickets are available, this method will only return the ticket ID of the only valid ticket. For each shipment's shipping mode, if the order amount is greater than or equal to the shipment mode shipping fee "free from amount" value, then the shipping fee for the shipment mode is set to 0.
orderId | long | Mandatory technical identifier of the order from which to retrieve shipments. |
ShipmentsData | ||
shipments | List of ShipmentData | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
ShipmentData | ||
contactAddress | ContactAddressData | |
contactNumber | String (20) | |
documents | List of DocumentData | |
String | ||
referenceNumber | String | |
shipmentDate | Date | |
shipmentMode | ShipmentModeDetailedData | |
shipmentSent | boolean | |
shipmentState | (UNSENT|SENT|CANCELLED| REFERENCE|REPROCESS| COLLECTED) | |
tickets | List of TicketData | |
trackingUrl | String (255) | |
EMPTY_ID | long | |
id | long | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
ContactAddressData | ||
countryCode | String (8) | |
formattedAddress | String | |
name | String | |
street1 | String | |
street2 | String | |
street3 | String | |
street4 | String | |
town | String | |
townComplement | String | |
zipCode | String (8) | |
EMPTY_ID | long | |
id | long | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
DocumentData | ||
documentClass | String | |
documentClassEnum | (B2B_ACCOUNT| EMAIL_OPTION_WAIT_LIST| OPTION_SUMMARY| ORDER_BANKCREDIT| ORDER_CONFIRMATION| ORDER_FILE_SUMMARY| GOODS_ORDER| OPTION_REQUEST_ACKNOWLEDGEMENT|OPTION_ORDER_ACK|ORDER_REJECTED|LETTER|RAR|BVR|TICKETS_ACKNOWLEDGEMENT|ACCOUNT_BANKDEBIT|FILE_SUMMARY|ORDER_BANKDEBIT|ORDER_INVOICE|ORDER_SUMMARY|PASSWORD_CHANGE|NEW_ACCOUNT|CONTACT|OPTION_REQUEST_DELETION|ACCOUNT_BANKCREDIT|ST_SUBSCRIPTION|EMAIL_EXPIRED_OPTION|OPTION_REQUEST_MODIFICATION|ORDER_ACKNOWLEDGEMENT|WAITACC_INVOICE|ORDER_ACK_WITH_CONF|PROFORMA|CREDIT_NOTES|PARTNER|PRODUCT_WAITLIST_EMAIL|EXCHANGE_TICKET_ACK|FILE_PROFORMA|CGV|EMAIL_FOLLOW_SHIPMENT|EMAIL_OPTION_BOOKING_REMINDER|INSTALMENT_REMINDER|INSTALMENT_PAYING_FAILURE|INSTALMENT_PAYING_SUCCESS|EMAIL_RESERVATION_REMINDER|CODE_EMAIL|REQUEST_CONFIRMATION|REQUEST_SUMMARY|EMAIL_CANCEL_CONFIRMATION|EMAIL_REQUEST_REMINDER|ADVANTAGE_NOTIFICATION|PAYMENT_CONFIRMATION|CAMPAIGN_EMAIL_BASIC|CAMPAIGN_EMAIL_NEWSLET|CAMPAIGN_EMAIL_ECOMM|PUT_ON_RESALE_ACK|CANCEL_RESALE_ACK|REFUND_CREDIT_ACK) | |
documentType | String | |
orderId | Long | |
alreadyPrinted | boolean | |
availableForPrint | boolean | |
EMPTY_ID | long | |
id | long | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
TicketData | ||
barcode | String (8) | |
humanReadableBarcode | String (8) | |
refundMovementId | Long | |
salesMovementId | long | |
taxNumber | String | |
alreadyPrinted | boolean | |
availableForPrint | boolean | |
EMPTY_ID | long | |
id | long | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
REST_RPC | MOSA | CUBE | PLAY |
SOAP | MOSA | CUBE | PLAY |
As getShipmentsForOrder(orderId) but with specified granularity (see {@link ShipmentDataGranularity}). Allows for returning the ShipmentData without tickets, for use with very large orders.
orderId | long | Mandatory |
shipmentDataGranularity | (SHIPMENT|TICKETS| SHIPMENT_OR_TICKETS) |
REST_RPC | MOSA | CUBE | PLAY |
SOAP | MOSA | CUBE | PLAY |
Set the shipment mode to use for the given order. Return the technical identifier of the underlying shipment
created.
In a shipment mode is already associated with the given order, it will be updated with the new shipment mode and
other given information.
This method can only be used for open orders, if the given order is closed this method will raise an exception.
If there's a shipment fee associated with the given shipment mode, the order amount is compared to the shipping
fee "free from amount" value. If the order amount is under this value, a shipment fee operation will be created
for the order. Any previous shipping fee operation will be replaced by the new operation.
shipmentModeId | long | Mandatory shipment mode to create; mandatory parameter. |
orderId | long | Mandatory order id linked to the shipment to create; mandatory parameter. |
contactNumber | String (20) | number of the contact to associate with the shipment; optional parameter. |
contactAddressId | Long | contact address id to associate with the shipment; optional parameter. |
String | Email of the contact; optional parameter; will create a new Email entry associated to the contact if it does not already exist; if none given, the contact main email adress will be used instead; if this parameter is specified, either a contactId or a contactAddressId must be given! |
REST_RPC | MOSA | CUBE | PLAY |
SOAP | MOSA | CUBE | PLAY |
Set the shipment mode to use for the given ticket. Return the technical identifier of the underlying shipment
created.
If the order of ticket has associated with a SENT shipment, and the shipment's shipment mode is shipmentModeId,
the ticket will attached to this shipment. Otherwise, create new {@link Shipment} has same data with current
shipment
, and set state of this shipment is SENT
.
Currently, the following function only handle the case when want to attach ticket to
PRINT_AT_HOME
{@link ShipmentMode}.
shipmentModeId | long | Mandatory shipment mode to set to ticket. |
ticketsId | List of Long |
ShipmentsIdData | ||
shipmentdIdData | List of ShipmentIdData | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
ShipmentIdData | ||
shipmentId | Integer | |
requestId | Integer | |
statusCode | String (8) | |
statusDetail | String |
REST_RPC | MOSA | CUBE | PLAY |
SOAP | MOSA | CUBE | PLAY |
This function support one order maybe has 2 shipment modes
orderId | long | Mandatory order id linked to the shipment to create; mandatory parameter. |
contactNumber | String (20) | number of the contact to associate with the shipment; optional parameter. |
shipmentRequestData | List of ShipmentRequestData | shipmentRequestData include shipmentModeId, contactAddressid, email and operations |
ShipmentRequestData | ||
contactAddressId | Long | |
String | ||
opearationIds | List of Integer | |
shipmentId | Long | |
shipmentModeId | long |