PUT orders/rollback/{trans_id}
Rollback d'une commande préalablement créée en mode preview
Requête
Paramètres URL
| Nom | Description | Type | Information Additionnelle | Version d'introduction |
|---|---|---|---|---|
| trans_id | identifiant de la transaction à annuler | bigint | Required |
Réponse
BaseResult| Nom | 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>