digitaluapi

<back to all web services

CustomerRegistrationSmsRequest

The following routes are available for this service:
All Verbs/auth/customerregistersmsrequest
POST/customerregistersmsrequest
import 'package:servicestack/servicestack.dart';
import 'dart:collection';

class CustomerRegistrationSmsRequest implements IConvertible
{
    String? Email;
    String? EmailId;
    String? MobileNumber;
    String? MobileId;

    CustomerRegistrationSmsRequest({this.Email,this.EmailId,this.MobileNumber,this.MobileId});
    CustomerRegistrationSmsRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Email = json['Email'];
        EmailId = json['EmailId'];
        MobileNumber = json['MobileNumber'];
        MobileId = json['MobileId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Email': Email,
        'EmailId': EmailId,
        'MobileNumber': MobileNumber,
        'MobileId': MobileId
    };

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

TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
    'CustomerRegistrationSmsRequest': TypeInfo(TypeOf.Class, create:() => CustomerRegistrationSmsRequest()),
});

Dart CustomerRegistrationSmsRequest 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 /auth/customerregistersmsrequest HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Email":"String","EmailId":"String","MobileNumber":"String","MobileId":"String"}