| POST | /PCS/UnsubscribeRecipient |
|---|
import 'package:servicestack/servicestack.dart';
class UnsubscribeRecipient implements IConvertible
{
String? Communication_GUID;
UnsubscribeRecipient({this.Communication_GUID});
UnsubscribeRecipient.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Communication_GUID = json['Communication_GUID'];
return this;
}
Map<String, dynamic> toJson() => {
'Communication_GUID': Communication_GUID
};
getTypeName() => "UnsubscribeRecipient";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'pcs_ws_test.worldpay.com', types: <String, TypeInfo> {
'UnsubscribeRecipient': TypeInfo(TypeOf.Class, create:() => UnsubscribeRecipient()),
});
Dart UnsubscribeRecipient 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 /PCS/UnsubscribeRecipient HTTP/1.1
Host: pcs-ws-test.worldpay.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Communication_GUID":"00000000000000000000000000000000"}