POST api/Legacy/GetDocumentString

Get document from Signet

Request Information

URI Parameters

None.

Body Parameters

DocumentRequest
NameDescriptionTypeAdditional information
docId

string

None.

username

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "docId": "sample string 1",
  "username": "sample string 2",
  "password": "sample string 3"
}

application/xml, text/xml

Sample:
<DocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Legacy">
  <password xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 3</password>
  <username xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">sample string 2</username>
  <docId>sample string 1</docId>
</DocumentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetDocumentStringResponse
NameDescriptionTypeAdditional information
GetDocumentStringResult

Collection of byte

None.

outStatus

ResultStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "GetDocumentStringResult": "QEA=",
  "outStatus": {
    "StatusCode": "00",
    "Message": "sample string 2",
    "Result": 0
  }
}

application/xml, text/xml

Sample:
<GetDocumentStringResponse 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>
  <GetDocumentStringResult>QEA=</GetDocumentStringResult>
</GetDocumentStringResponse>