| POST | /v1/forms/submissions/{SubmissionUID}/fee/remind |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class FormFeeActionResponse
Public Overridable Property Record As FormSubmissionRecord
Public Overridable Property HandsBack As Boolean
Public Overridable Property Sent As List(Of FormFillReceiptLine) = New List(Of FormFillReceiptLine)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class FormFeeRemindRequest
Public Overridable Property SubmissionUID As Guid
End Class
Public Partial Class FormFillReceiptLine
Public Overridable Property Channel As String
Public Overridable Property [To] As String
Public Overridable Property Outcome As String
End Class
Public Partial Class FormPerson
Public Overridable Property AgentId As Integer
Public Overridable Property AgentName As String
End Class
Public Partial Class FormRecordChangeEntry
Public Overridable Property UpdateNo As Integer
Public Overridable Property Who As String
Public Overridable Property T As String
Public Overridable Property Lines As List(Of String) = New List(Of String)
End Class
Public Partial Class FormRecordComputed
Public Overridable Property L As String
Public Overridable Property V As String
End Class
Public Partial Class FormRecordDecision
Public Overridable Property Outcome As String
Public Overridable Property Tone As String
Public Overridable Property Reason As String
Public Overridable Property Note As String
Public Overridable Property Text As String
Public Overridable Property HasCounter As Boolean
Public Overridable Property Typed As Boolean
Public Overridable Property Drawn As Boolean
Public Overridable Property SigName As String
Public Overridable Property SigMeta As String
End Class
Public Partial Class FormRecordDifferenceView
Public Overridable Property DifferenceId As Integer
Public Overridable Property RecordType As String
Public Overridable Property RecordId As Integer
Public Overridable Property MapKey As String
Public Overridable Property Label As String
Public Overridable Property Office As String
Public Overridable Property App As String
Public Overridable Property Status As String
Public Overridable Property RuleName As String
Public Overridable Property SettledText As String
Public Overridable Property CanUse As Boolean
End Class
Public Partial Class FormRecordDoc
Public Overridable Property Name As String
Public Overridable Property Ok As Boolean
Public Overridable Property Tag As String
Public Overridable Property Tone As String
End Class
Public Partial Class FormRecordEarlierDecision
Public Overridable Property Outcome As String
Public Overridable Property Tone As String
Public Overridable Property Reason As String
Public Overridable Property Note As String
Public Overridable Property Text As String
Public Overridable Property Counter As String
Public Overridable Property Reopened As String
End Class
Public Partial Class FormRecordEvent
Public Overridable Property Who As String
Public Overridable Property X As String
Public Overridable Property T As String
Public Overridable Property At As Date
Public Overridable Property Dot As String
End Class
Public Partial Class FormRecordFee
Public Overridable Property Amount As Decimal
Public Overridable Property AmountText As String
Public Overridable Property State As String
Public Overridable Property StateLabel As String
Public Overridable Property Tone As String
Public Overridable Property InvoiceNumber As String
Public Overridable Property InvoiceUID As Guid?
Public Overridable Property Detail As String
Public Overridable Property PaidAt As Date?
Public Overridable Property PaidHow As String
Public Overridable Property ChangedBy As String
Public Overridable Property ChangedAt As Date?
Public Overridable Property HandsBack As Boolean
Public Overridable Property LateNote As String
Public Overridable Property Acts As List(Of String) = New List(Of String)
End Class
Public Partial Class FormRecordFile
Public Overridable Property AttachmentId As Guid
Public Overridable Property Name As String
Public Overridable Property Kind As String
Public Overridable Property Size As String
Public Overridable Property Sensitive As Boolean
Public Overridable Property Locked As Boolean
End Class
Public Partial Class FormRecordLink
Public Overridable Property RecordType As String
Public Overridable Property RecordId As Integer
Public Overridable Property How As String
Public Overridable Property RuleName As String
Public Overridable Property WorkflowId As Integer?
Public Overridable Property LinkedAt As Date?
Public Overridable Property Name As String
Public Overridable Property Exists As Boolean
Public Overridable Property Text As String
Public Overridable Property Link As String
Public Overridable Property ContactGuid As Guid?
Public Overridable Property ContactAgentId As Integer
End Class
Public Partial Class FormRecordOther
Public Overridable Property Count As Integer
Public Overridable Property SubmissionUID As Guid
Public Overridable Property Number As String
Public Overridable Property Channel As String
Public Overridable Property Day As String
Public Overridable Property Lead As String
Public Overridable Property Tail As String
End Class
Public Partial Class FormRecordReplaced
Public Overridable Property RequestUID As Guid
Public Overridable Property AskedBy As String
Public Overridable Property AskedAt As String
Public Overridable Property AnsweredAt As String
Public Overridable Property Covering As String
Public Overridable Property Rows As List(Of FormRecordReplacedRow) = New List(Of FormRecordReplacedRow)
End Class
Public Partial Class FormRecordReplacedRow
Public Overridable Property K As String
Public Overridable Property L As String
Public Overridable Property Kind As String
Public Overridable Property V As String
Public Overridable Property Sensitive As Boolean
Public Overridable Property CanReveal As Boolean
Public Overridable Property Locked As Boolean
Public Overridable Property Files As List(Of FormRecordFile) = New List(Of FormRecordFile)
End Class
Public Partial Class FormRecordRequest
Public Overridable Property RequestUID As Guid
Public Overridable Property Keys As List(Of String) = New List(Of String)
Public Overridable Property Resign As List(Of String) = New List(Of String)
Public Overridable Property Note As String
Public Overridable Property By As String
Public Overridable Property At As String
End Class
Public Partial Class FormRecordRow
Public Overridable Property K As String
Public Overridable Property L As String
Public Overridable Property T As String
Public Overridable Property Kind As String
Public Overridable Property V As String
Public Overridable Property Sensitive As Boolean
Public Overridable Property CanReveal As Boolean
Public Overridable Property Locked As Boolean
Public Overridable Property Files As List(Of FormRecordFile) = New List(Of FormRecordFile)
Public Overridable Property NoFiles As Boolean
Public Overridable Property Sig As FormRecordSig
Public Overridable Property Asked As Boolean
Public Overridable Property Changed As Boolean
Public Overridable Property Prev As String
End Class
Public Partial Class FormRecordSection
Public Overridable Property Title As String
Public Overridable Property Rows As List(Of FormRecordRow) = New List(Of FormRecordRow)
End Class
Public Partial Class FormRecordSig
Public Overridable Property Pending As Boolean
Public Overridable Property Mode As String
Public Overridable Property SignerName As String
Public Overridable Property Role As String
Public Overridable Property RecordId As Integer
Public Overridable Property ImageHash As String
Public Overridable Property DocumentDigest As String
Public Overridable Property Ip As String
Public Overridable Property Browser As String
Public Overridable Property ConsentStored As Boolean
Public Overridable Property SignedText As String
Public Overridable Property HasImage As Boolean
End Class
Public Partial Class FormRecordSigEntry
Public Overridable Property RecordId As Integer
Public Overridable Property Key As String
Public Overridable Property Label As String
Public Overridable Property Role As String
Public Overridable Property SignerName As String
Public Overridable Property Mode As String
Public Overridable Property HasImage As Boolean
Public Overridable Property ConsentStored As Boolean
Public Overridable Property Replaced As Boolean
Public Overridable Property Counter As Boolean
Public Overridable Property Reopened As Boolean
Public Overridable Property Meta As String
End Class
Public Partial Class FormRecordWait
Public Overridable Property Text As String
Public Overridable Property CanResend As Boolean
Public Overridable Property ResendText As String
Public Overridable Property CanSign As Boolean
Public Overridable Property Staff As String
Public Overridable Property Fields As List(Of FormRecordWaitField) = New List(Of FormRecordWaitField)
End Class
Public Partial Class FormRecordWaitField
Public Overridable Property K As String
Public Overridable Property L As String
Public Overridable Property Consent As String
End Class
Public Partial Class FormStageInfo
Public Overridable Property Id As String
Public Overridable Property Label As String
Public Overridable Property Tone As String
Public Overridable Property Kind As String
End Class
Public Partial Class FormSubmissionRecord
Public Overridable Property SubmissionUID As Guid
Public Overridable Property FormUID As Guid
Public Overridable Property FormName As String
Public Overridable Property Noun As String
Public Overridable Property Number As String
Public Overridable Property ApplicantName As String
Public Overridable Property Stage As FormStageInfo
Public Overridable Property Tags As List(Of String) = New List(Of String)
Public Overridable Property AssigneeAgentId As Integer?
Public Overridable Property AssigneeName As String
Public Overridable Property BranchName As String
Public Overridable Property SubmittedAt As Date?
Public Overridable Property VersionNo As Integer
Public Overridable Property CurrentVersionNo As Integer
Public Overridable Property Email As String
Public Overridable Property Phone As String
Public Overridable Property ContactName As String
Public Overridable Property Records As List(Of FormRecordLink) = New List(Of FormRecordLink)
Public Overridable Property Differences As List(Of FormRecordDifferenceView) = New List(Of FormRecordDifferenceView)
Public Overridable Property CanSettle As Boolean
Public Overridable Property Meta As String
Public Overridable Property Stages As List(Of FormStageInfo) = New List(Of FormStageInfo)
Public Overridable Property Moves As List(Of FormStageInfo) = New List(Of FormStageInfo)
Public Overridable Property People As List(Of FormPerson) = New List(Of FormPerson)
Public Overridable Property CanEdit As Boolean
Public Overridable Property CanSensitive As Boolean
Public Overridable Property Sections As List(Of FormRecordSection) = New List(Of FormRecordSection)
Public Overridable Property Docs As List(Of FormRecordDoc) = New List(Of FormRecordDoc)
Public Overridable Property DocCount As String
Public Overridable Property Computed As List(Of FormRecordComputed) = New List(Of FormRecordComputed)
Public Overridable Property Timeline As List(Of FormRecordEvent) = New List(Of FormRecordEvent)
Public Overridable Property Notes As List(Of FormRecordEvent) = New List(Of FormRecordEvent)
Public Overridable Property Audit As List(Of FormRecordEvent) = New List(Of FormRecordEvent)
Public Overridable Property IsTest As Boolean
Public Overridable Property VersionText As String
Public Overridable Property TenantName As String
Public Overridable Property SubmittedIso As String
Public Overridable Property OpenRequest As FormRecordRequest
Public Overridable Property Wait As FormRecordWait
Public Overridable Property CanRequest As Boolean
Public Overridable Property IsRecord As Boolean
Public Overridable Property CanUpdate As Boolean
Public Overridable Property UpdateTip As String
Public Overridable Property Changes As List(Of FormRecordChangeEntry) = New List(Of FormRecordChangeEntry)
Public Overridable Property RequestTip As String
Public Overridable Property Decision As FormRecordDecision
Public Overridable Property Earlier As List(Of FormRecordEarlierDecision) = New List(Of FormRecordEarlierDecision)
Public Overridable Property CanDecide As Boolean
Public Overridable Property DecideTip As String
Public Overridable Property MoveTip As String
Public Overridable Property DueAt As Date?
Public Overridable Property Overdue As Boolean
Public Overridable Property AgeText As String
Public Overridable Property DueText As String
Public Overridable Property Signatures As List(Of FormRecordSigEntry) = New List(Of FormRecordSigEntry)
Public Overridable Property Replaced As List(Of FormRecordReplaced) = New List(Of FormRecordReplaced)
Public Overridable Property Other As FormRecordOther
Public Overridable Property Fee As FormRecordFee
End Class
End Namespace
End Namespace
VB.NET FormFeeRemindRequest DTOs
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/remind HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"SubmissionUID":"00000000000000000000000000000000"}
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"}}}