POST | /api/documents/{DocumentID}/UpdatePlaceSignatureInDocument |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class UpdatePlaceSignatureInDocument implements IConvertible
{
String? DocumentID;
List<String>? DocFields;
UpdatePlaceSignatureInDocument({this.DocumentID,this.DocFields});
UpdatePlaceSignatureInDocument.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DocumentID = json['DocumentID'];
DocFields = JsonConverters.fromJson(json['DocFields'],'List<String>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'DocumentID': DocumentID,
'DocFields': JsonConverters.toJson(DocFields,'List<String>',context!)
};
getTypeName() => "UpdatePlaceSignatureInDocument";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: <String, TypeInfo> {
'UpdatePlaceSignatureInDocument': TypeInfo(TypeOf.Class, create:() => UpdatePlaceSignatureInDocument()),
});
Dart UpdatePlaceSignatureInDocument 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 /api/documents/{DocumentID}/UpdatePlaceSignatureInDocument HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
DocFields:
[
00000000-0000-0000-0000-000000000000
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False