| POST | /v1/forms/submissions/{SubmissionUID}/fee/paid |
|---|
import 'package:servicestack/servicestack.dart';
class FormStageInfo implements IConvertible
{
String? Id;
String? Label;
String? Tone;
String? Kind;
FormStageInfo({this.Id,this.Label,this.Tone,this.Kind});
FormStageInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Id = json['Id'];
Label = json['Label'];
Tone = json['Tone'];
Kind = json['Kind'];
return this;
}
Map<String, dynamic> toJson() => {
'Id': Id,
'Label': Label,
'Tone': Tone,
'Kind': Kind
};
getTypeName() => "FormStageInfo";
TypeContext? context = _ctx;
}
class FormRecordLink implements IConvertible
{
String? RecordType;
int? RecordId;
String? How;
String? RuleName;
int? WorkflowId;
DateTime? LinkedAt;
String? Name;
bool? Exists;
String? Text;
String? Link;
String? ContactGuid;
int? ContactAgentId;
FormRecordLink({this.RecordType,this.RecordId,this.How,this.RuleName,this.WorkflowId,this.LinkedAt,this.Name,this.Exists,this.Text,this.Link,this.ContactGuid,this.ContactAgentId});
FormRecordLink.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
RecordType = json['RecordType'];
RecordId = json['RecordId'];
How = json['How'];
RuleName = json['RuleName'];
WorkflowId = json['WorkflowId'];
LinkedAt = JsonConverters.fromJson(json['LinkedAt'],'DateTime',context!);
Name = json['Name'];
Exists = json['Exists'];
Text = json['Text'];
Link = json['Link'];
ContactGuid = json['ContactGuid'];
ContactAgentId = json['ContactAgentId'];
return this;
}
Map<String, dynamic> toJson() => {
'RecordType': RecordType,
'RecordId': RecordId,
'How': How,
'RuleName': RuleName,
'WorkflowId': WorkflowId,
'LinkedAt': JsonConverters.toJson(LinkedAt,'DateTime',context!),
'Name': Name,
'Exists': Exists,
'Text': Text,
'Link': Link,
'ContactGuid': ContactGuid,
'ContactAgentId': ContactAgentId
};
getTypeName() => "FormRecordLink";
TypeContext? context = _ctx;
}
class FormRecordDifferenceView implements IConvertible
{
int? DifferenceId;
String? RecordType;
int? RecordId;
String? MapKey;
String? Label;
String? Office;
String? App;
String? Status;
String? RuleName;
String? SettledText;
bool? CanUse;
FormRecordDifferenceView({this.DifferenceId,this.RecordType,this.RecordId,this.MapKey,this.Label,this.Office,this.App,this.Status,this.RuleName,this.SettledText,this.CanUse});
FormRecordDifferenceView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DifferenceId = json['DifferenceId'];
RecordType = json['RecordType'];
RecordId = json['RecordId'];
MapKey = json['MapKey'];
Label = json['Label'];
Office = json['Office'];
App = json['App'];
Status = json['Status'];
RuleName = json['RuleName'];
SettledText = json['SettledText'];
CanUse = json['CanUse'];
return this;
}
Map<String, dynamic> toJson() => {
'DifferenceId': DifferenceId,
'RecordType': RecordType,
'RecordId': RecordId,
'MapKey': MapKey,
'Label': Label,
'Office': Office,
'App': App,
'Status': Status,
'RuleName': RuleName,
'SettledText': SettledText,
'CanUse': CanUse
};
getTypeName() => "FormRecordDifferenceView";
TypeContext? context = _ctx;
}
class FormPerson implements IConvertible
{
int? AgentId;
String? AgentName;
FormPerson({this.AgentId,this.AgentName});
FormPerson.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
AgentId = json['AgentId'];
AgentName = json['AgentName'];
return this;
}
Map<String, dynamic> toJson() => {
'AgentId': AgentId,
'AgentName': AgentName
};
getTypeName() => "FormPerson";
TypeContext? context = _ctx;
}
class FormRecordFile implements IConvertible
{
String? AttachmentId;
String? Name;
String? Kind;
String? Size;
bool? Sensitive;
bool? Locked;
FormRecordFile({this.AttachmentId,this.Name,this.Kind,this.Size,this.Sensitive,this.Locked});
FormRecordFile.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
AttachmentId = json['AttachmentId'];
Name = json['Name'];
Kind = json['Kind'];
Size = json['Size'];
Sensitive = json['Sensitive'];
Locked = json['Locked'];
return this;
}
Map<String, dynamic> toJson() => {
'AttachmentId': AttachmentId,
'Name': Name,
'Kind': Kind,
'Size': Size,
'Sensitive': Sensitive,
'Locked': Locked
};
getTypeName() => "FormRecordFile";
TypeContext? context = _ctx;
}
class FormRecordSig implements IConvertible
{
bool? Pending;
String? Mode;
String? SignerName;
String? Role;
int? RecordId;
String? ImageHash;
String? DocumentDigest;
String? Ip;
String? Browser;
bool? ConsentStored;
String? SignedText;
bool? HasImage;
FormRecordSig({this.Pending,this.Mode,this.SignerName,this.Role,this.RecordId,this.ImageHash,this.DocumentDigest,this.Ip,this.Browser,this.ConsentStored,this.SignedText,this.HasImage});
FormRecordSig.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Pending = json['Pending'];
Mode = json['Mode'];
SignerName = json['SignerName'];
Role = json['Role'];
RecordId = json['RecordId'];
ImageHash = json['ImageHash'];
DocumentDigest = json['DocumentDigest'];
Ip = json['Ip'];
Browser = json['Browser'];
ConsentStored = json['ConsentStored'];
SignedText = json['SignedText'];
HasImage = json['HasImage'];
return this;
}
Map<String, dynamic> toJson() => {
'Pending': Pending,
'Mode': Mode,
'SignerName': SignerName,
'Role': Role,
'RecordId': RecordId,
'ImageHash': ImageHash,
'DocumentDigest': DocumentDigest,
'Ip': Ip,
'Browser': Browser,
'ConsentStored': ConsentStored,
'SignedText': SignedText,
'HasImage': HasImage
};
getTypeName() => "FormRecordSig";
TypeContext? context = _ctx;
}
class FormRecordRow implements IConvertible
{
String? K;
String? L;
String? T;
String? Kind;
String? V;
bool? Sensitive;
bool? CanReveal;
bool? Locked;
List<FormRecordFile>? Files = [];
bool? NoFiles;
FormRecordSig? Sig;
bool? Asked;
bool? Changed;
String? Prev;
FormRecordRow({this.K,this.L,this.T,this.Kind,this.V,this.Sensitive,this.CanReveal,this.Locked,this.Files,this.NoFiles,this.Sig,this.Asked,this.Changed,this.Prev});
FormRecordRow.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
K = json['K'];
L = json['L'];
T = json['T'];
Kind = json['Kind'];
V = json['V'];
Sensitive = json['Sensitive'];
CanReveal = json['CanReveal'];
Locked = json['Locked'];
Files = JsonConverters.fromJson(json['Files'],'List<FormRecordFile>',context!);
NoFiles = json['NoFiles'];
Sig = JsonConverters.fromJson(json['Sig'],'FormRecordSig',context!);
Asked = json['Asked'];
Changed = json['Changed'];
Prev = json['Prev'];
return this;
}
Map<String, dynamic> toJson() => {
'K': K,
'L': L,
'T': T,
'Kind': Kind,
'V': V,
'Sensitive': Sensitive,
'CanReveal': CanReveal,
'Locked': Locked,
'Files': JsonConverters.toJson(Files,'List<FormRecordFile>',context!),
'NoFiles': NoFiles,
'Sig': JsonConverters.toJson(Sig,'FormRecordSig',context!),
'Asked': Asked,
'Changed': Changed,
'Prev': Prev
};
getTypeName() => "FormRecordRow";
TypeContext? context = _ctx;
}
class FormRecordSection implements IConvertible
{
String? Title;
List<FormRecordRow>? Rows = [];
FormRecordSection({this.Title,this.Rows});
FormRecordSection.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Title = json['Title'];
Rows = JsonConverters.fromJson(json['Rows'],'List<FormRecordRow>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Title': Title,
'Rows': JsonConverters.toJson(Rows,'List<FormRecordRow>',context!)
};
getTypeName() => "FormRecordSection";
TypeContext? context = _ctx;
}
class FormRecordDoc implements IConvertible
{
String? Name;
bool? Ok;
String? Tag;
String? Tone;
FormRecordDoc({this.Name,this.Ok,this.Tag,this.Tone});
FormRecordDoc.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Name = json['Name'];
Ok = json['Ok'];
Tag = json['Tag'];
Tone = json['Tone'];
return this;
}
Map<String, dynamic> toJson() => {
'Name': Name,
'Ok': Ok,
'Tag': Tag,
'Tone': Tone
};
getTypeName() => "FormRecordDoc";
TypeContext? context = _ctx;
}
class FormRecordComputed implements IConvertible
{
String? L;
String? V;
FormRecordComputed({this.L,this.V});
FormRecordComputed.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
L = json['L'];
V = json['V'];
return this;
}
Map<String, dynamic> toJson() => {
'L': L,
'V': V
};
getTypeName() => "FormRecordComputed";
TypeContext? context = _ctx;
}
class FormRecordEvent implements IConvertible
{
String? Who;
String? X;
String? T;
DateTime? At;
String? Dot;
FormRecordEvent({this.Who,this.X,this.T,this.At,this.Dot});
FormRecordEvent.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Who = json['Who'];
X = json['X'];
T = json['T'];
At = JsonConverters.fromJson(json['At'],'DateTime',context!);
Dot = json['Dot'];
return this;
}
Map<String, dynamic> toJson() => {
'Who': Who,
'X': X,
'T': T,
'At': JsonConverters.toJson(At,'DateTime',context!),
'Dot': Dot
};
getTypeName() => "FormRecordEvent";
TypeContext? context = _ctx;
}
class FormRecordRequest implements IConvertible
{
String? RequestUID;
List<String>? Keys = [];
List<String>? Resign = [];
String? Note;
String? By;
String? At;
FormRecordRequest({this.RequestUID,this.Keys,this.Resign,this.Note,this.By,this.At});
FormRecordRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
RequestUID = json['RequestUID'];
Keys = JsonConverters.fromJson(json['Keys'],'List<String>',context!);
Resign = JsonConverters.fromJson(json['Resign'],'List<String>',context!);
Note = json['Note'];
By = json['By'];
At = json['At'];
return this;
}
Map<String, dynamic> toJson() => {
'RequestUID': RequestUID,
'Keys': JsonConverters.toJson(Keys,'List<String>',context!),
'Resign': JsonConverters.toJson(Resign,'List<String>',context!),
'Note': Note,
'By': By,
'At': At
};
getTypeName() => "FormRecordRequest";
TypeContext? context = _ctx;
}
class FormRecordWaitField implements IConvertible
{
String? K;
String? L;
String? Consent;
FormRecordWaitField({this.K,this.L,this.Consent});
FormRecordWaitField.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
K = json['K'];
L = json['L'];
Consent = json['Consent'];
return this;
}
Map<String, dynamic> toJson() => {
'K': K,
'L': L,
'Consent': Consent
};
getTypeName() => "FormRecordWaitField";
TypeContext? context = _ctx;
}
class FormRecordWait implements IConvertible
{
String? Text;
bool? CanResend;
String? ResendText;
bool? CanSign;
String? Staff;
List<FormRecordWaitField>? Fields = [];
FormRecordWait({this.Text,this.CanResend,this.ResendText,this.CanSign,this.Staff,this.Fields});
FormRecordWait.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Text = json['Text'];
CanResend = json['CanResend'];
ResendText = json['ResendText'];
CanSign = json['CanSign'];
Staff = json['Staff'];
Fields = JsonConverters.fromJson(json['Fields'],'List<FormRecordWaitField>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Text': Text,
'CanResend': CanResend,
'ResendText': ResendText,
'CanSign': CanSign,
'Staff': Staff,
'Fields': JsonConverters.toJson(Fields,'List<FormRecordWaitField>',context!)
};
getTypeName() => "FormRecordWait";
TypeContext? context = _ctx;
}
class FormRecordChangeEntry implements IConvertible
{
int? UpdateNo;
String? Who;
String? T;
List<String>? Lines = [];
FormRecordChangeEntry({this.UpdateNo,this.Who,this.T,this.Lines});
FormRecordChangeEntry.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
UpdateNo = json['UpdateNo'];
Who = json['Who'];
T = json['T'];
Lines = JsonConverters.fromJson(json['Lines'],'List<String>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'UpdateNo': UpdateNo,
'Who': Who,
'T': T,
'Lines': JsonConverters.toJson(Lines,'List<String>',context!)
};
getTypeName() => "FormRecordChangeEntry";
TypeContext? context = _ctx;
}
class FormRecordDecision implements IConvertible
{
String? Outcome;
String? Tone;
String? Reason;
String? Note;
String? Text;
bool? HasCounter;
bool? Typed;
bool? Drawn;
String? SigName;
String? SigMeta;
FormRecordDecision({this.Outcome,this.Tone,this.Reason,this.Note,this.Text,this.HasCounter,this.Typed,this.Drawn,this.SigName,this.SigMeta});
FormRecordDecision.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Outcome = json['Outcome'];
Tone = json['Tone'];
Reason = json['Reason'];
Note = json['Note'];
Text = json['Text'];
HasCounter = json['HasCounter'];
Typed = json['Typed'];
Drawn = json['Drawn'];
SigName = json['SigName'];
SigMeta = json['SigMeta'];
return this;
}
Map<String, dynamic> toJson() => {
'Outcome': Outcome,
'Tone': Tone,
'Reason': Reason,
'Note': Note,
'Text': Text,
'HasCounter': HasCounter,
'Typed': Typed,
'Drawn': Drawn,
'SigName': SigName,
'SigMeta': SigMeta
};
getTypeName() => "FormRecordDecision";
TypeContext? context = _ctx;
}
class FormRecordEarlierDecision implements IConvertible
{
String? Outcome;
String? Tone;
String? Reason;
String? Note;
String? Text;
String? Counter;
String? Reopened;
FormRecordEarlierDecision({this.Outcome,this.Tone,this.Reason,this.Note,this.Text,this.Counter,this.Reopened});
FormRecordEarlierDecision.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Outcome = json['Outcome'];
Tone = json['Tone'];
Reason = json['Reason'];
Note = json['Note'];
Text = json['Text'];
Counter = json['Counter'];
Reopened = json['Reopened'];
return this;
}
Map<String, dynamic> toJson() => {
'Outcome': Outcome,
'Tone': Tone,
'Reason': Reason,
'Note': Note,
'Text': Text,
'Counter': Counter,
'Reopened': Reopened
};
getTypeName() => "FormRecordEarlierDecision";
TypeContext? context = _ctx;
}
class FormRecordSigEntry implements IConvertible
{
int? RecordId;
String? Key;
String? Label;
String? Role;
String? SignerName;
String? Mode;
bool? HasImage;
bool? ConsentStored;
bool? Replaced;
bool? Counter;
bool? Reopened;
String? Meta;
FormRecordSigEntry({this.RecordId,this.Key,this.Label,this.Role,this.SignerName,this.Mode,this.HasImage,this.ConsentStored,this.Replaced,this.Counter,this.Reopened,this.Meta});
FormRecordSigEntry.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
RecordId = json['RecordId'];
Key = json['Key'];
Label = json['Label'];
Role = json['Role'];
SignerName = json['SignerName'];
Mode = json['Mode'];
HasImage = json['HasImage'];
ConsentStored = json['ConsentStored'];
Replaced = json['Replaced'];
Counter = json['Counter'];
Reopened = json['Reopened'];
Meta = json['Meta'];
return this;
}
Map<String, dynamic> toJson() => {
'RecordId': RecordId,
'Key': Key,
'Label': Label,
'Role': Role,
'SignerName': SignerName,
'Mode': Mode,
'HasImage': HasImage,
'ConsentStored': ConsentStored,
'Replaced': Replaced,
'Counter': Counter,
'Reopened': Reopened,
'Meta': Meta
};
getTypeName() => "FormRecordSigEntry";
TypeContext? context = _ctx;
}
class FormRecordReplacedRow implements IConvertible
{
String? K;
String? L;
String? Kind;
String? V;
bool? Sensitive;
bool? CanReveal;
bool? Locked;
List<FormRecordFile>? Files = [];
FormRecordReplacedRow({this.K,this.L,this.Kind,this.V,this.Sensitive,this.CanReveal,this.Locked,this.Files});
FormRecordReplacedRow.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
K = json['K'];
L = json['L'];
Kind = json['Kind'];
V = json['V'];
Sensitive = json['Sensitive'];
CanReveal = json['CanReveal'];
Locked = json['Locked'];
Files = JsonConverters.fromJson(json['Files'],'List<FormRecordFile>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'K': K,
'L': L,
'Kind': Kind,
'V': V,
'Sensitive': Sensitive,
'CanReveal': CanReveal,
'Locked': Locked,
'Files': JsonConverters.toJson(Files,'List<FormRecordFile>',context!)
};
getTypeName() => "FormRecordReplacedRow";
TypeContext? context = _ctx;
}
class FormRecordReplaced implements IConvertible
{
String? RequestUID;
String? AskedBy;
String? AskedAt;
String? AnsweredAt;
String? Covering;
List<FormRecordReplacedRow>? Rows = [];
FormRecordReplaced({this.RequestUID,this.AskedBy,this.AskedAt,this.AnsweredAt,this.Covering,this.Rows});
FormRecordReplaced.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
RequestUID = json['RequestUID'];
AskedBy = json['AskedBy'];
AskedAt = json['AskedAt'];
AnsweredAt = json['AnsweredAt'];
Covering = json['Covering'];
Rows = JsonConverters.fromJson(json['Rows'],'List<FormRecordReplacedRow>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'RequestUID': RequestUID,
'AskedBy': AskedBy,
'AskedAt': AskedAt,
'AnsweredAt': AnsweredAt,
'Covering': Covering,
'Rows': JsonConverters.toJson(Rows,'List<FormRecordReplacedRow>',context!)
};
getTypeName() => "FormRecordReplaced";
TypeContext? context = _ctx;
}
class FormRecordOther implements IConvertible
{
int? Count;
String? SubmissionUID;
String? Number;
String? Channel;
String? Day;
String? Lead;
String? Tail;
FormRecordOther({this.Count,this.SubmissionUID,this.Number,this.Channel,this.Day,this.Lead,this.Tail});
FormRecordOther.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Count = json['Count'];
SubmissionUID = json['SubmissionUID'];
Number = json['Number'];
Channel = json['Channel'];
Day = json['Day'];
Lead = json['Lead'];
Tail = json['Tail'];
return this;
}
Map<String, dynamic> toJson() => {
'Count': Count,
'SubmissionUID': SubmissionUID,
'Number': Number,
'Channel': Channel,
'Day': Day,
'Lead': Lead,
'Tail': Tail
};
getTypeName() => "FormRecordOther";
TypeContext? context = _ctx;
}
class FormRecordFee implements IConvertible
{
double? Amount;
String? AmountText;
String? State;
String? StateLabel;
String? Tone;
String? InvoiceNumber;
String? InvoiceUID;
String? Detail;
DateTime? PaidAt;
String? PaidHow;
String? ChangedBy;
DateTime? ChangedAt;
bool? HandsBack;
String? LateNote;
List<String>? Acts = [];
FormRecordFee({this.Amount,this.AmountText,this.State,this.StateLabel,this.Tone,this.InvoiceNumber,this.InvoiceUID,this.Detail,this.PaidAt,this.PaidHow,this.ChangedBy,this.ChangedAt,this.HandsBack,this.LateNote,this.Acts});
FormRecordFee.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Amount = JsonConverters.toDouble(json['Amount']);
AmountText = json['AmountText'];
State = json['State'];
StateLabel = json['StateLabel'];
Tone = json['Tone'];
InvoiceNumber = json['InvoiceNumber'];
InvoiceUID = json['InvoiceUID'];
Detail = json['Detail'];
PaidAt = JsonConverters.fromJson(json['PaidAt'],'DateTime',context!);
PaidHow = json['PaidHow'];
ChangedBy = json['ChangedBy'];
ChangedAt = JsonConverters.fromJson(json['ChangedAt'],'DateTime',context!);
HandsBack = json['HandsBack'];
LateNote = json['LateNote'];
Acts = JsonConverters.fromJson(json['Acts'],'List<String>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Amount': Amount,
'AmountText': AmountText,
'State': State,
'StateLabel': StateLabel,
'Tone': Tone,
'InvoiceNumber': InvoiceNumber,
'InvoiceUID': InvoiceUID,
'Detail': Detail,
'PaidAt': JsonConverters.toJson(PaidAt,'DateTime',context!),
'PaidHow': PaidHow,
'ChangedBy': ChangedBy,
'ChangedAt': JsonConverters.toJson(ChangedAt,'DateTime',context!),
'HandsBack': HandsBack,
'LateNote': LateNote,
'Acts': JsonConverters.toJson(Acts,'List<String>',context!)
};
getTypeName() => "FormRecordFee";
TypeContext? context = _ctx;
}
class FormSubmissionRecord implements IConvertible
{
String? SubmissionUID;
String? FormUID;
String? FormName;
String? Noun;
String? Number;
String? ApplicantName;
FormStageInfo? Stage;
List<String>? Tags = [];
int? AssigneeAgentId;
String? AssigneeName;
String? BranchName;
DateTime? SubmittedAt;
int? VersionNo;
int? CurrentVersionNo;
String? Email;
String? Phone;
String? ContactName;
List<FormRecordLink>? Records = [];
List<FormRecordDifferenceView>? Differences = [];
bool? CanSettle;
String? Meta;
List<FormStageInfo>? Stages = [];
List<FormStageInfo>? Moves = [];
List<FormPerson>? People = [];
bool? CanEdit;
bool? CanSensitive;
List<FormRecordSection>? Sections = [];
List<FormRecordDoc>? Docs = [];
String? DocCount;
List<FormRecordComputed>? Computed = [];
List<FormRecordEvent>? Timeline = [];
List<FormRecordEvent>? Notes = [];
List<FormRecordEvent>? Audit = [];
bool? IsTest;
String? VersionText;
String? TenantName;
String? SubmittedIso;
FormRecordRequest? OpenRequest;
FormRecordWait? Wait;
bool? CanRequest;
bool? IsRecord;
bool? CanUpdate;
String? UpdateTip;
List<FormRecordChangeEntry>? Changes = [];
String? RequestTip;
FormRecordDecision? Decision;
List<FormRecordEarlierDecision>? Earlier = [];
bool? CanDecide;
String? DecideTip;
String? MoveTip;
DateTime? DueAt;
bool? Overdue;
String? AgeText;
String? DueText;
List<FormRecordSigEntry>? Signatures = [];
List<FormRecordReplaced>? Replaced = [];
FormRecordOther? Other;
FormRecordFee? Fee;
FormSubmissionRecord({this.SubmissionUID,this.FormUID,this.FormName,this.Noun,this.Number,this.ApplicantName,this.Stage,this.Tags,this.AssigneeAgentId,this.AssigneeName,this.BranchName,this.SubmittedAt,this.VersionNo,this.CurrentVersionNo,this.Email,this.Phone,this.ContactName,this.Records,this.Differences,this.CanSettle,this.Meta,this.Stages,this.Moves,this.People,this.CanEdit,this.CanSensitive,this.Sections,this.Docs,this.DocCount,this.Computed,this.Timeline,this.Notes,this.Audit,this.IsTest,this.VersionText,this.TenantName,this.SubmittedIso,this.OpenRequest,this.Wait,this.CanRequest,this.IsRecord,this.CanUpdate,this.UpdateTip,this.Changes,this.RequestTip,this.Decision,this.Earlier,this.CanDecide,this.DecideTip,this.MoveTip,this.DueAt,this.Overdue,this.AgeText,this.DueText,this.Signatures,this.Replaced,this.Other,this.Fee});
FormSubmissionRecord.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SubmissionUID = json['SubmissionUID'];
FormUID = json['FormUID'];
FormName = json['FormName'];
Noun = json['Noun'];
Number = json['Number'];
ApplicantName = json['ApplicantName'];
Stage = JsonConverters.fromJson(json['Stage'],'FormStageInfo',context!);
Tags = JsonConverters.fromJson(json['Tags'],'List<String>',context!);
AssigneeAgentId = json['AssigneeAgentId'];
AssigneeName = json['AssigneeName'];
BranchName = json['BranchName'];
SubmittedAt = JsonConverters.fromJson(json['SubmittedAt'],'DateTime',context!);
VersionNo = json['VersionNo'];
CurrentVersionNo = json['CurrentVersionNo'];
Email = json['Email'];
Phone = json['Phone'];
ContactName = json['ContactName'];
Records = JsonConverters.fromJson(json['Records'],'List<FormRecordLink>',context!);
Differences = JsonConverters.fromJson(json['Differences'],'List<FormRecordDifferenceView>',context!);
CanSettle = json['CanSettle'];
Meta = json['Meta'];
Stages = JsonConverters.fromJson(json['Stages'],'List<FormStageInfo>',context!);
Moves = JsonConverters.fromJson(json['Moves'],'List<FormStageInfo>',context!);
People = JsonConverters.fromJson(json['People'],'List<FormPerson>',context!);
CanEdit = json['CanEdit'];
CanSensitive = json['CanSensitive'];
Sections = JsonConverters.fromJson(json['Sections'],'List<FormRecordSection>',context!);
Docs = JsonConverters.fromJson(json['Docs'],'List<FormRecordDoc>',context!);
DocCount = json['DocCount'];
Computed = JsonConverters.fromJson(json['Computed'],'List<FormRecordComputed>',context!);
Timeline = JsonConverters.fromJson(json['Timeline'],'List<FormRecordEvent>',context!);
Notes = JsonConverters.fromJson(json['Notes'],'List<FormRecordEvent>',context!);
Audit = JsonConverters.fromJson(json['Audit'],'List<FormRecordEvent>',context!);
IsTest = json['IsTest'];
VersionText = json['VersionText'];
TenantName = json['TenantName'];
SubmittedIso = json['SubmittedIso'];
OpenRequest = JsonConverters.fromJson(json['OpenRequest'],'FormRecordRequest',context!);
Wait = JsonConverters.fromJson(json['Wait'],'FormRecordWait',context!);
CanRequest = json['CanRequest'];
IsRecord = json['IsRecord'];
CanUpdate = json['CanUpdate'];
UpdateTip = json['UpdateTip'];
Changes = JsonConverters.fromJson(json['Changes'],'List<FormRecordChangeEntry>',context!);
RequestTip = json['RequestTip'];
Decision = JsonConverters.fromJson(json['Decision'],'FormRecordDecision',context!);
Earlier = JsonConverters.fromJson(json['Earlier'],'List<FormRecordEarlierDecision>',context!);
CanDecide = json['CanDecide'];
DecideTip = json['DecideTip'];
MoveTip = json['MoveTip'];
DueAt = JsonConverters.fromJson(json['DueAt'],'DateTime',context!);
Overdue = json['Overdue'];
AgeText = json['AgeText'];
DueText = json['DueText'];
Signatures = JsonConverters.fromJson(json['Signatures'],'List<FormRecordSigEntry>',context!);
Replaced = JsonConverters.fromJson(json['Replaced'],'List<FormRecordReplaced>',context!);
Other = JsonConverters.fromJson(json['Other'],'FormRecordOther',context!);
Fee = JsonConverters.fromJson(json['Fee'],'FormRecordFee',context!);
return this;
}
Map<String, dynamic> toJson() => {
'SubmissionUID': SubmissionUID,
'FormUID': FormUID,
'FormName': FormName,
'Noun': Noun,
'Number': Number,
'ApplicantName': ApplicantName,
'Stage': JsonConverters.toJson(Stage,'FormStageInfo',context!),
'Tags': JsonConverters.toJson(Tags,'List<String>',context!),
'AssigneeAgentId': AssigneeAgentId,
'AssigneeName': AssigneeName,
'BranchName': BranchName,
'SubmittedAt': JsonConverters.toJson(SubmittedAt,'DateTime',context!),
'VersionNo': VersionNo,
'CurrentVersionNo': CurrentVersionNo,
'Email': Email,
'Phone': Phone,
'ContactName': ContactName,
'Records': JsonConverters.toJson(Records,'List<FormRecordLink>',context!),
'Differences': JsonConverters.toJson(Differences,'List<FormRecordDifferenceView>',context!),
'CanSettle': CanSettle,
'Meta': Meta,
'Stages': JsonConverters.toJson(Stages,'List<FormStageInfo>',context!),
'Moves': JsonConverters.toJson(Moves,'List<FormStageInfo>',context!),
'People': JsonConverters.toJson(People,'List<FormPerson>',context!),
'CanEdit': CanEdit,
'CanSensitive': CanSensitive,
'Sections': JsonConverters.toJson(Sections,'List<FormRecordSection>',context!),
'Docs': JsonConverters.toJson(Docs,'List<FormRecordDoc>',context!),
'DocCount': DocCount,
'Computed': JsonConverters.toJson(Computed,'List<FormRecordComputed>',context!),
'Timeline': JsonConverters.toJson(Timeline,'List<FormRecordEvent>',context!),
'Notes': JsonConverters.toJson(Notes,'List<FormRecordEvent>',context!),
'Audit': JsonConverters.toJson(Audit,'List<FormRecordEvent>',context!),
'IsTest': IsTest,
'VersionText': VersionText,
'TenantName': TenantName,
'SubmittedIso': SubmittedIso,
'OpenRequest': JsonConverters.toJson(OpenRequest,'FormRecordRequest',context!),
'Wait': JsonConverters.toJson(Wait,'FormRecordWait',context!),
'CanRequest': CanRequest,
'IsRecord': IsRecord,
'CanUpdate': CanUpdate,
'UpdateTip': UpdateTip,
'Changes': JsonConverters.toJson(Changes,'List<FormRecordChangeEntry>',context!),
'RequestTip': RequestTip,
'Decision': JsonConverters.toJson(Decision,'FormRecordDecision',context!),
'Earlier': JsonConverters.toJson(Earlier,'List<FormRecordEarlierDecision>',context!),
'CanDecide': CanDecide,
'DecideTip': DecideTip,
'MoveTip': MoveTip,
'DueAt': JsonConverters.toJson(DueAt,'DateTime',context!),
'Overdue': Overdue,
'AgeText': AgeText,
'DueText': DueText,
'Signatures': JsonConverters.toJson(Signatures,'List<FormRecordSigEntry>',context!),
'Replaced': JsonConverters.toJson(Replaced,'List<FormRecordReplaced>',context!),
'Other': JsonConverters.toJson(Other,'FormRecordOther',context!),
'Fee': JsonConverters.toJson(Fee,'FormRecordFee',context!)
};
getTypeName() => "FormSubmissionRecord";
TypeContext? context = _ctx;
}
class FormFillReceiptLine implements IConvertible
{
String? Channel;
String? To;
String? Outcome;
FormFillReceiptLine({this.Channel,this.To,this.Outcome});
FormFillReceiptLine.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Channel = json['Channel'];
To = json['To'];
Outcome = json['Outcome'];
return this;
}
Map<String, dynamic> toJson() => {
'Channel': Channel,
'To': To,
'Outcome': Outcome
};
getTypeName() => "FormFillReceiptLine";
TypeContext? context = _ctx;
}
class FormFeeActionResponse implements IConvertible
{
FormSubmissionRecord? Record;
bool? HandsBack;
List<FormFillReceiptLine>? Sent = [];
ResponseStatus? ResponseStatus;
FormFeeActionResponse({this.Record,this.HandsBack,this.Sent,this.ResponseStatus});
FormFeeActionResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Record = JsonConverters.fromJson(json['Record'],'FormSubmissionRecord',context!);
HandsBack = json['HandsBack'];
Sent = JsonConverters.fromJson(json['Sent'],'List<FormFillReceiptLine>',context!);
ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Record': JsonConverters.toJson(Record,'FormSubmissionRecord',context!),
'HandsBack': HandsBack,
'Sent': JsonConverters.toJson(Sent,'List<FormFillReceiptLine>',context!),
'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!)
};
getTypeName() => "FormFeeActionResponse";
TypeContext? context = _ctx;
}
class FormFeePaidRequest implements IConvertible
{
String? SubmissionUID;
String? Method;
String? Reference;
FormFeePaidRequest({this.SubmissionUID,this.Method,this.Reference});
FormFeePaidRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SubmissionUID = json['SubmissionUID'];
Method = json['Method'];
Reference = json['Reference'];
return this;
}
Map<String, dynamic> toJson() => {
'SubmissionUID': SubmissionUID,
'Method': Method,
'Reference': Reference
};
getTypeName() => "FormFeePaidRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'FormStageInfo': TypeInfo(TypeOf.Class, create:() => FormStageInfo()),
'FormRecordLink': TypeInfo(TypeOf.Class, create:() => FormRecordLink()),
'FormRecordDifferenceView': TypeInfo(TypeOf.Class, create:() => FormRecordDifferenceView()),
'FormPerson': TypeInfo(TypeOf.Class, create:() => FormPerson()),
'FormRecordFile': TypeInfo(TypeOf.Class, create:() => FormRecordFile()),
'FormRecordSig': TypeInfo(TypeOf.Class, create:() => FormRecordSig()),
'FormRecordRow': TypeInfo(TypeOf.Class, create:() => FormRecordRow()),
'List<FormRecordFile>': TypeInfo(TypeOf.Class, create:() => <FormRecordFile>[]),
'FormRecordSection': TypeInfo(TypeOf.Class, create:() => FormRecordSection()),
'List<FormRecordRow>': TypeInfo(TypeOf.Class, create:() => <FormRecordRow>[]),
'FormRecordDoc': TypeInfo(TypeOf.Class, create:() => FormRecordDoc()),
'FormRecordComputed': TypeInfo(TypeOf.Class, create:() => FormRecordComputed()),
'FormRecordEvent': TypeInfo(TypeOf.Class, create:() => FormRecordEvent()),
'FormRecordRequest': TypeInfo(TypeOf.Class, create:() => FormRecordRequest()),
'FormRecordWaitField': TypeInfo(TypeOf.Class, create:() => FormRecordWaitField()),
'FormRecordWait': TypeInfo(TypeOf.Class, create:() => FormRecordWait()),
'List<FormRecordWaitField>': TypeInfo(TypeOf.Class, create:() => <FormRecordWaitField>[]),
'FormRecordChangeEntry': TypeInfo(TypeOf.Class, create:() => FormRecordChangeEntry()),
'FormRecordDecision': TypeInfo(TypeOf.Class, create:() => FormRecordDecision()),
'FormRecordEarlierDecision': TypeInfo(TypeOf.Class, create:() => FormRecordEarlierDecision()),
'FormRecordSigEntry': TypeInfo(TypeOf.Class, create:() => FormRecordSigEntry()),
'FormRecordReplacedRow': TypeInfo(TypeOf.Class, create:() => FormRecordReplacedRow()),
'FormRecordReplaced': TypeInfo(TypeOf.Class, create:() => FormRecordReplaced()),
'List<FormRecordReplacedRow>': TypeInfo(TypeOf.Class, create:() => <FormRecordReplacedRow>[]),
'FormRecordOther': TypeInfo(TypeOf.Class, create:() => FormRecordOther()),
'FormRecordFee': TypeInfo(TypeOf.Class, create:() => FormRecordFee()),
'FormSubmissionRecord': TypeInfo(TypeOf.Class, create:() => FormSubmissionRecord()),
'List<FormRecordLink>': TypeInfo(TypeOf.Class, create:() => <FormRecordLink>[]),
'List<FormRecordDifferenceView>': TypeInfo(TypeOf.Class, create:() => <FormRecordDifferenceView>[]),
'List<FormStageInfo>': TypeInfo(TypeOf.Class, create:() => <FormStageInfo>[]),
'List<FormPerson>': TypeInfo(TypeOf.Class, create:() => <FormPerson>[]),
'List<FormRecordSection>': TypeInfo(TypeOf.Class, create:() => <FormRecordSection>[]),
'List<FormRecordDoc>': TypeInfo(TypeOf.Class, create:() => <FormRecordDoc>[]),
'List<FormRecordComputed>': TypeInfo(TypeOf.Class, create:() => <FormRecordComputed>[]),
'List<FormRecordEvent>': TypeInfo(TypeOf.Class, create:() => <FormRecordEvent>[]),
'List<FormRecordChangeEntry>': TypeInfo(TypeOf.Class, create:() => <FormRecordChangeEntry>[]),
'List<FormRecordEarlierDecision>': TypeInfo(TypeOf.Class, create:() => <FormRecordEarlierDecision>[]),
'List<FormRecordSigEntry>': TypeInfo(TypeOf.Class, create:() => <FormRecordSigEntry>[]),
'List<FormRecordReplaced>': TypeInfo(TypeOf.Class, create:() => <FormRecordReplaced>[]),
'FormFillReceiptLine': TypeInfo(TypeOf.Class, create:() => FormFillReceiptLine()),
'FormFeeActionResponse': TypeInfo(TypeOf.Class, create:() => FormFeeActionResponse()),
'List<FormFillReceiptLine>': TypeInfo(TypeOf.Class, create:() => <FormFillReceiptLine>[]),
'FormFeePaidRequest': TypeInfo(TypeOf.Class, create:() => FormFeePaidRequest()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/submissions/{SubmissionUID}/fee/paid HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"SubmissionUID":"00000000000000000000000000000000","Method":"String","Reference":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Record":{"SubmissionUID":"00000000000000000000000000000000","FormUID":"00000000000000000000000000000000","FormName":"String","Noun":"String","Number":"String","ApplicantName":"String","Stage":{"Id":"String","Label":"String","Tone":"String","Kind":"String"},"Tags":["String"],"AssigneeAgentId":0,"AssigneeName":"String","BranchName":"String","SubmittedAt":"0001-01-01T00:00:00.0000000","VersionNo":0,"CurrentVersionNo":0,"Email":"String","Phone":"String","ContactName":"String","Records":[{"RecordType":"String","RecordId":0,"How":"String","RuleName":"String","WorkflowId":0,"LinkedAt":"0001-01-01T00:00:00.0000000","Name":"String","Exists":false,"Text":"String","Link":"String","ContactGuid":"00000000000000000000000000000000","ContactAgentId":0}],"Differences":[{"DifferenceId":0,"RecordType":"String","RecordId":0,"MapKey":"String","Label":"String","Office":"String","App":"String","Status":"String","RuleName":"String","SettledText":"String","CanUse":false}],"CanSettle":false,"Meta":"String","Stages":[{"Id":"String","Label":"String","Tone":"String","Kind":"String"}],"Moves":[{"Id":"String","Label":"String","Tone":"String","Kind":"String"}],"People":[{"AgentId":0,"AgentName":"String"}],"CanEdit":false,"CanSensitive":false,"Sections":[{"Title":"String","Rows":[{"K":"String","L":"String","T":"String","Kind":"String","V":"String","Sensitive":false,"CanReveal":false,"Locked":false,"Files":[{"AttachmentId":"00000000000000000000000000000000","Name":"String","Kind":"String","Size":"String","Sensitive":false,"Locked":false}],"NoFiles":false,"Sig":{"Pending":false,"Mode":"String","SignerName":"String","Role":"String","RecordId":0,"ImageHash":"String","DocumentDigest":"String","Ip":"String","Browser":"String","ConsentStored":false,"SignedText":"String","HasImage":false},"Asked":false,"Changed":false,"Prev":"String"}]}],"Docs":[{"Name":"String","Ok":false,"Tag":"String","Tone":"String"}],"DocCount":"String","Computed":[{"L":"String","V":"String"}],"Timeline":[{"Who":"String","X":"String","T":"String","At":"0001-01-01T00:00:00.0000000","Dot":"String"}],"Notes":[{"Who":"String","X":"String","T":"String","At":"0001-01-01T00:00:00.0000000","Dot":"String"}],"Audit":[{"Who":"String","X":"String","T":"String","At":"0001-01-01T00:00:00.0000000","Dot":"String"}],"IsTest":false,"VersionText":"String","TenantName":"String","SubmittedIso":"String","OpenRequest":{"RequestUID":"00000000000000000000000000000000","Keys":["String"],"Resign":["String"],"Note":"String","By":"String","At":"String"},"Wait":{"Text":"String","CanResend":false,"ResendText":"String","CanSign":false,"Staff":"String","Fields":[{"K":"String","L":"String","Consent":"String"}]},"CanRequest":false,"IsRecord":false,"CanUpdate":false,"UpdateTip":"String","Changes":[{"UpdateNo":0,"Who":"String","T":"String","Lines":["String"]}],"RequestTip":"String","Decision":{"Outcome":"String","Tone":"String","Reason":"String","Note":"String","Text":"String","HasCounter":false,"Typed":false,"Drawn":false,"SigName":"String","SigMeta":"String"},"Earlier":[{"Outcome":"String","Tone":"String","Reason":"String","Note":"String","Text":"String","Counter":"String","Reopened":"String"}],"CanDecide":false,"DecideTip":"String","MoveTip":"String","DueAt":"0001-01-01T00:00:00.0000000","Overdue":false,"AgeText":"String","DueText":"String","Signatures":[{"RecordId":0,"Key":"String","Label":"String","Role":"String","SignerName":"String","Mode":"String","HasImage":false,"ConsentStored":false,"Replaced":false,"Counter":false,"Reopened":false,"Meta":"String"}],"Replaced":[{"RequestUID":"00000000000000000000000000000000","AskedBy":"String","AskedAt":"String","AnsweredAt":"String","Covering":"String","Rows":[{"K":"String","L":"String","Kind":"String","V":"String","Sensitive":false,"CanReveal":false,"Locked":false,"Files":[{"AttachmentId":"00000000000000000000000000000000","Name":"String","Kind":"String","Size":"String","Sensitive":false,"Locked":false}]}]}],"Other":{"Count":0,"SubmissionUID":"00000000000000000000000000000000","Number":"String","Channel":"String","Day":"String","Lead":"String","Tail":"String"},"Fee":{"Amount":0,"AmountText":"String","State":"String","StateLabel":"String","Tone":"String","InvoiceNumber":"String","InvoiceUID":"00000000000000000000000000000000","Detail":"String","PaidAt":"0001-01-01T00:00:00.0000000","PaidHow":"String","ChangedBy":"String","ChangedAt":"0001-01-01T00:00:00.0000000","HandsBack":false,"LateNote":"String","Acts":["String"]}},"HandsBack":false,"Sent":[{"Channel":"String","To":"String","Outcome":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}