| POST | /v1/forms/submissions/{SubmissionUID}/decide |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FormSubmissionDecideRequest
{
public UUID SubmissionUID = null;
public String Outcome = null;
public String Reason = null;
public String Note = null;
public FormCounterSignature Counter = null;
public String From = null;
public UUID getSubmissionUID() { return SubmissionUID; }
public FormSubmissionDecideRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; }
public String getOutcome() { return Outcome; }
public FormSubmissionDecideRequest setOutcome(String value) { this.Outcome = value; return this; }
public String getReason() { return Reason; }
public FormSubmissionDecideRequest setReason(String value) { this.Reason = value; return this; }
public String getNote() { return Note; }
public FormSubmissionDecideRequest setNote(String value) { this.Note = value; return this; }
public FormCounterSignature getCounter() { return Counter; }
public FormSubmissionDecideRequest setCounter(FormCounterSignature value) { this.Counter = value; return this; }
public String getFrom() { return From; }
public FormSubmissionDecideRequest setFrom(String value) { this.From = value; return this; }
}
public static class FormCounterSignature
{
public String Mode = null;
public String Name = null;
public String Png = null;
public String getMode() { return Mode; }
public FormCounterSignature setMode(String value) { this.Mode = value; return this; }
public String getName() { return Name; }
public FormCounterSignature setName(String value) { this.Name = value; return this; }
public String getPng() { return Png; }
public FormCounterSignature setPng(String value) { this.Png = value; return this; }
}
public static class FormSubmissionRequestInfoResponse extends FormSubmissionRecordResponse
{
public ArrayList<FormFillReceiptLine> Sent = new ArrayList<FormFillReceiptLine>();
public ArrayList<FormFillReceiptLine> getSent() { return Sent; }
public FormSubmissionRequestInfoResponse setSent(ArrayList<FormFillReceiptLine> value) { this.Sent = value; return this; }
}
public static class FormSubmissionRecordResponse
{
public FormSubmissionRecord Record = null;
public ResponseStatus ResponseStatus = null;
public FormSubmissionRecord getRecord() { return Record; }
public FormSubmissionRecordResponse setRecord(FormSubmissionRecord value) { this.Record = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FormSubmissionRecordResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class FormSubmissionRecord
{
public UUID SubmissionUID = null;
public UUID FormUID = null;
public String FormName = null;
public String Noun = null;
public String Number = null;
public String ApplicantName = null;
public FormStageInfo Stage = null;
public ArrayList<String> Tags = new ArrayList<String>();
public Integer AssigneeAgentId = null;
public String AssigneeName = null;
public String BranchName = null;
public Date SubmittedAt = null;
public Integer VersionNo = null;
public Integer CurrentVersionNo = null;
public String Email = null;
public String Phone = null;
public String ContactName = null;
public String Meta = null;
public ArrayList<FormStageInfo> Stages = new ArrayList<FormStageInfo>();
public ArrayList<FormStageInfo> Moves = new ArrayList<FormStageInfo>();
public ArrayList<FormPerson> People = new ArrayList<FormPerson>();
public Boolean CanEdit = null;
public Boolean CanSensitive = null;
public ArrayList<FormRecordSection> Sections = new ArrayList<FormRecordSection>();
public ArrayList<FormRecordDoc> Docs = new ArrayList<FormRecordDoc>();
public String DocCount = null;
public ArrayList<FormRecordComputed> Computed = new ArrayList<FormRecordComputed>();
public ArrayList<FormRecordEvent> Timeline = new ArrayList<FormRecordEvent>();
public ArrayList<FormRecordEvent> Notes = new ArrayList<FormRecordEvent>();
public ArrayList<FormRecordEvent> Audit = new ArrayList<FormRecordEvent>();
public Boolean IsTest = null;
public String VersionText = null;
public String TenantName = null;
public String SubmittedIso = null;
public FormRecordRequest OpenRequest = null;
public Boolean CanRequest = null;
public String RequestTip = null;
public FormRecordDecision Decision = null;
public ArrayList<FormRecordEarlierDecision> Earlier = new ArrayList<FormRecordEarlierDecision>();
public Boolean CanDecide = null;
public String DecideTip = null;
public String MoveTip = null;
public Date DueAt = null;
public Boolean Overdue = null;
public String AgeText = null;
public String DueText = null;
public ArrayList<FormRecordSigEntry> Signatures = new ArrayList<FormRecordSigEntry>();
public ArrayList<FormRecordReplaced> Replaced = new ArrayList<FormRecordReplaced>();
public UUID getSubmissionUID() { return SubmissionUID; }
public FormSubmissionRecord setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; }
public UUID getFormUID() { return FormUID; }
public FormSubmissionRecord setFormUID(UUID value) { this.FormUID = value; return this; }
public String getFormName() { return FormName; }
public FormSubmissionRecord setFormName(String value) { this.FormName = value; return this; }
public String getNoun() { return Noun; }
public FormSubmissionRecord setNoun(String value) { this.Noun = value; return this; }
public String getNumber() { return Number; }
public FormSubmissionRecord setNumber(String value) { this.Number = value; return this; }
public String getApplicantName() { return ApplicantName; }
public FormSubmissionRecord setApplicantName(String value) { this.ApplicantName = value; return this; }
public FormStageInfo getStage() { return Stage; }
public FormSubmissionRecord setStage(FormStageInfo value) { this.Stage = value; return this; }
public ArrayList<String> getTags() { return Tags; }
public FormSubmissionRecord setTags(ArrayList<String> value) { this.Tags = value; return this; }
public Integer getAssigneeAgentId() { return AssigneeAgentId; }
public FormSubmissionRecord setAssigneeAgentId(Integer value) { this.AssigneeAgentId = value; return this; }
public String getAssigneeName() { return AssigneeName; }
public FormSubmissionRecord setAssigneeName(String value) { this.AssigneeName = value; return this; }
public String getBranchName() { return BranchName; }
public FormSubmissionRecord setBranchName(String value) { this.BranchName = value; return this; }
public Date getSubmittedAt() { return SubmittedAt; }
public FormSubmissionRecord setSubmittedAt(Date value) { this.SubmittedAt = value; return this; }
public Integer getVersionNo() { return VersionNo; }
public FormSubmissionRecord setVersionNo(Integer value) { this.VersionNo = value; return this; }
public Integer getCurrentVersionNo() { return CurrentVersionNo; }
public FormSubmissionRecord setCurrentVersionNo(Integer value) { this.CurrentVersionNo = value; return this; }
public String getEmail() { return Email; }
public FormSubmissionRecord setEmail(String value) { this.Email = value; return this; }
public String getPhone() { return Phone; }
public FormSubmissionRecord setPhone(String value) { this.Phone = value; return this; }
public String getContactName() { return ContactName; }
public FormSubmissionRecord setContactName(String value) { this.ContactName = value; return this; }
public String getMeta() { return Meta; }
public FormSubmissionRecord setMeta(String value) { this.Meta = value; return this; }
public ArrayList<FormStageInfo> getStages() { return Stages; }
public FormSubmissionRecord setStages(ArrayList<FormStageInfo> value) { this.Stages = value; return this; }
public ArrayList<FormStageInfo> getMoves() { return Moves; }
public FormSubmissionRecord setMoves(ArrayList<FormStageInfo> value) { this.Moves = value; return this; }
public ArrayList<FormPerson> getPeople() { return People; }
public FormSubmissionRecord setPeople(ArrayList<FormPerson> value) { this.People = value; return this; }
public Boolean isCanEdit() { return CanEdit; }
public FormSubmissionRecord setCanEdit(Boolean value) { this.CanEdit = value; return this; }
public Boolean isCanSensitive() { return CanSensitive; }
public FormSubmissionRecord setCanSensitive(Boolean value) { this.CanSensitive = value; return this; }
public ArrayList<FormRecordSection> getSections() { return Sections; }
public FormSubmissionRecord setSections(ArrayList<FormRecordSection> value) { this.Sections = value; return this; }
public ArrayList<FormRecordDoc> getDocs() { return Docs; }
public FormSubmissionRecord setDocs(ArrayList<FormRecordDoc> value) { this.Docs = value; return this; }
public String getDocCount() { return DocCount; }
public FormSubmissionRecord setDocCount(String value) { this.DocCount = value; return this; }
public ArrayList<FormRecordComputed> getComputed() { return Computed; }
public FormSubmissionRecord setComputed(ArrayList<FormRecordComputed> value) { this.Computed = value; return this; }
public ArrayList<FormRecordEvent> getTimeline() { return Timeline; }
public FormSubmissionRecord setTimeline(ArrayList<FormRecordEvent> value) { this.Timeline = value; return this; }
public ArrayList<FormRecordEvent> getNotes() { return Notes; }
public FormSubmissionRecord setNotes(ArrayList<FormRecordEvent> value) { this.Notes = value; return this; }
public ArrayList<FormRecordEvent> getAudit() { return Audit; }
public FormSubmissionRecord setAudit(ArrayList<FormRecordEvent> value) { this.Audit = value; return this; }
public Boolean getIsTest() { return IsTest; }
public FormSubmissionRecord setIsTest(Boolean value) { this.IsTest = value; return this; }
public String getVersionText() { return VersionText; }
public FormSubmissionRecord setVersionText(String value) { this.VersionText = value; return this; }
public String getTenantName() { return TenantName; }
public FormSubmissionRecord setTenantName(String value) { this.TenantName = value; return this; }
public String getSubmittedIso() { return SubmittedIso; }
public FormSubmissionRecord setSubmittedIso(String value) { this.SubmittedIso = value; return this; }
public FormRecordRequest getOpenRequest() { return OpenRequest; }
public FormSubmissionRecord setOpenRequest(FormRecordRequest value) { this.OpenRequest = value; return this; }
public Boolean isCanRequest() { return CanRequest; }
public FormSubmissionRecord setCanRequest(Boolean value) { this.CanRequest = value; return this; }
public String getRequestTip() { return RequestTip; }
public FormSubmissionRecord setRequestTip(String value) { this.RequestTip = value; return this; }
public FormRecordDecision getDecision() { return Decision; }
public FormSubmissionRecord setDecision(FormRecordDecision value) { this.Decision = value; return this; }
public ArrayList<FormRecordEarlierDecision> getEarlier() { return Earlier; }
public FormSubmissionRecord setEarlier(ArrayList<FormRecordEarlierDecision> value) { this.Earlier = value; return this; }
public Boolean isCanDecide() { return CanDecide; }
public FormSubmissionRecord setCanDecide(Boolean value) { this.CanDecide = value; return this; }
public String getDecideTip() { return DecideTip; }
public FormSubmissionRecord setDecideTip(String value) { this.DecideTip = value; return this; }
public String getMoveTip() { return MoveTip; }
public FormSubmissionRecord setMoveTip(String value) { this.MoveTip = value; return this; }
public Date getDueAt() { return DueAt; }
public FormSubmissionRecord setDueAt(Date value) { this.DueAt = value; return this; }
public Boolean isOverdue() { return Overdue; }
public FormSubmissionRecord setOverdue(Boolean value) { this.Overdue = value; return this; }
public String getAgeText() { return AgeText; }
public FormSubmissionRecord setAgeText(String value) { this.AgeText = value; return this; }
public String getDueText() { return DueText; }
public FormSubmissionRecord setDueText(String value) { this.DueText = value; return this; }
public ArrayList<FormRecordSigEntry> getSignatures() { return Signatures; }
public FormSubmissionRecord setSignatures(ArrayList<FormRecordSigEntry> value) { this.Signatures = value; return this; }
public ArrayList<FormRecordReplaced> getReplaced() { return Replaced; }
public FormSubmissionRecord setReplaced(ArrayList<FormRecordReplaced> value) { this.Replaced = value; return this; }
}
public static class FormStageInfo
{
public String Id = null;
public String Label = null;
public String Tone = null;
public String Kind = null;
public String getId() { return Id; }
public FormStageInfo setId(String value) { this.Id = value; return this; }
public String getLabel() { return Label; }
public FormStageInfo setLabel(String value) { this.Label = value; return this; }
public String getTone() { return Tone; }
public FormStageInfo setTone(String value) { this.Tone = value; return this; }
public String getKind() { return Kind; }
public FormStageInfo setKind(String value) { this.Kind = value; return this; }
}
public static class FormPerson
{
public Integer AgentId = null;
public String AgentName = null;
public Integer getAgentId() { return AgentId; }
public FormPerson setAgentId(Integer value) { this.AgentId = value; return this; }
public String getAgentName() { return AgentName; }
public FormPerson setAgentName(String value) { this.AgentName = value; return this; }
}
public static class FormRecordSection
{
public String Title = null;
public ArrayList<FormRecordRow> Rows = new ArrayList<FormRecordRow>();
public String getTitle() { return Title; }
public FormRecordSection setTitle(String value) { this.Title = value; return this; }
public ArrayList<FormRecordRow> getRows() { return Rows; }
public FormRecordSection setRows(ArrayList<FormRecordRow> value) { this.Rows = value; return this; }
}
public static class FormRecordRow
{
public String K = null;
public String L = null;
public String T = null;
public String Kind = null;
public String V = null;
public Boolean Sensitive = null;
public Boolean CanReveal = null;
public Boolean Locked = null;
public ArrayList<FormRecordFile> Files = new ArrayList<FormRecordFile>();
public Boolean NoFiles = null;
public FormRecordSig Sig = null;
public Boolean Asked = null;
public Boolean Changed = null;
public String Prev = null;
public String getK() { return K; }
public FormRecordRow setK(String value) { this.K = value; return this; }
public String getL() { return L; }
public FormRecordRow setL(String value) { this.L = value; return this; }
public String getT() { return T; }
public FormRecordRow setT(String value) { this.T = value; return this; }
public String getKind() { return Kind; }
public FormRecordRow setKind(String value) { this.Kind = value; return this; }
public String getV() { return V; }
public FormRecordRow setV(String value) { this.V = value; return this; }
public Boolean isSensitive() { return Sensitive; }
public FormRecordRow setSensitive(Boolean value) { this.Sensitive = value; return this; }
public Boolean isCanReveal() { return CanReveal; }
public FormRecordRow setCanReveal(Boolean value) { this.CanReveal = value; return this; }
public Boolean isLocked() { return Locked; }
public FormRecordRow setLocked(Boolean value) { this.Locked = value; return this; }
public ArrayList<FormRecordFile> getFiles() { return Files; }
public FormRecordRow setFiles(ArrayList<FormRecordFile> value) { this.Files = value; return this; }
public Boolean isNoFiles() { return NoFiles; }
public FormRecordRow setNoFiles(Boolean value) { this.NoFiles = value; return this; }
public FormRecordSig getSig() { return Sig; }
public FormRecordRow setSig(FormRecordSig value) { this.Sig = value; return this; }
public Boolean isAsked() { return Asked; }
public FormRecordRow setAsked(Boolean value) { this.Asked = value; return this; }
public Boolean isChanged() { return Changed; }
public FormRecordRow setChanged(Boolean value) { this.Changed = value; return this; }
public String getPrev() { return Prev; }
public FormRecordRow setPrev(String value) { this.Prev = value; return this; }
}
public static class FormRecordFile
{
public UUID AttachmentId = null;
public String Name = null;
public String Kind = null;
public String Size = null;
public Boolean Sensitive = null;
public Boolean Locked = null;
public UUID getAttachmentId() { return AttachmentId; }
public FormRecordFile setAttachmentId(UUID value) { this.AttachmentId = value; return this; }
public String getName() { return Name; }
public FormRecordFile setName(String value) { this.Name = value; return this; }
public String getKind() { return Kind; }
public FormRecordFile setKind(String value) { this.Kind = value; return this; }
public String getSize() { return Size; }
public FormRecordFile setSize(String value) { this.Size = value; return this; }
public Boolean isSensitive() { return Sensitive; }
public FormRecordFile setSensitive(Boolean value) { this.Sensitive = value; return this; }
public Boolean isLocked() { return Locked; }
public FormRecordFile setLocked(Boolean value) { this.Locked = value; return this; }
}
public static class FormRecordSig
{
public Boolean Pending = null;
public String Mode = null;
public String SignerName = null;
public String Role = null;
public Integer RecordId = null;
public String ImageHash = null;
public String DocumentDigest = null;
public String Ip = null;
public String Browser = null;
public Boolean ConsentStored = null;
public String SignedText = null;
public Boolean HasImage = null;
public Boolean isPending() { return Pending; }
public FormRecordSig setPending(Boolean value) { this.Pending = value; return this; }
public String getMode() { return Mode; }
public FormRecordSig setMode(String value) { this.Mode = value; return this; }
public String getSignerName() { return SignerName; }
public FormRecordSig setSignerName(String value) { this.SignerName = value; return this; }
public String getRole() { return Role; }
public FormRecordSig setRole(String value) { this.Role = value; return this; }
public Integer getRecordId() { return RecordId; }
public FormRecordSig setRecordId(Integer value) { this.RecordId = value; return this; }
public String getImageHash() { return ImageHash; }
public FormRecordSig setImageHash(String value) { this.ImageHash = value; return this; }
public String getDocumentDigest() { return DocumentDigest; }
public FormRecordSig setDocumentDigest(String value) { this.DocumentDigest = value; return this; }
public String getIp() { return Ip; }
public FormRecordSig setIp(String value) { this.Ip = value; return this; }
public String getBrowser() { return Browser; }
public FormRecordSig setBrowser(String value) { this.Browser = value; return this; }
public Boolean isConsentStored() { return ConsentStored; }
public FormRecordSig setConsentStored(Boolean value) { this.ConsentStored = value; return this; }
public String getSignedText() { return SignedText; }
public FormRecordSig setSignedText(String value) { this.SignedText = value; return this; }
public Boolean isHasImage() { return HasImage; }
public FormRecordSig setHasImage(Boolean value) { this.HasImage = value; return this; }
}
public static class FormRecordDoc
{
public String Name = null;
public Boolean Ok = null;
public String Tag = null;
public String Tone = null;
public String getName() { return Name; }
public FormRecordDoc setName(String value) { this.Name = value; return this; }
public Boolean isOk() { return Ok; }
public FormRecordDoc setOk(Boolean value) { this.Ok = value; return this; }
public String getTag() { return Tag; }
public FormRecordDoc setTag(String value) { this.Tag = value; return this; }
public String getTone() { return Tone; }
public FormRecordDoc setTone(String value) { this.Tone = value; return this; }
}
public static class FormRecordComputed
{
public String L = null;
public String V = null;
public String getL() { return L; }
public FormRecordComputed setL(String value) { this.L = value; return this; }
public String getV() { return V; }
public FormRecordComputed setV(String value) { this.V = value; return this; }
}
public static class FormRecordEvent
{
public String Who = null;
public String X = null;
public String T = null;
public Date At = null;
public String Dot = null;
public String getWho() { return Who; }
public FormRecordEvent setWho(String value) { this.Who = value; return this; }
public String getX() { return X; }
public FormRecordEvent setX(String value) { this.X = value; return this; }
public String getT() { return T; }
public FormRecordEvent setT(String value) { this.T = value; return this; }
public Date getAt() { return At; }
public FormRecordEvent setAt(Date value) { this.At = value; return this; }
public String getDot() { return Dot; }
public FormRecordEvent setDot(String value) { this.Dot = value; return this; }
}
public static class FormRecordRequest
{
public UUID RequestUID = null;
public ArrayList<String> Keys = new ArrayList<String>();
public ArrayList<String> Resign = new ArrayList<String>();
public String Note = null;
public String By = null;
public String At = null;
public UUID getRequestUID() { return RequestUID; }
public FormRecordRequest setRequestUID(UUID value) { this.RequestUID = value; return this; }
public ArrayList<String> getKeys() { return Keys; }
public FormRecordRequest setKeys(ArrayList<String> value) { this.Keys = value; return this; }
public ArrayList<String> getResign() { return Resign; }
public FormRecordRequest setResign(ArrayList<String> value) { this.Resign = value; return this; }
public String getNote() { return Note; }
public FormRecordRequest setNote(String value) { this.Note = value; return this; }
public String getBy() { return By; }
public FormRecordRequest setBy(String value) { this.By = value; return this; }
public String getAt() { return At; }
public FormRecordRequest setAt(String value) { this.At = value; return this; }
}
public static class FormRecordDecision
{
public String Outcome = null;
public String Tone = null;
public String Reason = null;
public String Note = null;
public String Text = null;
public Boolean HasCounter = null;
public Boolean Typed = null;
public Boolean Drawn = null;
public String SigName = null;
public String SigMeta = null;
public String getOutcome() { return Outcome; }
public FormRecordDecision setOutcome(String value) { this.Outcome = value; return this; }
public String getTone() { return Tone; }
public FormRecordDecision setTone(String value) { this.Tone = value; return this; }
public String getReason() { return Reason; }
public FormRecordDecision setReason(String value) { this.Reason = value; return this; }
public String getNote() { return Note; }
public FormRecordDecision setNote(String value) { this.Note = value; return this; }
public String getText() { return Text; }
public FormRecordDecision setText(String value) { this.Text = value; return this; }
public Boolean isHasCounter() { return HasCounter; }
public FormRecordDecision setHasCounter(Boolean value) { this.HasCounter = value; return this; }
public Boolean isTyped() { return Typed; }
public FormRecordDecision setTyped(Boolean value) { this.Typed = value; return this; }
public Boolean isDrawn() { return Drawn; }
public FormRecordDecision setDrawn(Boolean value) { this.Drawn = value; return this; }
public String getSigName() { return SigName; }
public FormRecordDecision setSigName(String value) { this.SigName = value; return this; }
public String getSigMeta() { return SigMeta; }
public FormRecordDecision setSigMeta(String value) { this.SigMeta = value; return this; }
}
public static class FormRecordEarlierDecision
{
public String Outcome = null;
public String Tone = null;
public String Reason = null;
public String Note = null;
public String Text = null;
public String Counter = null;
public String Reopened = null;
public String getOutcome() { return Outcome; }
public FormRecordEarlierDecision setOutcome(String value) { this.Outcome = value; return this; }
public String getTone() { return Tone; }
public FormRecordEarlierDecision setTone(String value) { this.Tone = value; return this; }
public String getReason() { return Reason; }
public FormRecordEarlierDecision setReason(String value) { this.Reason = value; return this; }
public String getNote() { return Note; }
public FormRecordEarlierDecision setNote(String value) { this.Note = value; return this; }
public String getText() { return Text; }
public FormRecordEarlierDecision setText(String value) { this.Text = value; return this; }
public String getCounter() { return Counter; }
public FormRecordEarlierDecision setCounter(String value) { this.Counter = value; return this; }
public String getReopened() { return Reopened; }
public FormRecordEarlierDecision setReopened(String value) { this.Reopened = value; return this; }
}
public static class FormRecordSigEntry
{
public Integer RecordId = null;
public String Key = null;
public String Label = null;
public String Role = null;
public String SignerName = null;
public String Mode = null;
public Boolean HasImage = null;
public Boolean ConsentStored = null;
public Boolean Replaced = null;
public Boolean Counter = null;
public Boolean Reopened = null;
public String Meta = null;
public Integer getRecordId() { return RecordId; }
public FormRecordSigEntry setRecordId(Integer value) { this.RecordId = value; return this; }
public String getKey() { return Key; }
public FormRecordSigEntry setKey(String value) { this.Key = value; return this; }
public String getLabel() { return Label; }
public FormRecordSigEntry setLabel(String value) { this.Label = value; return this; }
public String getRole() { return Role; }
public FormRecordSigEntry setRole(String value) { this.Role = value; return this; }
public String getSignerName() { return SignerName; }
public FormRecordSigEntry setSignerName(String value) { this.SignerName = value; return this; }
public String getMode() { return Mode; }
public FormRecordSigEntry setMode(String value) { this.Mode = value; return this; }
public Boolean isHasImage() { return HasImage; }
public FormRecordSigEntry setHasImage(Boolean value) { this.HasImage = value; return this; }
public Boolean isConsentStored() { return ConsentStored; }
public FormRecordSigEntry setConsentStored(Boolean value) { this.ConsentStored = value; return this; }
public Boolean isReplaced() { return Replaced; }
public FormRecordSigEntry setReplaced(Boolean value) { this.Replaced = value; return this; }
public Boolean isCounter() { return Counter; }
public FormRecordSigEntry setCounter(Boolean value) { this.Counter = value; return this; }
public Boolean isReopened() { return Reopened; }
public FormRecordSigEntry setReopened(Boolean value) { this.Reopened = value; return this; }
public String getMeta() { return Meta; }
public FormRecordSigEntry setMeta(String value) { this.Meta = value; return this; }
}
public static class FormRecordReplaced
{
public UUID RequestUID = null;
public String AskedBy = null;
public String AskedAt = null;
public String AnsweredAt = null;
public String Covering = null;
public ArrayList<FormRecordReplacedRow> Rows = new ArrayList<FormRecordReplacedRow>();
public UUID getRequestUID() { return RequestUID; }
public FormRecordReplaced setRequestUID(UUID value) { this.RequestUID = value; return this; }
public String getAskedBy() { return AskedBy; }
public FormRecordReplaced setAskedBy(String value) { this.AskedBy = value; return this; }
public String getAskedAt() { return AskedAt; }
public FormRecordReplaced setAskedAt(String value) { this.AskedAt = value; return this; }
public String getAnsweredAt() { return AnsweredAt; }
public FormRecordReplaced setAnsweredAt(String value) { this.AnsweredAt = value; return this; }
public String getCovering() { return Covering; }
public FormRecordReplaced setCovering(String value) { this.Covering = value; return this; }
public ArrayList<FormRecordReplacedRow> getRows() { return Rows; }
public FormRecordReplaced setRows(ArrayList<FormRecordReplacedRow> value) { this.Rows = value; return this; }
}
public static class FormRecordReplacedRow
{
public String K = null;
public String L = null;
public String Kind = null;
public String V = null;
public Boolean Sensitive = null;
public Boolean CanReveal = null;
public Boolean Locked = null;
public ArrayList<FormRecordFile> Files = new ArrayList<FormRecordFile>();
public String getK() { return K; }
public FormRecordReplacedRow setK(String value) { this.K = value; return this; }
public String getL() { return L; }
public FormRecordReplacedRow setL(String value) { this.L = value; return this; }
public String getKind() { return Kind; }
public FormRecordReplacedRow setKind(String value) { this.Kind = value; return this; }
public String getV() { return V; }
public FormRecordReplacedRow setV(String value) { this.V = value; return this; }
public Boolean isSensitive() { return Sensitive; }
public FormRecordReplacedRow setSensitive(Boolean value) { this.Sensitive = value; return this; }
public Boolean isCanReveal() { return CanReveal; }
public FormRecordReplacedRow setCanReveal(Boolean value) { this.CanReveal = value; return this; }
public Boolean isLocked() { return Locked; }
public FormRecordReplacedRow setLocked(Boolean value) { this.Locked = value; return this; }
public ArrayList<FormRecordFile> getFiles() { return Files; }
public FormRecordReplacedRow setFiles(ArrayList<FormRecordFile> value) { this.Files = value; return this; }
}
public static class FormFillReceiptLine
{
public String Channel = null;
public String To = null;
public String Outcome = null;
public String getChannel() { return Channel; }
public FormFillReceiptLine setChannel(String value) { this.Channel = value; return this; }
public String getTo() { return To; }
public FormFillReceiptLine setTo(String value) { this.To = value; return this; }
public String getOutcome() { return Outcome; }
public FormFillReceiptLine setOutcome(String value) { this.Outcome = value; return this; }
}
}
Java FormSubmissionDecideRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/submissions/{SubmissionUID}/decide HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FormSubmissionDecideRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Counter>
<Mode>String</Mode>
<Name>String</Name>
<Png>String</Png>
</Counter>
<From>String</From>
<Note>String</Note>
<Outcome>String</Outcome>
<Reason>String</Reason>
<SubmissionUID>00000000-0000-0000-0000-000000000000</SubmissionUID>
</FormSubmissionDecideRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FormSubmissionRequestInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Record>
<AgeText>String</AgeText>
<ApplicantName>String</ApplicantName>
<AssigneeAgentId>0</AssigneeAgentId>
<AssigneeName>String</AssigneeName>
<Audit>
<FormRecordEvent>
<At>0001-01-01T00:00:00</At>
<Dot>String</Dot>
<T>String</T>
<Who>String</Who>
<X>String</X>
</FormRecordEvent>
</Audit>
<BranchName>String</BranchName>
<CanDecide>false</CanDecide>
<CanEdit>false</CanEdit>
<CanRequest>false</CanRequest>
<CanSensitive>false</CanSensitive>
<Computed>
<FormRecordComputed>
<L>String</L>
<V>String</V>
</FormRecordComputed>
</Computed>
<ContactName>String</ContactName>
<CurrentVersionNo>0</CurrentVersionNo>
<DecideTip>String</DecideTip>
<Decision>
<Drawn>false</Drawn>
<HasCounter>false</HasCounter>
<Note>String</Note>
<Outcome>String</Outcome>
<Reason>String</Reason>
<SigMeta>String</SigMeta>
<SigName>String</SigName>
<Text>String</Text>
<Tone>String</Tone>
<Typed>false</Typed>
</Decision>
<DocCount>String</DocCount>
<Docs>
<FormRecordDoc>
<Name>String</Name>
<Ok>false</Ok>
<Tag>String</Tag>
<Tone>String</Tone>
</FormRecordDoc>
</Docs>
<DueAt>0001-01-01T00:00:00</DueAt>
<DueText>String</DueText>
<Earlier>
<FormRecordEarlierDecision>
<Counter>String</Counter>
<Note>String</Note>
<Outcome>String</Outcome>
<Reason>String</Reason>
<Reopened>String</Reopened>
<Text>String</Text>
<Tone>String</Tone>
</FormRecordEarlierDecision>
</Earlier>
<Email>String</Email>
<FormName>String</FormName>
<FormUID>00000000-0000-0000-0000-000000000000</FormUID>
<IsTest>false</IsTest>
<Meta>String</Meta>
<MoveTip>String</MoveTip>
<Moves>
<FormStageInfo>
<Id>String</Id>
<Kind>String</Kind>
<Label>String</Label>
<Tone>String</Tone>
</FormStageInfo>
</Moves>
<Notes>
<FormRecordEvent>
<At>0001-01-01T00:00:00</At>
<Dot>String</Dot>
<T>String</T>
<Who>String</Who>
<X>String</X>
</FormRecordEvent>
</Notes>
<Noun>String</Noun>
<Number>String</Number>
<OpenRequest>
<At>String</At>
<By>String</By>
<Keys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</Keys>
<Note>String</Note>
<RequestUID>00000000-0000-0000-0000-000000000000</RequestUID>
<Resign xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</Resign>
</OpenRequest>
<Overdue>false</Overdue>
<People>
<FormPerson>
<AgentId>0</AgentId>
<AgentName>String</AgentName>
</FormPerson>
</People>
<Phone>String</Phone>
<Replaced>
<FormRecordReplaced>
<AnsweredAt>String</AnsweredAt>
<AskedAt>String</AskedAt>
<AskedBy>String</AskedBy>
<Covering>String</Covering>
<RequestUID>00000000-0000-0000-0000-000000000000</RequestUID>
<Rows>
<FormRecordReplacedRow>
<CanReveal>false</CanReveal>
<Files>
<FormRecordFile>
<AttachmentId>00000000-0000-0000-0000-000000000000</AttachmentId>
<Kind>String</Kind>
<Locked>false</Locked>
<Name>String</Name>
<Sensitive>false</Sensitive>
<Size>String</Size>
</FormRecordFile>
</Files>
<K>String</K>
<Kind>String</Kind>
<L>String</L>
<Locked>false</Locked>
<Sensitive>false</Sensitive>
<V>String</V>
</FormRecordReplacedRow>
</Rows>
</FormRecordReplaced>
</Replaced>
<RequestTip>String</RequestTip>
<Sections>
<FormRecordSection>
<Rows>
<FormRecordRow>
<Asked>false</Asked>
<CanReveal>false</CanReveal>
<Changed>false</Changed>
<Files>
<FormRecordFile>
<AttachmentId>00000000-0000-0000-0000-000000000000</AttachmentId>
<Kind>String</Kind>
<Locked>false</Locked>
<Name>String</Name>
<Sensitive>false</Sensitive>
<Size>String</Size>
</FormRecordFile>
</Files>
<K>String</K>
<Kind>String</Kind>
<L>String</L>
<Locked>false</Locked>
<NoFiles>false</NoFiles>
<Prev>String</Prev>
<Sensitive>false</Sensitive>
<Sig>
<Browser>String</Browser>
<ConsentStored>false</ConsentStored>
<DocumentDigest>String</DocumentDigest>
<HasImage>false</HasImage>
<ImageHash>String</ImageHash>
<Ip>String</Ip>
<Mode>String</Mode>
<Pending>false</Pending>
<RecordId>0</RecordId>
<Role>String</Role>
<SignedText>String</SignedText>
<SignerName>String</SignerName>
</Sig>
<T>String</T>
<V>String</V>
</FormRecordRow>
</Rows>
<Title>String</Title>
</FormRecordSection>
</Sections>
<Signatures>
<FormRecordSigEntry>
<ConsentStored>false</ConsentStored>
<Counter>false</Counter>
<HasImage>false</HasImage>
<Key>String</Key>
<Label>String</Label>
<Meta>String</Meta>
<Mode>String</Mode>
<RecordId>0</RecordId>
<Reopened>false</Reopened>
<Replaced>false</Replaced>
<Role>String</Role>
<SignerName>String</SignerName>
</FormRecordSigEntry>
</Signatures>
<Stage>
<Id>String</Id>
<Kind>String</Kind>
<Label>String</Label>
<Tone>String</Tone>
</Stage>
<Stages>
<FormStageInfo>
<Id>String</Id>
<Kind>String</Kind>
<Label>String</Label>
<Tone>String</Tone>
</FormStageInfo>
</Stages>
<SubmissionUID>00000000-0000-0000-0000-000000000000</SubmissionUID>
<SubmittedAt>0001-01-01T00:00:00</SubmittedAt>
<SubmittedIso>String</SubmittedIso>
<Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</Tags>
<TenantName>String</TenantName>
<Timeline>
<FormRecordEvent>
<At>0001-01-01T00:00:00</At>
<Dot>String</Dot>
<T>String</T>
<Who>String</Who>
<X>String</X>
</FormRecordEvent>
</Timeline>
<VersionNo>0</VersionNo>
<VersionText>String</VersionText>
</Record>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<Sent>
<FormFillReceiptLine>
<Channel>String</Channel>
<Outcome>String</Outcome>
<To>String</To>
</FormFillReceiptLine>
</Sent>
</FormSubmissionRequestInfoResponse>