POST api/LegacyAccountToken/RejectDocument

Sign document in Signet

Request Information

URI Parameters

None.

Body Parameters

TokenRejectDocumentRequest
NameDescriptionTypeAdditional information
Reason

string

None.

Auth

boolean

None.

Lang

string

None.

DocID

string

None.

GroupID

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Reason": "sample string 1",
  "Auth": true,
  "Lang": "sample string 3",
  "DocID": "sample string 4",
  "GroupID": "sample string 5",
  "Token": "sample string 6"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RejectDocumentResponse
NameDescriptionTypeAdditional information
RejectDocumentResult

boolean

None.

outStatus

ResultStatus

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<RejectDocumentResponse 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>
  <RejectDocumentResult>true</RejectDocumentResult>
</RejectDocumentResponse>