DigiOffice Gateway Web Services

<back to all web services

AddDocumentQueuedForRegistrationWithDocumentInfo

Requires Authentication
import 'package:servicestack/servicestack.dart';

class DocumentQueuedForRegistrationResponse implements IConvertible
{
    int? DocumentQueuedForRegistrationID;

    DocumentQueuedForRegistrationResponse({this.DocumentQueuedForRegistrationID});
    DocumentQueuedForRegistrationResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        DocumentQueuedForRegistrationID = json['DocumentQueuedForRegistrationID'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'DocumentQueuedForRegistrationID': DocumentQueuedForRegistrationID
    };

    getTypeName() => "DocumentQueuedForRegistrationResponse";
    TypeContext? context = _ctx;
}

class AddDocumentQueuedForRegistrationWithDocumentInfo implements IConvertible
{
    String? FileID;
    String? Description;
    String? Note;
    String? UploadOrigin;
    int? AssignToUserID;
    int? AssignToGroupID;
    String? DocumentInfo;

    AddDocumentQueuedForRegistrationWithDocumentInfo({this.FileID,this.Description,this.Note,this.UploadOrigin,this.AssignToUserID,this.AssignToGroupID,this.DocumentInfo});
    AddDocumentQueuedForRegistrationWithDocumentInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        FileID = json['FileID'];
        Description = json['Description'];
        Note = json['Note'];
        UploadOrigin = json['UploadOrigin'];
        AssignToUserID = json['AssignToUserID'];
        AssignToGroupID = json['AssignToGroupID'];
        DocumentInfo = json['DocumentInfo'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'FileID': FileID,
        'Description': Description,
        'Note': Note,
        'UploadOrigin': UploadOrigin,
        'AssignToUserID': AssignToUserID,
        'AssignToGroupID': AssignToGroupID,
        'DocumentInfo': DocumentInfo
    };

    getTypeName() => "AddDocumentQueuedForRegistrationWithDocumentInfo";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: <String, TypeInfo> {
    'DocumentQueuedForRegistrationResponse': TypeInfo(TypeOf.Class, create:() => DocumentQueuedForRegistrationResponse()),
    'AddDocumentQueuedForRegistrationWithDocumentInfo': TypeInfo(TypeOf.Class, create:() => AddDocumentQueuedForRegistrationWithDocumentInfo()),
});

Dart AddDocumentQueuedForRegistrationWithDocumentInfo DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/AddDocumentQueuedForRegistrationWithDocumentInfo HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AddDocumentQueuedForRegistrationWithDocumentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DMS.Operations">
  <AssignToGroupID>0</AssignToGroupID>
  <AssignToUserID>0</AssignToUserID>
  <Description>String</Description>
  <DocumentInfo>String</DocumentInfo>
  <FileID>00000000-0000-0000-0000-000000000000</FileID>
  <Note>String</Note>
  <UploadOrigin>String</UploadOrigin>
</AddDocumentQueuedForRegistrationWithDocumentInfo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DocumentQueuedForRegistrationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DMS.Operations">
  <DocumentQueuedForRegistrationID>0</DocumentQueuedForRegistrationID>
</DocumentQueuedForRegistrationResponse>