POST api/LegacyAccountToken/GetDocument
Get document from Signet
Request Information
URI Parameters
None.
Body Parameters
TokenDocumentRequestName | Description | Type | Additional information |
---|---|---|---|
DocID | string |
None. |
|
GroupID | string |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocID": "sample string 1", "GroupID": "sample string 2", "Token": "sample string 3" }
application/xml, text/xml
Sample:
<TokenDocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Token"> <Token>sample string 3</Token> <DocID>sample string 1</DocID> <GroupID>sample string 2</GroupID> </TokenDocumentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetDocumentResponseName | Description | Type | Additional information |
---|---|---|---|
GetDocumentResult | Collection of byte |
None. |
|
outStatus | ResultStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "GetDocumentResult": "QEA=", "outStatus": { "StatusCode": "00", "Message": "sample string 2", "Result": 0 } }
application/xml, text/xml
Sample:
<GetDocumentResponse 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> <GetDocumentResult>QEA=</GetDocumentResult> </GetDocumentResponse>