Web_Services
Cliquez ici pour une liste complète des opérations.
WSI2_CreationExpedition
Test
Le formulaire de test est uniquement disponible pour les demandes de l'ordinateur local.SOAP 1.1
Le texte suivant est un exemple de demande et de réponse SOAP 1.1. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.
POST /Web_Services.asmx HTTP/1.1 Host: api.mondialrelay.fr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.mondialrelay.fr/webservice/WSI2_CreationExpedition" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <WSI2_CreationExpedition xmlns="http://www.mondialrelay.fr/webservice/"> <Enseigne>string</Enseigne> <ModeCol>string</ModeCol> <ModeLiv>string</ModeLiv> <NDossier>string</NDossier> <NClient>string</NClient> <Expe_Langage>string</Expe_Langage> <Expe_Ad1>string</Expe_Ad1> <Expe_Ad2>string</Expe_Ad2> <Expe_Ad3>string</Expe_Ad3> <Expe_Ad4>string</Expe_Ad4> <Expe_Ville>string</Expe_Ville> <Expe_CP>string</Expe_CP> <Expe_Pays>string</Expe_Pays> <Expe_Tel1>string</Expe_Tel1> <Expe_Tel2>string</Expe_Tel2> <Expe_Mail>string</Expe_Mail> <Dest_Langage>string</Dest_Langage> <Dest_Ad1>string</Dest_Ad1> <Dest_Ad2>string</Dest_Ad2> <Dest_Ad3>string</Dest_Ad3> <Dest_Ad4>string</Dest_Ad4> <Dest_Ville>string</Dest_Ville> <Dest_CP>string</Dest_CP> <Dest_Pays>string</Dest_Pays> <Dest_Tel1>string</Dest_Tel1> <Dest_Tel2>string</Dest_Tel2> <Dest_Mail>string</Dest_Mail> <Poids>string</Poids> <Longueur>string</Longueur> <Taille>string</Taille> <NbColis>string</NbColis> <CRT_Valeur>string</CRT_Valeur> <CRT_Devise>string</CRT_Devise> <Exp_Valeur>string</Exp_Valeur> <Exp_Devise>string</Exp_Devise> <COL_Rel_Pays>string</COL_Rel_Pays> <COL_Rel>string</COL_Rel> <LIV_Rel_Pays>string</LIV_Rel_Pays> <LIV_Rel>string</LIV_Rel> <TAvisage>string</TAvisage> <TReprise>string</TReprise> <Montage>string</Montage> <TRDV>string</TRDV> <Assurance>string</Assurance> <Instructions>string</Instructions> <Security>string</Security> </WSI2_CreationExpedition> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <WSI2_CreationExpeditionResponse xmlns="http://www.mondialrelay.fr/webservice/"> <WSI2_CreationExpeditionResult> <ExpeditionNum>string</ExpeditionNum> <TRI_AgenceCode>string</TRI_AgenceCode> <TRI_Groupe>string</TRI_Groupe> <TRI_Navette>string</TRI_Navette> <TRI_Agence>string</TRI_Agence> <TRI_TourneeCode>string</TRI_TourneeCode> <TRI_LivraisonMode>string</TRI_LivraisonMode> <CodesBarres> <string>string</string> <string>string</string> </CodesBarres> </WSI2_CreationExpeditionResult> </WSI2_CreationExpeditionResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Le texte suivant est un exemple de demande et de réponse SOAP 1.2. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.
POST /Web_Services.asmx HTTP/1.1 Host: api.mondialrelay.fr Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <WSI2_CreationExpedition xmlns="http://www.mondialrelay.fr/webservice/"> <Enseigne>string</Enseigne> <ModeCol>string</ModeCol> <ModeLiv>string</ModeLiv> <NDossier>string</NDossier> <NClient>string</NClient> <Expe_Langage>string</Expe_Langage> <Expe_Ad1>string</Expe_Ad1> <Expe_Ad2>string</Expe_Ad2> <Expe_Ad3>string</Expe_Ad3> <Expe_Ad4>string</Expe_Ad4> <Expe_Ville>string</Expe_Ville> <Expe_CP>string</Expe_CP> <Expe_Pays>string</Expe_Pays> <Expe_Tel1>string</Expe_Tel1> <Expe_Tel2>string</Expe_Tel2> <Expe_Mail>string</Expe_Mail> <Dest_Langage>string</Dest_Langage> <Dest_Ad1>string</Dest_Ad1> <Dest_Ad2>string</Dest_Ad2> <Dest_Ad3>string</Dest_Ad3> <Dest_Ad4>string</Dest_Ad4> <Dest_Ville>string</Dest_Ville> <Dest_CP>string</Dest_CP> <Dest_Pays>string</Dest_Pays> <Dest_Tel1>string</Dest_Tel1> <Dest_Tel2>string</Dest_Tel2> <Dest_Mail>string</Dest_Mail> <Poids>string</Poids> <Longueur>string</Longueur> <Taille>string</Taille> <NbColis>string</NbColis> <CRT_Valeur>string</CRT_Valeur> <CRT_Devise>string</CRT_Devise> <Exp_Valeur>string</Exp_Valeur> <Exp_Devise>string</Exp_Devise> <COL_Rel_Pays>string</COL_Rel_Pays> <COL_Rel>string</COL_Rel> <LIV_Rel_Pays>string</LIV_Rel_Pays> <LIV_Rel>string</LIV_Rel> <TAvisage>string</TAvisage> <TReprise>string</TReprise> <Montage>string</Montage> <TRDV>string</TRDV> <Assurance>string</Assurance> <Instructions>string</Instructions> <Security>string</Security> </WSI2_CreationExpedition> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <WSI2_CreationExpeditionResponse xmlns="http://www.mondialrelay.fr/webservice/"> <WSI2_CreationExpeditionResult> <ExpeditionNum>string</ExpeditionNum> <TRI_AgenceCode>string</TRI_AgenceCode> <TRI_Groupe>string</TRI_Groupe> <TRI_Navette>string</TRI_Navette> <TRI_Agence>string</TRI_Agence> <TRI_TourneeCode>string</TRI_TourneeCode> <TRI_LivraisonMode>string</TRI_LivraisonMode> <CodesBarres> <string>string</string> <string>string</string> </CodesBarres> </WSI2_CreationExpeditionResult> </WSI2_CreationExpeditionResponse> </soap12:Body> </soap12:Envelope>