This method is to be used to post applicant screening results back into ResMan after a request has been initiated by a ResMan user.
Parameters
Name | Description | Example | Required |
IntegrationPartnerID | The ID assigned to your company by ResMan | 1000 | Yes |
ApiKey | The API key assigned to your company by ResMan | a5w7d9g2m04… | Yes |
AccountID | The AccountID associated with the property | 400 | Yes |
PropertyID | The PropertyID associated with the property | 07413576-f764-44c6-be35-df4139deec01 | Yes |
Xml | The MITS 3.0 compliant xml containing the result of the screening request | See below | Yes |
Request
The following demonstrates one way of submitting a request to the PostApplicantScreening3_0 method using C#.
NameValueCollection postData = new NameValueCollection();
// Integration Partner values
postData["IntegrationPartnerID"] = "1000";
postData["ApiKey"] = "6aw7y9m3m04849lqld6em9sudl5fg01u";
// Account and property specific data
postData["AccountID"] = "400";
postData["PropertyID"] = "07413576-f764-44c6-be35-df4139deec01";
// Method specific parameters
postData["Xml"] = “<ApplicantScreening>...</ ApplicantScreening>”;
string url = "https://api.myresman.com/MITS/PostApplicantScreening3_0";
WebClient client = new WebClient();
byte[] response = client.UploadValues(url, "POST", postData);
string strResponse = System.Text.Encoding.Default.GetString(response);
Posting XML Parameter
The XML expected for this method call must conform to the MITS 3.0 Applicant Screening standard as follows.
<ApplicantScreening>
<Response>
<TransactionNumber>4353242</TransactionNumber>
<ReportDate>2012-05-12T15:12:23.1447596-05:00</ReportDate>
<ApplicantDecision>Approved</ApplicantDecision>
<ApplicationDecision>Approved</ApplicationDecision>
<BackgroundReport>
[HTML Screening Report Document]
</BackgroundReport>
<Status>Complete</Status>
</Response>
</ApplicantScreening>
Response
The returned xml will provide whether or not the screening result submitted was posted successfully.
<APIResult>
<MethodName>PostApplicantScreening3_0</MethodName>
<AccountID>400</AccountID>
<Status>Succcess</Status>
<Errors />
</APIResult>