POST api/LegacyAccountToken/GetSignToken
Get token for card signing on web
Request Information
URI Parameters
None.
Body Parameters
GetSignTokenRequestName | Description | Type | Additional information |
---|---|---|---|
ReturnURL | string |
None. |
|
UserCert | string |
None. |
|
DocID | string |
None. |
|
GroupID | string |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReturnURL": "sample string 1", "UserCert": "sample string 2", "DocID": "sample string 3", "GroupID": "sample string 4", "Token": "sample string 5" }
application/xml, text/xml
Sample:
<GetSignTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Token"> <Token>sample string 5</Token> <DocID>sample string 3</DocID> <GroupID>sample string 4</GroupID> <ReturnURL>sample string 1</ReturnURL> <UserCert>sample string 2</UserCert> </GetSignTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetSignTokenResponseName | Description | Type | Additional information |
---|---|---|---|
GetSignTokenResult | string |
None. |
|
outStatus | ResultStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "GetSignTokenResult": "sample string 1", "outStatus": { "StatusCode": "00", "Message": "sample string 2", "Result": 0 } }
application/xml, text/xml
Sample:
<GetSignTokenResponse 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> <GetSignTokenResult>sample string 1</GetSignTokenResult> </GetSignTokenResponse>