POST orders/{order_id}/send
Envoyer la commande de vente au contact spécifié
Requête
Paramètres URL
Nom | Description | Type | Information Additionnelle | Version d'introduction |
---|---|---|---|---|
order_id | Identifiant de la commande | bigint | Required |
Paramètres Body
OrderSendDataNom | Description | Type | Information Additionnelle | Version d'introduction |
---|---|---|---|---|
contactname | Nom du destinataire | string | Required Length between 0 and 100 | |
Adresse courriel | string | Length between 0 and 100 | ||
faxno | Numéro de fax | string | Length between 0 and 100 | |
subject | Sujet du courriel. Remplacera celui autogénéré par le ERP | string | Length between 0 and 100 | |
supplbody | Note à ajouter au corps du courriel | string | Length between 0 and 100 | |
supplbodytitle | Titre de la note ajoutée au corps du texte | string | Length between 0 and 100 |
Formats de requête
application/json, text/json, application/x-www-form-urlencoded
Sample:
{ "contactname": "sample string 1", "email": "sample string 2", "faxno": "sample string 3", "subject": "sample string 4", "supplbody": "sample string 5", "supplbodytitle": "sample string 6" }
application/xml, text/xml
Sample:
<post> <contactname>sample string 1</contactname> <email>sample string 2</email> <faxno>sample string 3</faxno> <subject>sample string 4</subject> <supplbody>sample string 5</supplbody> <supplbodytitle>sample string 6</supplbodytitle> </post>
Réponse
BaseResultNom | Description | Type | Information Additionnelle | Version d'introduction |
---|---|---|---|---|
returncode | Code de retour: 0 pour succès | integer | ||
returnmsg | Message de retour | string | ||
warnings | Avertissements (l'instruction a fonctionné mais il faut porter attentions aux avertissements. Peut provoquer une perte partielle de donnée (Tronquage)) | Collection of string | ||
version | Version de l'API | string |
Format de retour
application/json, text/json, application/x-www-form-urlencoded
Sample:
{ "returncode": 1, "returnmsg": "sample string 2", "warnings": [ "sample string 1", "sample string 2" ], "version": "sample string 3" }
application/xml, text/xml
Sample:
<result returncode="1" returnmsg="sample string 2" version="sample string 3"> <warnings>sample string 1</warnings> <warnings>sample string 2</warnings> </result>