POST | /api/validsign/notifications |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class ValidSignNotification implements IConvertible
{
String? Key;
String? Name;
String? SessionUser;
String? PackageId;
String? Message;
String? DocumentId;
String? CreatedDate;
ValidSignNotification({this.Key,this.Name,this.SessionUser,this.PackageId,this.Message,this.DocumentId,this.CreatedDate});
ValidSignNotification.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Key = json['Key'];
Name = json['Name'];
SessionUser = json['SessionUser'];
PackageId = json['PackageId'];
Message = json['Message'];
DocumentId = json['DocumentId'];
CreatedDate = json['CreatedDate'];
return this;
}
Map<String, dynamic> toJson() => {
'Key': Key,
'Name': Name,
'SessionUser': SessionUser,
'PackageId': PackageId,
'Message': Message,
'DocumentId': DocumentId,
'CreatedDate': CreatedDate
};
getTypeName() => "ValidSignNotification";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: <String, TypeInfo> {
'ValidSignNotification': TypeInfo(TypeOf.Class, create:() => ValidSignNotification()),
});
Dart ValidSignNotification 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 /api/validsign/notifications HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Key":"String","Name":"String","SessionUser":"String","PackageId":"String","Message":"String","DocumentId":"String","CreatedDate":"String"}