Menu: [ Home | Guidelines | BODs | Nouns | Global elements | WSDL | Packages | Code Lists | Master Index ]
Trace back: » VerbType | YearsKnownNumber | YearsNumeric | pHLevel | ch06s03 »
Example 6.1. GetAssessmentReport - Example 1
This example and the next show AssessmentReport used in an operation to retrieve an assessment report or status.
<?xml version="1.0" encoding="UTF-8"?>
<GetAssessmentReport
systemEnvironmentCode="Production"
releaseID="3.0"
languageCode="en-US"
xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/GetAssessmentReport.xsd"
xmlns="http://www.hr-xml.org/3"
xmlns:oa="http://www.openapplications.org/oagis/9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<oa:ApplicationArea>
<oa:CreationDateTime>2008-04-05T12:08:10.10Z</oa:CreationDateTime>
</oa:ApplicationArea>
<DataArea>
<oa:Get uniqueIndicator="true" maxItems="2">
<oa:Expression>/GetAssessmentReport/DataArea/AssessmentReport</oa:Expression>
</oa:Get>
<AssessmentReport>
<OrderID schemeID="Test Order No" schemeAgencyID="AssessCo.com">100-777999-33</OrderID>
</AssessmentReport>
</DataArea>
</GetAssessmentReport>
<!--
Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved
-->
Example 6.2. ShowAssessmentReport - Example 1
The example below communicates an interim status (that the assessment has been scheduled) in response to the above query.
<?xml version="1.0" encoding="UTF-8"?> <ShowAssessmentReport systemEnvironmentCode="Production" releaseID="3.0" languageCode="en-US" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:oacl="http://www.openapplications.org/oagis/9/codelists" xmlns:qdt="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1" xmlns:udt="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/ShowAssessmentReport.xsd"> <oa:ApplicationArea> <oa:CreationDateTime>2008-04-05T12:10:10.10Z</oa:CreationDateTime> </oa:ApplicationArea> <DataArea> <oa:Show> <oa:OriginalApplicationArea> <oa:CreationDateTime>2008-04-05T12:08:10.10Z</oa:CreationDateTime> </oa:OriginalApplicationArea> <oa:ResponseCriteria> <oa:ResponseExpression actionCode="Accepted">/ShowAssessmentReport/DataArea/AssessmentReport</oa:ResponseExpression> </oa:ResponseCriteria> </oa:Show> <AssessmentReport> <OrderID schemeID="Test Order No" schemeAgencyID="AssessCo.com">100-777999-33</OrderID> <AssessmentResult> <AssessmentStatus> <AssessmentStatusCode validFrom="2008-04-05">Test Scheduled</AssessmentStatusCode> </AssessmentStatus> </AssessmentResult> </AssessmentReport> </DataArea> </ShowAssessmentReport> <!-- Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved -->
Example 6.3. NotifyAssessmentReport - Example 1
NotifyAssessmentReport is used to communicate a final assessment report or interim status (AssessmentStatus is a property of AssessmentReport/AssessmentResult). This generally would be sent by the assessment provider when calling a service hosted by the assessment requester. In other words, NotifyAssessmentReport is a "push" operation whereas GetAssessmentReport is a "pull":
The example below communicates assessment report with an "Order Complete" status.
<?xml version="1.0" encoding="UTF-8"?>
<NotifyAssessmentReport systemEnvironmentCode="Production" releaseID="3.0" languageCode="en-US"
xmlns="http://www.hr-xml.org/3"
xmlns:oa="http://www.openapplications.org/oagis/9"
xmlns:oacl="http://www.openapplications.org/oagis/9/codelists"
xmlns:qdt="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1"
xmlns:udt="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/NotifyAssessmentReport.xsd">
<oa:ApplicationArea>
<oa:CreationDateTime>2009-01-11T12:10:10.10Z</oa:CreationDateTime>
</oa:ApplicationArea>
<DataArea>
<oa:Notify>
<oa:ActionCriteria>
<oa:ActionExpression actionCode="Add">/NotifyAssessmentReport/DataArea/AssessmentReport</oa:ActionExpression>
</oa:ActionCriteria>
</oa:Notify>
<AssessmentReport>
<CustomerParty>
<PartyID schemeID="Client Number">C-1342</PartyID>
<PartyReportingIDs>
<ID schemeID="PO Number">53RR20031618</ID>
<ID schemeID="Department Name">Administration</ID>
</PartyReportingIDs>
</CustomerParty>
<AssessmentSubject>
<SubjectID schemeID="CandidateID">xrs1-99-5212345</SubjectID>
</AssessmentSubject>
<AssessmentResult validFrom="2009-01-11" validTo="2011-01-11">
<PackageID validFrom="2003-01-24">Acct.2002.r1</PackageID>
<AssessmentProfileID>Customer Service</AssessmentProfileID>
<AssessmentOverallResult>
<PassedIndicator>true</PassedIndicator>
<Score>
<ScoreNumeric scoreNumericCode="raw score">75</ScoreNumeric>
<ScoreNumeric scoreNumericCode="percentile">89</ScoreNumeric>
</Score>
<BandID>D</BandID>
</AssessmentOverallResult>
<TestInstance>
<AssessmentLanguageCode>en-US</AssessmentLanguageCode>
</TestInstance>
<Attachment validFrom="2009-01-11" validTo="2011-01-11">
<AttachmentID schemeID="ReportId">DR-12343-1</AttachmentID>
<oa:URI>https://integrate.e-testic.com/hrxml/report/detail?sk=197e23sa</oa:URI>
<DocumentDateTime>2008-03-08</DocumentDateTime>
<oa:FileType>text/html</oa:FileType>
<DocumentTitle>John Smith: Assessment Detailed Narrative Report</DocumentTitle>
<AccessCredentials>
<UserID>C1342</UserID>
<AccessCredential>
<AccessCredentialValue>498uqwz</AccessCredentialValue>
</AccessCredential>
</AccessCredentials>
</Attachment>
</AssessmentResult>
</AssessmentReport>
</DataArea>
</NotifyAssessmentReport>
<!--
Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved
-->
Example 6.4. Get AssessmentReport Status Request - Example 1
AssessmentStatus is a property of AssessmentReport. The recommended way to retrieve the status of an order is with a GetAssessmentReport request that includes the appropriate data management instructions. Below is an example of such a request:
This reqeust is designed to retrieve an Assessment Report where the following fields selection criteria are satisfied:
OrderID = 100-777999-33
@schemeAgencyID = AssessCo.com
@schemeID = Test Order No
<?xml version="1.0" encoding="UTF-8"?>
<GetAssessmentReport
systemEnvironmentCode="Production"
releaseID="3.0"
languageCode="en-US"
xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/GetAssessmentReport.xsd"
xmlns="http://www.hr-xml.org/3"
xmlns:oa="http://www.openapplications.org/oagis/9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<oa:ApplicationArea>
<oa:CreationDateTime>2008-04-05T12:08:10.10Z</oa:CreationDateTime>
</oa:ApplicationArea>
<DataArea>
<oa:Get uniqueIndicator="true" maxItems="2">
<oa:Expression>/GetAssessmentReport/DataArea/AssessmentReport</oa:Expression>
</oa:Get>
<AssessmentReport>
<OrderID schemeID="Test Order No" schemeAgencyID="AssessCo.com">100-777999-33</OrderID>
</AssessmentReport>
</DataArea>
</GetAssessmentReport>
<!--
Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved
-->