GetLandingURL

Used to retrieve a landing URL for the user’s client eSign application based on a using an encrypted token. This is mainly used by the eSign Printer.  

URI GET rest/v1/landingurl

Returns – A RequestResponse containing the user’s landing URL string in the ReturnValue property.  (See RequestResponse in Appendix B)

Parameters

Name Type Description
encryptedToken string Required. Encrypted Token returned from client
authentication. Returns null if token has expired
or is invalid.

Example – C#

[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]
string uri = “rest/v1/landingurl”;
string responseString = string.Empty;
JavaScriptSerializer jss = new JavaScriptSerializer();
RequestResponse requestResponse;

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(host + uri);
request.Headers.Add(“Authorization” , encryptedToken);
request.Method = “GET”;
request.ContentType = “application/json”;

HttpWebResponse response = (HttpWebResponse)request.GetResponse();
responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();
requestResponse = jss.Deserialize<RequestResponse>(responseString);

System.Diagnostics.Process.Start(autologinUrl);

[/gdlr_notification]