import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AddDocumentQueuedForRegistrationWithDocumentInfo
{
public UUID FileID = null;
public String Description = null;
public String Note = null;
public String UploadOrigin = null;
public Integer AssignToUserID = null;
public Integer AssignToGroupID = null;
public String DocumentInfo = null;
public UUID getFileID() { return FileID; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setFileID(UUID value) { this.FileID = value; return this; }
public String getDescription() { return Description; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setDescription(String value) { this.Description = value; return this; }
public String getNote() { return Note; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setNote(String value) { this.Note = value; return this; }
public String getUploadOrigin() { return UploadOrigin; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setUploadOrigin(String value) { this.UploadOrigin = value; return this; }
public Integer getAssignToUserID() { return AssignToUserID; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setAssignToUserID(Integer value) { this.AssignToUserID = value; return this; }
public Integer getAssignToGroupID() { return AssignToGroupID; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setAssignToGroupID(Integer value) { this.AssignToGroupID = value; return this; }
public String getDocumentInfo() { return DocumentInfo; }
public AddDocumentQueuedForRegistrationWithDocumentInfo setDocumentInfo(String value) { this.DocumentInfo = value; return this; }
}
public static class DocumentQueuedForRegistrationResponse
{
public Integer DocumentQueuedForRegistrationID = null;
public Integer getDocumentQueuedForRegistrationID() { return DocumentQueuedForRegistrationID; }
public DocumentQueuedForRegistrationResponse setDocumentQueuedForRegistrationID(Integer value) { this.DocumentQueuedForRegistrationID = value; return this; }
}
}
Java AddDocumentQueuedForRegistrationWithDocumentInfo 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 /jsv/reply/AddDocumentQueuedForRegistrationWithDocumentInfo HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
FileID: 00000000-0000-0000-0000-000000000000,
Description: String,
Note: String,
UploadOrigin: String,
AssignToUserID: 0,
AssignToGroupID: 0,
DocumentInfo: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { DocumentQueuedForRegistrationID: 0 }