2.7.3.2 Reference: Data structure to create ShortID for viewing
FTHViewerRequest
Data Type | Field Name | Sample Value | Description |
---|---|---|---|
Guid | SessionId | 189BA074-F668-49CC-B7F6-330F4F89D755 | Unique identifier of the current session |
int | FileId | 343 | ID of file for view obtained by previous web service calls. |
String | SuccessUrl | Redirect to this URL if viewing is success | |
String | ErrorReportingUrl | Redirect to this URL if viewing failed |
Sample
<viewerRequest><SessionID>310105b2-5d9c-437b-bbdc-be6651992ffb</SessionID><FileId>5</FileId><SuccessUrl>http://success.com</SuccessUrl><ErrorReportingUrl>http://error.com</ErrorReportingUrl></viewerRequest>
Data Transfer Object
public class FTHViewerRequest
{
public Guid SessionId { get; set; }
public int FileId { get; set; }
public string SuccessUrl { get; set; }
public string ErrorReportingUrl { get; set; }
}