GET orders/{order_id}/contact
Retourne les informations du contact pour envoi de la commande
Requête
Paramètres URL
Nom | Description | Type | Information Additionnelle | Version d'introduction |
---|---|---|---|---|
order_id | Identifiant de la commande | bigint | Required |
Réponse
OrderContactResultNom | Description | Type | Information Additionnelle | Version d'introduction |
---|---|---|---|---|
contact | Information du contact de la commande | OrderContact | ||
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:
{ "contact": { "preference": "sample string 1", "contactname": "sample string 2", "email": "sample string 3", "faxno": "sample string 4" }, "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> <contact preference="sample string 1" contactname="sample string 2" email="sample string 3" faxno="sample string 4" /> </result>