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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<CustomerRegistrationSmsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceInterface">
  <Email>String</Email>
  <EmailId>String</EmailId>
  <MobileId>String</MobileId>
  <MobileNumber>String</MobileNumber>
</CustomerRegistrationSmsRequest>