Professional Documents
Culture Documents
CS APISwaggerforExternalClient 100323 0936
CS APISwaggerforExternalClient 100323 0936
Exaconnect is a webservice that allows third party consumer to automate order placement into Exaprint's fulfiller network. It is a SOAP
webservice available on a production and a staging environment.
Prerequisites
Production : https://connect.exaprint.fr/?wsdl
Staging: https://stg-connect.exaprint.fr/?wsdl
During the integration process, a third party consumer will have to interact with the Exaprint FTP that can be accessed as follow :
Address :
Login: an order id
How to connect
The token obtained by the getToken method must be stored as long as it is valid.
Methods
Request
Type: Complex
Name: ExaConnect_Message_Authentication
Struct:
username (string)
password (string)
Response
KO
Type: Complex
Name: ExaConnect_Message_Error
Struct:
0 : Internal error
-1 : Access denied
-2 : Exceeded quotas
OK
Type: Complex
Name: ExaConnect_Message_Token
Struct:
token (string)
Request
Type: Complex
Name: ExaConnect_Message_OrderCreationRequest
Struct:
reference (string)
productReference (string)
quantity (int)
line1 (string)
zipCode (string)
city (string)
country (string)
Important :
the country name must match to the exact same name stored into the Exaprint database.
the set city name + post code must match to the set stored into the Exaprint database for the following countries : “France Métropolitaine”,
“Italie”, “Espagne”, “Royaume Uni”.
Params isRoundCornerTopLeft, isRoundCornerTopRight, isRoundCornerLowerLeft and isRoundCornerLowerRight match to precise
round corners for numeric products (e.g. cards). You can find all the products which allow rounded corners in the Exaprint's extract product
files (column "CoinsRondsNumeriques").
Param listIdPantones is an array of integer which contains ID Pantones applied for selected product. You can find all ID Pantones availables
for each product in the Exaprint's extract product files.
Param motifNumerique is a integer which represents the start and form of numbering (e.g. 001) for selected product. You can find all the
products which allow numbering in the Exaprint's extract product files (column "Numerotation").
Response
Type: Complex
Name: ExaConnect_Message_OrderCreationResult
Struct:
orderId (int)
ExaConnect_Message_OrderCreation_Fee[]
0 : Internal error
-2 : Missing parameters
Request
Type: Complex
Name: ExaConnect_Message_OrderCreationRequest
Struct:
reference (string)
partnerOrder (string)
line1 (string)
zipCode (string)
city (string)
country (string)
phone (string)
Important, the country name must match to the exact same name stored into the Exaprint database.
Important, the set city name + post code must match to the set stored into the Exaprint database for the following countries : “France
Métropolitaine”, “Italie”, “Espagne”, “Royaume Uni”.
Response
Type: Complex
Name: ExaConnect_Message_OrderCreationFromPartnerOrderResult
Struct:
orderId (int)
id (int | null)
ExaConnect_Message_OrderCreation_Fee[]
0 : Internal error
-2 : Missing parameters
Request
Type: Complex
Name: ExaConnect_Message_CancellationRequest
Struct:
orderId (int)
reason (int)
1 : Erreur fichier
2 : Erreur papier
3 : Erreur quantité
6 : Commande en doublon
8 : Problème règlement
9 : Erreur groupage
Response
Type: Complex
Name: ExaConnect_Message_CancellationResult
Struct:
hasBeenCancelled (bool)
0 : Internal error
-1 : Authentication error
-2 : Missing parameters
Request
Type: Complex
Name: ExaConnect_Message_OrderStatusRequest
Struct:
orders (array<int>)
Response
Type: Complex
Name: ExaConnect_Message_OrderStatusResult
Struct:
statuses (ArrayOfExaConnect_Message_OrderStatus_Status)
shipments (ArrayOfExaConnect_Message_Tracking_Shipment)
0 : Internal error
-1 : Authentication error
-2 : Missing parameters
1 Commande créée
2 En attente du traitement de votre commentaire
10 Contrôles en cours
13 Fichier(s) normalisé(s)
15 En cours de fabrication
16 En cours de finition
17 Commande expédiée
19 En attente de groupage
20 Commande expédiée
21 Commande livrée
23 Annulée
25 A traiter
26 en cours de traitement
27 en attente
38 En cours de groupage
39 En cours de Livraison
41 Fichier(s) transféré(s)
40 Demande traitée
43 En attente - relancé
46 Traitée - Renseignement
Request
Type: Complex
Name: ExaConnect_Message_GetOrderRequest
Struct:
Important : getOrders send back the first 500 orders decreasing order by id. Use the parameter remainingRecords to know if it remains orders.
Increment the parameter page to get the 500 next orders.
Important : if the customer linked at the user logged (by getToken) has many orders, we suggest to add a date filter (one year per example).
Response
Type: Complex
Name: ExaConnect_Message_GetOrderResult
Struct:
orders (ArrayOfExaprint_Services_Commande_Message_CommandeListe_SimpleView)
id (int)
status (int)
customerReference (string)
page (int)
remainingRecords (bool)
0 : Internal error
-1 : Authentication error
-2 : Invalid parameters
Request
Type: Complex
Name: ExaConnect_Message_OrderFileTransfereRequest
Struct:
orders (array<int>)
Response
Type: Complex
Name: ExaConnect_Message_OrderFileTransfereResult
Struct:
0 : Internal error
-1 : Authentication error
-2 : Missing parameters
Request
Type: Complex
Name: ExaConnect_Message_TrackingRequest
Struct:
order (int)
Response
Type: Complex
Name: ExaConnect_Message_TrackingResult
Struct:
shipments (ArrayOfExaConnect_Message_Tracking_Shipment)
-1 : Authentication error
-2 : Missing parameters
Request
Type: Complex
Name: ExaConnect_Message_GetPricesByIdAndQuantityRequest
Struct:
productId (string)
Example: 132257
Response
Type: Complex
Name: ExaConnect_Message_GetPricesByIdResult
Struct:
item(Array of ExaConnect_Message_Product_Price)
quantite (int)
prixRemise (float) => prix revendeur avec remise Exaclub / remise Catalogue / remise Client
delai (int)
delaiSupp (int)
productID (String)
0 : Internal error
-1 : Authentication error
-2 : Invalid parameters
-3 : Invalid quantity
-4 : Invalid product
Request
Type: Complex
Name: ExaConnect_Message_GetPricesByIdAndQuantityRequest
Struct:
productId (string)
Example: 132257
quantity (int)
Example: 50
Response
Type: Complex
Name: ExaConnect_Message_GetPricesByIdResult
Struct:
ProductPrices(Array Of ExaConnect_Message_Product_Price)
quantite (int)
prixRemise (float) => prix revendeur avec remise Exaclub / remise Catalogue / remise Client
delai (int)
delaiSupp (int)
productID (String)
0 : Internal error
-1 : Authentication error
-2 : Invalid parameters
-3 : Invalid quantity
-4 : Invalid product