Trendsic Platform Service

<back to all web services

FormSubmissionDecideRequest

Requires Authentication
The following routes are available for this service:
POST/v1/forms/submissions/{SubmissionUID}/decide
FormSubmissionDecideRequest Parameters:
NameParameterData TypeRequiredDescription
SubmissionUIDpathGuidNo
OutcomebodystringNo
ReasonbodystringNo
NotebodystringNo
CounterbodyFormCounterSignatureNo
FrombodystringNo
FormCounterSignature Parameters:
NameParameterData TypeRequiredDescription
ModeformstringNo
NameformstringNo
PngformstringNo
FormSubmissionRequestInfoResponse Parameters:
NameParameterData TypeRequiredDescription
SentformList<FormFillReceiptLine>No
FormSubmissionRecordResponse Parameters:
NameParameterData TypeRequiredDescription
RecordformFormSubmissionRecordNo
ResponseStatusformResponseStatusNo
FormSubmissionRecord Parameters:
NameParameterData TypeRequiredDescription
SubmissionUIDformGuidNo
FormUIDformGuidNo
FormNameformstringNo
NounformstringNo
NumberformstringNo
ApplicantNameformstringNo
StageformFormStageInfoNo
TagsformList<string>No
AssigneeAgentIdformint?No
AssigneeNameformstringNo
BranchNameformstringNo
SubmittedAtformDateTime?No
VersionNoformintNo
CurrentVersionNoformintNo
EmailformstringNo
PhoneformstringNo
ContactNameformstringNo
MetaformstringNo
StagesformList<FormStageInfo>No
MovesformList<FormStageInfo>No
PeopleformList<FormPerson>No
CanEditformboolNo
CanSensitiveformboolNo
SectionsformList<FormRecordSection>No
DocsformList<FormRecordDoc>No
DocCountformstringNo
ComputedformList<FormRecordComputed>No
TimelineformList<FormRecordEvent>No
NotesformList<FormRecordEvent>No
AuditformList<FormRecordEvent>No
IsTestformboolNo
VersionTextformstringNo
TenantNameformstringNo
SubmittedIsoformstringNo
OpenRequestformFormRecordRequestNo
CanRequestformboolNo
RequestTipformstringNo
DecisionformFormRecordDecisionNo
EarlierformList<FormRecordEarlierDecision>No
CanDecideformboolNo
DecideTipformstringNo
MoveTipformstringNo
DueAtformDateTime?No
OverdueformboolNo
AgeTextformstringNo
DueTextformstringNo
SignaturesformList<FormRecordSigEntry>No
ReplacedformList<FormRecordReplaced>No
FormStageInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
LabelformstringNo
ToneformstringNo
KindformstringNo
FormPerson Parameters:
NameParameterData TypeRequiredDescription
AgentIdformintNo
AgentNameformstringNo
FormRecordSection Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
RowsformList<FormRecordRow>No
FormRecordRow Parameters:
NameParameterData TypeRequiredDescription
KformstringNo
LformstringNo
TformstringNo
KindformstringNo
VformstringNo
SensitiveformboolNo
CanRevealformboolNo
LockedformboolNo
FilesformList<FormRecordFile>No
NoFilesformboolNo
SigformFormRecordSigNo
AskedformboolNo
ChangedformboolNo
PrevformstringNo
FormRecordFile Parameters:
NameParameterData TypeRequiredDescription
AttachmentIdformGuidNo
NameformstringNo
KindformstringNo
SizeformstringNo
SensitiveformboolNo
LockedformboolNo
FormRecordSig Parameters:
NameParameterData TypeRequiredDescription
PendingformboolNo
ModeformstringNo
SignerNameformstringNo
RoleformstringNo
RecordIdformintNo
ImageHashformstringNo
DocumentDigestformstringNo
IpformstringNo
BrowserformstringNo
ConsentStoredformboolNo
SignedTextformstringNo
HasImageformboolNo
FormRecordDoc Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
OkformboolNo
TagformstringNo
ToneformstringNo
FormRecordComputed Parameters:
NameParameterData TypeRequiredDescription
LformstringNo
VformstringNo
FormRecordEvent Parameters:
NameParameterData TypeRequiredDescription
WhoformstringNo
XformstringNo
TformstringNo
AtformDateTimeNo
DotformstringNo
FormRecordRequest Parameters:
NameParameterData TypeRequiredDescription
RequestUIDformGuidNo
KeysformList<string>No
ResignformList<string>No
NoteformstringNo
ByformstringNo
AtformstringNo
FormRecordDecision Parameters:
NameParameterData TypeRequiredDescription
OutcomeformstringNo
ToneformstringNo
ReasonformstringNo
NoteformstringNo
TextformstringNo
HasCounterformboolNo
TypedformboolNo
DrawnformboolNo
SigNameformstringNo
SigMetaformstringNo
FormRecordEarlierDecision Parameters:
NameParameterData TypeRequiredDescription
OutcomeformstringNo
ToneformstringNo
ReasonformstringNo
NoteformstringNo
TextformstringNo
CounterformstringNo
ReopenedformstringNo
FormRecordSigEntry Parameters:
NameParameterData TypeRequiredDescription
RecordIdformintNo
KeyformstringNo
LabelformstringNo
RoleformstringNo
SignerNameformstringNo
ModeformstringNo
HasImageformboolNo
ConsentStoredformboolNo
ReplacedformboolNo
CounterformboolNo
ReopenedformboolNo
MetaformstringNo
FormRecordReplaced Parameters:
NameParameterData TypeRequiredDescription
RequestUIDformGuidNo
AskedByformstringNo
AskedAtformstringNo
AnsweredAtformstringNo
CoveringformstringNo
RowsformList<FormRecordReplacedRow>No
FormRecordReplacedRow Parameters:
NameParameterData TypeRequiredDescription
KformstringNo
LformstringNo
KindformstringNo
VformstringNo
SensitiveformboolNo
CanRevealformboolNo
LockedformboolNo
FilesformList<FormRecordFile>No
FormFillReceiptLine Parameters:
NameParameterData TypeRequiredDescription
ChannelformstringNo
ToformstringNo
OutcomeformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + 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>