You are here: Home Register  |  Login
 

Welcome to the ClearStar.net Developer Community!  Gateway Web Services, the open platform for building to, extending, and integrating with ClearStar.net, provides the core functionality for creating screening solutions that are specialized to meet your needs.  This site contains a full set of resources to help make the development process quick and easy by putting resources in your hands and helping you to connect to other developers.

ClearStar.net Developer Community Blog
Jun 9

Written by: Ken Dawson
6/9/2009 7:35 AM 

One of the things that we all need to do when integrating with other applications, is to provide a way for the user in the other application to see the print-ready, PDF version of the report for a Profile. We get questions about this all of the time when Business Owners are integrating with an ATS or HRIS. 

 
The Applicant Site project, found in the Open Source area of this site, demonstrates how this can be done. The Reports.aspx page is a container that allows the user to login to choose their Profile report and see the report in an iframe on the page or in a popup window. Most of the heavy lifting is done in the ViewReport.aspx page.
 
The code below is the Page.Load event handler where the report is run and displayed. This page assumes that the login information is stored in the Session and that the Customer ID and Profile ID are passed to the page in the querystring. 
 
The GetProfileReport method returns the PDF report as a byte array, which can then be displayed directly to the page. This page can be called from a link in an ATS or HRIS. It can be used as is to display the report in a popup or iframe, or it can be modified to download and save the report file.
 
 
        protected void Page_Load(object sender, EventArgs e)
        {
            string sUserName = Session[Global.SESSION_UserName].ToString();
            string sPassword = Session[Global.SESSION_Password].ToString();
            int iBOID = (int)Session[Global.SESSION_BOID];
 
            string sCustID = Request.QueryString["c"].ToString().Trim(); ;
            string sProfNo = Request.QueryString["p"].ToString().Trim(); ;
 
            byte[] bytes = null;
 
 
            using (net.clearstar.gateway.profile.Profile gwProfile = new net.clearstar.gateway.profile.Profile())
            {
                try
                {
                    bytes = gwProfile.GetProfileReport(sUserName, sPassword, iBOID, sCustID, sProfNo, false);
                }
                catch (System.Web.Services.Protocols.SoapException ex)
                {
                    //do something
                }
                if (bytes.Length > 0)
                {
                    Response.BufferOutput = true;
                    Response.AddHeader("Content-Disposition", "inline");
                    Response.ContentType = "application/pdf";
                    Response.BinaryWrite(bytes);
                }
            }
        }
 
 

Tags:
News & Events
Gateway Web Services 2012.01 Released - Wednesday, January 25, 2012

ClearStar.net is pleased to announce the release of version 2012.01 of Gateway Web Services.  The first major release of 2012 includes the following:

  • Additional Customer Web Service method, GetCustomersForUser, for retrieving the Customers for a specified User.
  • Additional Profile Web Service method, GetStoredProfileDetail, for retrieving the detailed information for a Stored Profile.

For a full list of the updates, go to the Gateway Documentation and review the update log at the end.

 
Gateway Web Services 2011.02 Released - Wednesday, February 02, 2011

ClearStar.net is pleased to announce the release of version 2011.02 of Gateway Web Services.  The first major release of 2011 includes the following:

  • Additional document upload methods to allow the inclusion of the document on the Profile report

For a full list of the updates, go to the Gateway Documentation and review the update log at the end.

 
ClearStar Releases ScreenMeNow Direct Applicant Data Entry Solution - Monday, January 10, 2011

ClearStar, a leading background screening technology and service provider, announced today the release of ScreenMeNow, a customizable direct applicant data entry interface. This solution comes in response to the increased demand for cost effective human resources solutions. 
 
ScreenMeNow provides a simple, intuitive interface for direct applicant entry of data required for the initiation of a background check. This functionality increases operating efficiencies for an employer by eliminating redundant data entry and decreasing the turnaround time of a background check. ScreenMeNow can also accept credit card payment from the applicant at the time of data submission. This optional feature is particularly valuable when conducting background checks on independent contractors, volunteers and students because it can reduce or even eliminate an organizations’ background screening costs. 

Read more...

 
Gateway Web Services 2010.02 Released - Monday, August 09, 2010

ClearStar.net is pleased to announce the release of version 2010.02 of Gateway Web Services.  The second major release of 2010 includes the following:

  • Support for Countries in addresses for Applicants and Customers
  • Documents attached to Orders
  • Enhancements to Order Adjustments and Order Status Detail Notes
  • User-defined Fields for Profiles
  • Service Due Dates, Groups and Country assignment

For a full list of the updates, go to the Gateway Documentation and review the update log at the end.

 

 
Gateway Web Services 2010.01 Released - Thursday, February 04, 2010

 

ClearStar.net is pleased to announce the release of version 2010.01 of Gateway Web Services.  The first major release of 2010 includes the following:

  • Support for Stremline Web Services

For a full list of the updates, go to the Gateway Documentation and review the update log at the end.

 

 
Gateway Web Services 2009.02 Released - Friday, November 06, 2009

 

ClearStar.net is pleased to announce the release of version 2009.02 of Gateway Web Services.  The second major release of 2009 includes new functionality including:

  • Document Storage support for Profiles
  • Ability to transmit a Profile with Credit Card information
  • Updated Documentation

For a full list of the updates, go to the Gateway Documentation and review the update log at the end.

 

 
Gateway Web Services Developer Community Launched - Thursday, May 28, 2009

Yesterday, was the official launch of this site, ClearStar.net's Gateway Web Services Developer Community.  This site will be the hub for developer communications, community development, and open source efforts.  Be sure to register to get the most out the Developer Community.  Additional features are available for registered users of ClearStar.net Business Owners, including:  posting in the discussion forums, viewing the documentation, and downloading example and open source code.

Here is the full press release.

 read more ...
Gateway Web Services 2009.01 Released - Friday, March 27, 2009

ClearStar.net is pleased to announce the release of version 2009.01 of Gateway Web Services.  The first major release of 2009 includes new functionality including:

  • Notification when Profiles are completed
  • Disclaimer notice support
  • Copy a Profile
  • Driver's License format validation
  • Updated documentation
  • And more ...

For a full list of the updates, go to the Gateway Documentation and review the update log at the end.

 

 

Privacy Statement  |  Terms Of Use
Copyright 2011 by ClearStar, Inc.