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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<ValidSignNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigiOffice.Integration.ValidSign.DTO">
<CreatedDate>String</CreatedDate>
<DocumentId>String</DocumentId>
<Key>String</Key>
<Message>String</Message>
<Name>String</Name>
<PackageId>String</PackageId>
<SessionUser>String</SessionUser>
</ValidSignNotification>