Secured Signing API

<back to all web services

SingleFormDirectRequest

The following routes are available for this service:
GET/FormDirect/GetSingleForm/{FormReference}Gets a single formGets a single form. Returns a collection of signers required for signing the forms.
SingleFormDirectRequest Parameters:
NameParameterData TypeRequiredDescription
FormReferencepathstringYesForm reference
FormDirect Parameters:
NameParameterData TypeRequiredDescription
NameformstringYesForm name
FormTypeformintegerYesForm type
ReferenceformstringYesForm reference
SignersformobjectYesList of signers required for the form
EmbedFormformbooleanYesIf true, the signing links will be used in an iFrame to access the forms
ReturnUrlformstringNoAfter signing a form, the page will redirect to the specified url
NotifyUrlformstringNoNotify Url
XMLDataformstringNoAuto fill data for the form. It is an XML document converted to a string. Secured Signing creates the template for the data.
EmployerReferenceformstringNoAuto fill employer data for the form. It can be returned by FormDirect/Employers api. Secured Signing creates the template for the data.
ClientReferenceformstringNoclient side referese; e.g. external id etc.
FormDirectInvitee Parameters:
NameParameterData TypeRequiredDescription
SignerTypeformstringNoRole of invitee in signing process
UseIDDataformbooleanNoWhen the use of a mobile phone is required for authencation but is not available, enable this option to use known data about the signer they have to use to ID themselves
IDDataformAuthInfoNoData required for identifying signers with no access to mobile phones
EnabledFaceToFaceSigningformbooleanNoIf enable face to face signing for this signer or not
OptionalformbooleanNoWhen the signer can be optional, tell API this signer is ignored or not.
VideoConfirmationformbooleanNoIf enable video confirmation for this signer or not
Invitee Parameters:
NameParameterData TypeRequiredDescription
MobileNumberformstringNoMobile number of signer, for SMS secured forms. Must include the mobile carrier code e.g. Australia 04, New Zealand 027 or 021 etc
MobileCountryformstringNoMobile Country code for phone number e.g. Australia 61, New Zealand 64 etc
ShareUsersformList<ShareUser>No
ClientReferenceformstringNo
UserInfo Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringYesFirst name of user
MiddleNameformstringNoMiddle name of user
LastNameformstringYesLast name of user
EmailformstringYesEmail address of user
ShareUser Parameters:
NameParameterData TypeRequiredDescription
IsDefaultformboolNo
IsOwnerformboolNo
AuthInfo Parameters:
NameParameterData TypeRequiredDescription
LabelformstringYesDescription of the information required
ValueformstringYesValue to be matched by invitee
DataTypeformstringYesData type

Allowable Values

  • text
  • date
  • email

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.

GET /FormDirect/GetSingleForm/{FormReference} HTTP/1.1 
Host: api.securedsigning.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FormDirect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuredSigning.Api.Rest.Models">
  <ClientReference>String</ClientReference>
  <EmbedForm>false</EmbedForm>
  <EmployerReference>String</EmployerReference>
  <FormType>0</FormType>
  <Name>String</Name>
  <NotifyUrl>String</NotifyUrl>
  <Reference>String</Reference>
  <ReturnUrl>String</ReturnUrl>
  <Signers>
    <FormDirectInvitee>
      <Email>String</Email>
      <FirstName>String</FirstName>
      <LastName>String</LastName>
      <MiddleName>String</MiddleName>
      <ClientReference>String</ClientReference>
      <MobileCountry>String</MobileCountry>
      <MobileNumber>String</MobileNumber>
      <ShareUsers>
        <ShareUser>
          <Email>String</Email>
          <FirstName>String</FirstName>
          <LastName>String</LastName>
          <MiddleName>String</MiddleName>
          <IsDefault>false</IsDefault>
          <IsOwner>false</IsOwner>
        </ShareUser>
      </ShareUsers>
      <EnabledFaceToFaceSigning>false</EnabledFaceToFaceSigning>
      <IDData>
        <AuthInfo>
          <DataType>String</DataType>
          <Label>String</Label>
          <Value>String</Value>
        </AuthInfo>
      </IDData>
      <Optional>false</Optional>
      <SignerType>String</SignerType>
      <UseIDData>false</UseIDData>
      <VideoConfirmation>false</VideoConfirmation>
    </FormDirectInvitee>
  </Signers>
  <XMLData>String</XMLData>
</FormDirect>