PUT api/AccountToken/AddDocument

Add document to Signet

Request Information

URI Parameters

None.

Body Parameters

TokenAddDocumentRequestV3
NameDescriptionTypeAdditional information
request

AddDocumentRequestV3

None.

GroupID

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "request": {
    "DontAddPage": true,
    "AttachXml": true,
    "SealDocuments": 0,
    "Documents": [
      {
        "ID": "sample string 1",
        "Data": "QEA=",
        "DocumentName": "sample string 2",
        "Status": 0
      },
      {
        "ID": "sample string 1",
        "Data": "QEA=",
        "DocumentName": "sample string 2",
        "Status": 0
      }
    ],
    "Signers": [
      {
        "Location": {
          "Page": 1,
          "XLocation": 2,
          "YLocation": 3,
          "Height": 4,
          "Width": 5
        },
        "Mobile": "sample string 1",
        "SSN": "sample string 2",
        "Name": "sample string 3",
        "Email": "sample string 4",
        "Notify": true,
        "SigningMessage": "sample string 6",
        "SigningText": "sample string 7",
        "Order": 8,
        "Role": 0,
        "Signed": "2024-11-21T09:56:16.54",
        "HasSigned": true,
        "Declined": true,
        "Reason": "sample string 11"
      },
      {
        "Location": {
          "Page": 1,
          "XLocation": 2,
          "YLocation": 3,
          "Height": 4,
          "Width": 5
        },
        "Mobile": "sample string 1",
        "SSN": "sample string 2",
        "Name": "sample string 3",
        "Email": "sample string 4",
        "Notify": true,
        "SigningMessage": "sample string 6",
        "SigningText": "sample string 7",
        "Order": 8,
        "Role": 0,
        "Signed": "2024-11-21T09:56:16.54",
        "HasSigned": true,
        "Declined": true,
        "Reason": "sample string 11"
      }
    ],
    "DocumentNotes": "sample string 3",
    "Metadata": "sample string 4",
    "StartSigning": "2024-11-21T09:56:16.54",
    "EndSigning": "2024-11-21T09:56:16.54",
    "Ordered": true,
    "Notify": true,
    "Archive": true,
    "MininumSigners": 8,
    "Reason": "sample string 9"
  },
  "GroupID": "sample string 1",
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<TokenAddDocumentRequestV3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Token">
  <Token>sample string 2</Token>
  <GroupID>sample string 1</GroupID>
  <request xmlns:d2p1="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.V3">
    <Archive xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Archive>
    <DocumentNotes xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 3</DocumentNotes>
    <EndSigning xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">2024-11-21T09:56:16.5409701+00:00</EndSigning>
    <Metadata xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 4</Metadata>
    <MininumSigners xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">8</MininumSigners>
    <Notify xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Notify>
    <Ordered xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Ordered>
    <Reason xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 9</Reason>
    <StartSigning xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">2024-11-21T09:56:16.5409701+00:00</StartSigning>
    <d2p1:AttachXml>true</d2p1:AttachXml>
    <d2p1:Documents>
      <d2p1:Document>
        <d2p1:Data>QEA=</d2p1:Data>
        <d2p1:DocumentName>sample string 2</d2p1:DocumentName>
        <d2p1:ID>sample string 1</d2p1:ID>
        <d2p1:Status>New</d2p1:Status>
      </d2p1:Document>
      <d2p1:Document>
        <d2p1:Data>QEA=</d2p1:Data>
        <d2p1:DocumentName>sample string 2</d2p1:DocumentName>
        <d2p1:ID>sample string 1</d2p1:ID>
        <d2p1:Status>New</d2p1:Status>
      </d2p1:Document>
    </d2p1:Documents>
    <d2p1:DontAddPage>true</d2p1:DontAddPage>
    <d2p1:SealDocuments>None</d2p1:SealDocuments>
    <d2p1:Signers>
      <d2p1:DocumentSignerV3>
        <Declined xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Declined>
        <Email xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 4</Email>
        <HasSigned xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</HasSigned>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 3</Name>
        <Notify xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Notify>
        <Order xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">8</Order>
        <Reason xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 11</Reason>
        <Role xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">Signer</Role>
        <SSN xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 2</SSN>
        <Signed xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">2024-11-21T09:56:16.5409701+00:00</Signed>
        <SigningMessage xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 6</SigningMessage>
        <SigningText xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 7</SigningText>
        <d2p1:Location>
          <d2p1:Height>4</d2p1:Height>
          <d2p1:Page>1</d2p1:Page>
          <d2p1:Width>5</d2p1:Width>
          <d2p1:XLocation>2</d2p1:XLocation>
          <d2p1:YLocation>3</d2p1:YLocation>
        </d2p1:Location>
        <d2p1:Mobile>sample string 1</d2p1:Mobile>
      </d2p1:DocumentSignerV3>
      <d2p1:DocumentSignerV3>
        <Declined xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Declined>
        <Email xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 4</Email>
        <HasSigned xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</HasSigned>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 3</Name>
        <Notify xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">true</Notify>
        <Order xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">8</Order>
        <Reason xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 11</Reason>
        <Role xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">Signer</Role>
        <SSN xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 2</SSN>
        <Signed xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">2024-11-21T09:56:16.5409701+00:00</Signed>
        <SigningMessage xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 6</SigningMessage>
        <SigningText xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 7</SigningText>
        <d2p1:Location>
          <d2p1:Height>4</d2p1:Height>
          <d2p1:Page>1</d2p1:Page>
          <d2p1:Width>5</d2p1:Width>
          <d2p1:XLocation>2</d2p1:XLocation>
          <d2p1:YLocation>3</d2p1:YLocation>
        </d2p1:Location>
        <d2p1:Mobile>sample string 1</d2p1:Mobile>
      </d2p1:DocumentSignerV3>
    </d2p1:Signers>
  </request>
</TokenAddDocumentRequestV3>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.