| All Verbs | /report/customercommsfinalstatus/{PublicAccessGuid} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
class GetCustomerCommunicationsFinalStatus implements IConvertible
{
// @Required()
String? PublicAccessGuid;
GetCustomerCommunicationsFinalStatus({this.PublicAccessGuid});
GetCustomerCommunicationsFinalStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
PublicAccessGuid = json['PublicAccessGuid'];
return this;
}
Map<String, dynamic> toJson() => {
'PublicAccessGuid': PublicAccessGuid
};
getTypeName() => "GetCustomerCommunicationsFinalStatus";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'GetCustomerCommunicationsFinalStatus': TypeInfo(TypeOf.Class, create:() => GetCustomerCommunicationsFinalStatus()),
});
Dart GetCustomerCommunicationsFinalStatus DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /report/customercommsfinalstatus/{PublicAccessGuid} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
PublicAccessGuid: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
Id: 0,
IdNumber: String,
FirstName: String,
LastName: String,
ContactNumber: String,
Email: String,
CustomerUniqueIdentifier: String,
TenantsId: 0,
CustomField1: String,
CustomField2: String,
CustomField3: String,
CustomField4: String,
EmailStatus: String,
EmailTimestamp: 0001-01-01T00:00:00.0000000+00:00,
SmsStatus: String,
SmsTimestamp: 0001-01-01T00:00:00.0000000+00:00,
ViewCount: 0
}
]