CL$WS Host : D5239-staging-cl

<back to all web services

cl_payboxdirectRequest

The following routes are available for this service:
POST/cl_payboxdirect
import 'package:servicestack/servicestack.dart';

class cl_payboxdirectRequest implements IConvertible
{
    String? id_operateur;
    String? id_client;
    String? numtrans;
    double? montant;
    String? authorisation;
    String? codereponse;
    String? numappel;
    String? webreponse;

    cl_payboxdirectRequest({this.id_operateur,this.id_client,this.numtrans,this.montant,this.authorisation,this.codereponse,this.numappel,this.webreponse});
    cl_payboxdirectRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id_operateur = json['id_operateur'];
        id_client = json['id_client'];
        numtrans = json['numtrans'];
        montant = JsonConverters.toDouble(json['montant']);
        authorisation = json['authorisation'];
        codereponse = json['codereponse'];
        numappel = json['numappel'];
        webreponse = json['webreponse'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id_operateur': id_operateur,
        'id_client': id_client,
        'numtrans': numtrans,
        'montant': montant,
        'authorisation': authorisation,
        'codereponse': codereponse,
        'numappel': numappel,
        'webreponse': webreponse
    };

    getTypeName() => "cl_payboxdirectRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'freemotion_staging.milliet.paris', types: <String, TypeInfo> {
    'cl_payboxdirectRequest': TypeInfo(TypeOf.Class, create:() => cl_payboxdirectRequest()),
});

Dart cl_payboxdirectRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /cl_payboxdirect HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id_operateur":"String","id_client":"String","numtrans":"String","montant":0,"authorisation":"String","codereponse":"String","numappel":"String","webreponse":"String"}