| POST | /api/documentuploads | 
|---|
import 'package:servicestack/servicestack.dart';
class DocumentQueuedForRegistration implements IConvertible
{
    int? DocumentuploadID;
    DocumentQueuedForRegistration({this.DocumentuploadID});
    DocumentQueuedForRegistration.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        DocumentuploadID = json['DocumentuploadID'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'DocumentuploadID': DocumentuploadID
    };
    getTypeName() => "DocumentQueuedForRegistration";
    TypeContext? context = _ctx;
}
class AddFileDocumentQueuedForRegistration implements IConvertible
{
    String? Note;
    String? Description;
    String? UploadOrigin;
    int? AssignToUserID;
    int? AssignToGroupID;
    String? DocumentInfo;
    AddFileDocumentQueuedForRegistration({this.Note,this.Description,this.UploadOrigin,this.AssignToUserID,this.AssignToGroupID,this.DocumentInfo});
    AddFileDocumentQueuedForRegistration.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        Note = json['Note'];
        Description = json['Description'];
        UploadOrigin = json['UploadOrigin'];
        AssignToUserID = json['AssignToUserID'];
        AssignToGroupID = json['AssignToGroupID'];
        DocumentInfo = json['DocumentInfo'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'Note': Note,
        'Description': Description,
        'UploadOrigin': UploadOrigin,
        'AssignToUserID': AssignToUserID,
        'AssignToGroupID': AssignToGroupID,
        'DocumentInfo': DocumentInfo
    };
    getTypeName() => "AddFileDocumentQueuedForRegistration";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: <String, TypeInfo> {
    'DocumentQueuedForRegistration': TypeInfo(TypeOf.Class, create:() => DocumentQueuedForRegistration()),
    'AddFileDocumentQueuedForRegistration': TypeInfo(TypeOf.Class, create:() => AddFileDocumentQueuedForRegistration()),
});
Dart AddFileDocumentQueuedForRegistration DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/documentuploads HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Note":"String","Description":"String","UploadOrigin":"String","AssignToUserID":0,"AssignToGroupID":0,"DocumentInfo":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"DocumentuploadID":0}