All Verbs | /resend-notification |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class ResendNotificationPublic implements IConvertible
{
String? notificationId;
ResendNotificationPublic({this.notificationId});
ResendNotificationPublic.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
notificationId = json['notificationId'];
return this;
}
Map<String, dynamic> toJson() => {
'notificationId': notificationId
};
getTypeName() => "ResendNotificationPublic";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: <String, TypeInfo> {
'ResendNotificationPublic': TypeInfo(TypeOf.Class, create:() => ResendNotificationPublic()),
});
Dart ResendNotificationPublic DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /resend-notification HTTP/1.1
Host: team.evovoice.io
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"notificationId":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length (string)