| POST | /v1/forms/submissions/{SubmissionUID}/fee/waive |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class FormFeeWaiveRequest
{
open var SubmissionUID:UUID? = null
open var From:String? = null
}
open class FormFeeActionResponse
{
open var Record:FormSubmissionRecord? = null
open var HandsBack:Boolean? = null
open var Sent:ArrayList<FormFillReceiptLine> = ArrayList<FormFillReceiptLine>()
open var ResponseStatus:ResponseStatus? = null
}
open class FormSubmissionRecord
{
open var SubmissionUID:UUID? = null
open var FormUID:UUID? = null
open var FormName:String? = null
open var Noun:String? = null
open var Number:String? = null
open var ApplicantName:String? = null
open var Stage:FormStageInfo? = null
open var Tags:ArrayList<String> = ArrayList<String>()
open var AssigneeAgentId:Int? = null
open var AssigneeName:String? = null
open var BranchName:String? = null
open var SubmittedAt:Date? = null
open var VersionNo:Int? = null
open var CurrentVersionNo:Int? = null
open var Email:String? = null
open var Phone:String? = null
open var ContactName:String? = null
open var Records:ArrayList<FormRecordLink> = ArrayList<FormRecordLink>()
open var Differences:ArrayList<FormRecordDifferenceView> = ArrayList<FormRecordDifferenceView>()
open var CanSettle:Boolean? = null
open var Meta:String? = null
open var Stages:ArrayList<FormStageInfo> = ArrayList<FormStageInfo>()
open var Moves:ArrayList<FormStageInfo> = ArrayList<FormStageInfo>()
open var People:ArrayList<FormPerson> = ArrayList<FormPerson>()
open var CanEdit:Boolean? = null
open var CanSensitive:Boolean? = null
open var Sections:ArrayList<FormRecordSection> = ArrayList<FormRecordSection>()
open var Docs:ArrayList<FormRecordDoc> = ArrayList<FormRecordDoc>()
open var DocCount:String? = null
open var Computed:ArrayList<FormRecordComputed> = ArrayList<FormRecordComputed>()
open var Timeline:ArrayList<FormRecordEvent> = ArrayList<FormRecordEvent>()
open var Notes:ArrayList<FormRecordEvent> = ArrayList<FormRecordEvent>()
open var Audit:ArrayList<FormRecordEvent> = ArrayList<FormRecordEvent>()
open var IsTest:Boolean? = null
open var VersionText:String? = null
open var TenantName:String? = null
open var SubmittedIso:String? = null
open var OpenRequest:FormRecordRequest? = null
open var Wait:FormRecordWait? = null
open var CanRequest:Boolean? = null
open var IsRecord:Boolean? = null
open var CanUpdate:Boolean? = null
open var UpdateTip:String? = null
open var Changes:ArrayList<FormRecordChangeEntry> = ArrayList<FormRecordChangeEntry>()
open var RequestTip:String? = null
open var Decision:FormRecordDecision? = null
open var Earlier:ArrayList<FormRecordEarlierDecision> = ArrayList<FormRecordEarlierDecision>()
open var CanDecide:Boolean? = null
open var DecideTip:String? = null
open var MoveTip:String? = null
open var DueAt:Date? = null
open var Overdue:Boolean? = null
open var AgeText:String? = null
open var DueText:String? = null
open var Signatures:ArrayList<FormRecordSigEntry> = ArrayList<FormRecordSigEntry>()
open var Replaced:ArrayList<FormRecordReplaced> = ArrayList<FormRecordReplaced>()
open var Other:FormRecordOther? = null
open var Fee:FormRecordFee? = null
}
open class FormStageInfo
{
open var Id:String? = null
open var Label:String? = null
open var Tone:String? = null
open var Kind:String? = null
}
open class FormRecordLink
{
open var RecordType:String? = null
open var RecordId:Int? = null
open var How:String? = null
open var RuleName:String? = null
open var WorkflowId:Int? = null
open var LinkedAt:Date? = null
open var Name:String? = null
open var Exists:Boolean? = null
open var Text:String? = null
open var Link:String? = null
open var ContactGuid:UUID? = null
open var ContactAgentId:Int? = null
}
open class FormRecordDifferenceView
{
open var DifferenceId:Int? = null
open var RecordType:String? = null
open var RecordId:Int? = null
open var MapKey:String? = null
open var Label:String? = null
open var Office:String? = null
open var App:String? = null
open var Status:String? = null
open var RuleName:String? = null
open var SettledText:String? = null
open var CanUse:Boolean? = null
}
open class FormPerson
{
open var AgentId:Int? = null
open var AgentName:String? = null
}
open class FormRecordSection
{
open var Title:String? = null
open var Rows:ArrayList<FormRecordRow> = ArrayList<FormRecordRow>()
}
open class FormRecordRow
{
open var K:String? = null
open var L:String? = null
open var T:String? = null
open var Kind:String? = null
open var V:String? = null
open var Sensitive:Boolean? = null
open var CanReveal:Boolean? = null
open var Locked:Boolean? = null
open var Files:ArrayList<FormRecordFile> = ArrayList<FormRecordFile>()
open var NoFiles:Boolean? = null
open var Sig:FormRecordSig? = null
open var Asked:Boolean? = null
open var Changed:Boolean? = null
open var Prev:String? = null
}
open class FormRecordFile
{
open var AttachmentId:UUID? = null
open var Name:String? = null
open var Kind:String? = null
open var Size:String? = null
open var Sensitive:Boolean? = null
open var Locked:Boolean? = null
}
open class FormRecordSig
{
open var Pending:Boolean? = null
open var Mode:String? = null
open var SignerName:String? = null
open var Role:String? = null
open var RecordId:Int? = null
open var ImageHash:String? = null
open var DocumentDigest:String? = null
open var Ip:String? = null
open var Browser:String? = null
open var ConsentStored:Boolean? = null
open var SignedText:String? = null
open var HasImage:Boolean? = null
}
open class FormRecordDoc
{
open var Name:String? = null
open var Ok:Boolean? = null
open var Tag:String? = null
open var Tone:String? = null
}
open class FormRecordComputed
{
open var L:String? = null
open var V:String? = null
}
open class FormRecordEvent
{
open var Who:String? = null
open var X:String? = null
open var T:String? = null
open var At:Date? = null
open var Dot:String? = null
}
open class FormRecordRequest
{
open var RequestUID:UUID? = null
open var Keys:ArrayList<String> = ArrayList<String>()
open var Resign:ArrayList<String> = ArrayList<String>()
open var Note:String? = null
open var By:String? = null
open var At:String? = null
}
open class FormRecordWait
{
open var Text:String? = null
open var CanResend:Boolean? = null
open var ResendText:String? = null
open var CanSign:Boolean? = null
open var Staff:String? = null
open var Fields:ArrayList<FormRecordWaitField> = ArrayList<FormRecordWaitField>()
}
open class FormRecordWaitField
{
open var K:String? = null
open var L:String? = null
open var Consent:String? = null
}
open class FormRecordChangeEntry
{
open var UpdateNo:Int? = null
open var Who:String? = null
open var T:String? = null
open var Lines:ArrayList<String> = ArrayList<String>()
}
open class FormRecordDecision
{
open var Outcome:String? = null
open var Tone:String? = null
open var Reason:String? = null
open var Note:String? = null
open var Text:String? = null
open var HasCounter:Boolean? = null
open var Typed:Boolean? = null
open var Drawn:Boolean? = null
open var SigName:String? = null
open var SigMeta:String? = null
}
open class FormRecordEarlierDecision
{
open var Outcome:String? = null
open var Tone:String? = null
open var Reason:String? = null
open var Note:String? = null
open var Text:String? = null
open var Counter:String? = null
open var Reopened:String? = null
}
open class FormRecordSigEntry
{
open var RecordId:Int? = null
open var Key:String? = null
open var Label:String? = null
open var Role:String? = null
open var SignerName:String? = null
open var Mode:String? = null
open var HasImage:Boolean? = null
open var ConsentStored:Boolean? = null
open var Replaced:Boolean? = null
open var Counter:Boolean? = null
open var Reopened:Boolean? = null
open var Meta:String? = null
}
open class FormRecordReplaced
{
open var RequestUID:UUID? = null
open var AskedBy:String? = null
open var AskedAt:String? = null
open var AnsweredAt:String? = null
open var Covering:String? = null
open var Rows:ArrayList<FormRecordReplacedRow> = ArrayList<FormRecordReplacedRow>()
}
open class FormRecordReplacedRow
{
open var K:String? = null
open var L:String? = null
open var Kind:String? = null
open var V:String? = null
open var Sensitive:Boolean? = null
open var CanReveal:Boolean? = null
open var Locked:Boolean? = null
open var Files:ArrayList<FormRecordFile> = ArrayList<FormRecordFile>()
}
open class FormRecordOther
{
open var Count:Int? = null
open var SubmissionUID:UUID? = null
open var Number:String? = null
open var Channel:String? = null
open var Day:String? = null
open var Lead:String? = null
open var Tail:String? = null
}
open class FormRecordFee
{
open var Amount:BigDecimal? = null
open var AmountText:String? = null
open var State:String? = null
open var StateLabel:String? = null
open var Tone:String? = null
open var InvoiceNumber:String? = null
open var InvoiceUID:UUID? = null
open var Detail:String? = null
open var PaidAt:Date? = null
open var PaidHow:String? = null
open var ChangedBy:String? = null
open var ChangedAt:Date? = null
open var HandsBack:Boolean? = null
open var LateNote:String? = null
open var Acts:ArrayList<String> = ArrayList<String>()
}
open class FormFillReceiptLine
{
open var Channel:String? = null
open var To:String? = null
open var Outcome:String? = null
}
Kotlin FormFeeWaiveRequest 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}/fee/waive HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FormFeeWaiveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<From>String</From>
<SubmissionUID>00000000-0000-0000-0000-000000000000</SubmissionUID>
</FormFeeWaiveRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FormFeeActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<HandsBack>false</HandsBack>
<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>
<CanSettle>false</CanSettle>
<CanUpdate>false</CanUpdate>
<Changes>
<FormRecordChangeEntry>
<Lines xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</Lines>
<T>String</T>
<UpdateNo>0</UpdateNo>
<Who>String</Who>
</FormRecordChangeEntry>
</Changes>
<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>
<Differences>
<FormRecordDifferenceView>
<App>String</App>
<CanUse>false</CanUse>
<DifferenceId>0</DifferenceId>
<Label>String</Label>
<MapKey>String</MapKey>
<Office>String</Office>
<RecordId>0</RecordId>
<RecordType>String</RecordType>
<RuleName>String</RuleName>
<SettledText>String</SettledText>
<Status>String</Status>
</FormRecordDifferenceView>
</Differences>
<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>
<Fee>
<Acts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</Acts>
<Amount>0</Amount>
<AmountText>String</AmountText>
<ChangedAt>0001-01-01T00:00:00</ChangedAt>
<ChangedBy>String</ChangedBy>
<Detail>String</Detail>
<HandsBack>false</HandsBack>
<InvoiceNumber>String</InvoiceNumber>
<InvoiceUID>00000000-0000-0000-0000-000000000000</InvoiceUID>
<LateNote>String</LateNote>
<PaidAt>0001-01-01T00:00:00</PaidAt>
<PaidHow>String</PaidHow>
<State>String</State>
<StateLabel>String</StateLabel>
<Tone>String</Tone>
</Fee>
<FormName>String</FormName>
<FormUID>00000000-0000-0000-0000-000000000000</FormUID>
<IsRecord>false</IsRecord>
<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>
<Other>
<Channel>String</Channel>
<Count>0</Count>
<Day>String</Day>
<Lead>String</Lead>
<Number>String</Number>
<SubmissionUID>00000000-0000-0000-0000-000000000000</SubmissionUID>
<Tail>String</Tail>
</Other>
<Overdue>false</Overdue>
<People>
<FormPerson>
<AgentId>0</AgentId>
<AgentName>String</AgentName>
</FormPerson>
</People>
<Phone>String</Phone>
<Records>
<FormRecordLink>
<ContactAgentId>0</ContactAgentId>
<ContactGuid>00000000-0000-0000-0000-000000000000</ContactGuid>
<Exists>false</Exists>
<How>String</How>
<Link>String</Link>
<LinkedAt>0001-01-01T00:00:00</LinkedAt>
<Name>String</Name>
<RecordId>0</RecordId>
<RecordType>String</RecordType>
<RuleName>String</RuleName>
<Text>String</Text>
<WorkflowId>0</WorkflowId>
</FormRecordLink>
</Records>
<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>
<UpdateTip>String</UpdateTip>
<VersionNo>0</VersionNo>
<VersionText>String</VersionText>
<Wait>
<CanResend>false</CanResend>
<CanSign>false</CanSign>
<Fields>
<FormRecordWaitField>
<Consent>String</Consent>
<K>String</K>
<L>String</L>
</FormRecordWaitField>
</Fields>
<ResendText>String</ResendText>
<Staff>String</Staff>
<Text>String</Text>
</Wait>
</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>
</FormFeeActionResponse>