POST api/LegacyAccountToken/SignDocument

Sign document in Signet

Request Information

URI Parameters

None.

Body Parameters

TokenSignDocumentRequest
NameDescriptionTypeAdditional information
Lang

string

None.

DocID

string

None.

GroupID

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Lang": "sample string 1",
  "DocID": "sample string 2",
  "GroupID": "sample string 3",
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<TokenSignDocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Token">
  <Token>sample string 4</Token>
  <DocID>sample string 2</DocID>
  <GroupID>sample string 3</GroupID>
  <Lang>sample string 1</Lang>
</TokenSignDocumentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SignDocumentResponse
NameDescriptionTypeAdditional information
SignDocumentResult

boolean

None.

outStatus

ResultStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "SignDocumentResult": true,
  "outStatus": {
    "StatusCode": "00",
    "Message": "sample string 2",
    "Result": 0
  }
}

application/xml, text/xml

Sample:
<SignDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Legacy">
  <outStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/Advania.Model.Common" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">
    <d2p1:Message>sample string 2</d2p1:Message>
    <d2p1:Result>Success</d2p1:Result>
    <d2p1:StatusCode>00</d2p1:StatusCode>
  </outStatus>
  <SignDocumentResult>true</SignDocumentResult>
</SignDocumentResponse>