Menu: [ Home | Guidelines | BODs | Nouns | Global elements | WSDL | Packages | Code Lists | Master Index ]
Trace back: » YearsNumeric | pHLevel | ch06s03 | ch07s02 | ch07s03 »
Example 7.1. GetAssessmentCatalog - Example 1
The example below communicates a request to be applied against a test provider's catalog. The request communicates a query for all packages related to the competency "Verbal Comprehension." The ActionExpression scopes AssessmentCatalog/AssessmentPackage as the level to be evaluated and retrieved. Packages are selected where the field "CompetencyName" equals "Verbal Comprehension."
<?xml version="1.0" encoding="UTF-8"?> <GetAssessmentCatalog systemEnvironmentCode="Production" releaseID="3.0" languageCode="en-US" xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/GetAssessmentCatalog.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>2009-01-11T12:10:10.10Z</oa:CreationDateTime> </oa:ApplicationArea> <DataArea> <oa:Get uniqueIndicator="true" recordSetSaveIndicator="true" maxItems="2" recordSetReferenceId="normalizedString" recordSetStartNumber="2"> <oa:Expression>/GetAssessmentCatalog/AssessmentCatalog/AssessmentPackageDetails</oa:Expression> </oa:Get> <AssessmentCatalog languageCode="en-US"> <AssessmentPackage> <AssessmentApplicability> <AssessedCompetency> <CompetencyName>Verbal Comprehension</CompetencyName> </AssessedCompetency> </AssessmentApplicability> </AssessmentPackage> </AssessmentCatalog> </DataArea> </GetAssessmentCatalog> <!-- 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 7.2. ShowAssessmentCatalog - Example 1
Below is an example of the response to the above catalog query.
<?xml version="1.0" encoding="UTF-8"?> <ShowAssessmentCatalog 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/ShowAssessmentCatalog.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> <AssessmentCatalog> <SupplierParty> <PartyID>PSI_Example_Only</PartyID> </SupplierParty> <AssessmentPackage> <ID>EAS1</ID> <oa:Name>Employee Aptitude Survey Test #1 - Verbal Comprehension</oa:Name> <oa:Description> Employee Aptitude Survey Test #1 - Verbal Comprehension measures the ability to understand written words and the ideas associated with them. The test taker selects the synonym for a designated word from the four possibilities presented. This test is comprised of 30 multiple choice items and has a 5 minute time limit. It is designed to assess verbal ability. Employee Aptitude Survey Test #1 - Verbal Comprehension, Employee Aptitude Survey, and EAS are copyrights and marks owned by Psychological Services Inc.</oa:Description> <ParentGroupID>EAS</ParentGroupID> <AssessmentApplicability> <AssessedCompetency> <CompetencyID>A2</CompetencyID> <CompetencyName>Verbal Comprehension</CompetencyName> </AssessedCompetency> <JobCategoryCode listID="Functional Area">Sales</JobCategoryCode> <CareerLevelCode>Mid-Level</CareerLevelCode> <ApplicableRegion> <CountryCode>US</CountryCode> </ApplicableRegion> <ApplicableRegion> <CountryCode>CA</CountryCode> </ApplicableRegion> <ApplicableRegion> <CountryCode>MX</CountryCode> </ApplicableRegion> <AvailableLanguageCode>en-US</AvailableLanguageCode> <AvailableLanguageCode>fr-CA</AvailableLanguageCode> <AvailableLanguageCode>es-MX</AvailableLanguageCode> </AssessmentApplicability> <AssessmentAdministration> <ProctoredAssessmentIndicator>true</ProctoredAssessmentIndicator> <TimeEnforcedIndicator>true</TimeEnforcedIndicator> <TestDuration unitCode="minutes">5</TestDuration> <AssessmentDeliveryCode schedulingRequiredIndicator="true">online</AssessmentDeliveryCode> <AssessmentDeliveryCode schedulingRequiredIndicator="true">telephone</AssessmentDeliveryCode> </AssessmentAdministration> <AssessmentFulfillment> <ScoreProfileName>EAS1 Profile</ScoreProfileName> <ReportLanguageCode>en-US</ReportLanguageCode> </AssessmentFulfillment> </AssessmentPackage> </AssessmentCatalog> </DataArea> </ShowAssessmentCatalog> <!-- 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 7.3. NotifyAssessmentCatalog - Example 1
NotifyAssessmentCatalog would be use to push information to a customer about changes to existing packages, the availability of new packages, etc.
Per the verb guidelines, a NotifyAssessmentCatalog would be responded to with an AcknowledgeAssessmentCatalog.
<?xml version="1.0" encoding="UTF-8"?>
<NotifyAssessmentCatalog 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/NotifyAssessmentCatalog.xsd">
<oa:ApplicationArea>
<oa:CreationDateTime>2009-01-11T12:10:10.10Z</oa:CreationDateTime>
</oa:ApplicationArea>
<DataArea>
<oa:Notify>
<oa:ActionCriteria>
<oa:ActionExpression actionCode="Add">/NotifyAssessmentCatalog/DataArea/AssessmentCatalog</oa:ActionExpression>
</oa:ActionCriteria>
</oa:Notify>
<AssessmentCatalog>
<SupplierParty>
<PartyID>PSI_Example_Only</PartyID>
</SupplierParty>
<AssessmentPackage>
<ID>EAS1</ID>
<oa:Name>Employee Aptitude Survey Test #1 - Verbal Comprehension</oa:Name>
<oa:Description> Employee Aptitude Survey Test #1 - Verbal Comprehension measures the ability to understand written words and the ideas associated with them. The test taker selects the synonym for a designated word from the four possibilities presented. This test is comprised of 30 multiple choice items and has a 5 minute time limit. It is designed to assess verbal ability.
Employee Aptitude Survey Test #1 - Verbal Comprehension, Employee Aptitude Survey, and EAS are copyrights and marks owned by Psychological Services Inc.</oa:Description>
<ParentGroupID>EAS</ParentGroupID>
<AssessmentApplicability>
<AssessedCompetency>
<CompetencyID>A2</CompetencyID>
<CompetencyName>Verbal Comprehension</CompetencyName>
</AssessedCompetency>
<JobCategoryCode listID="Functional Area">Sales</JobCategoryCode>
<CareerLevelCode>Mid-Level</CareerLevelCode>
<ApplicableRegion>
<CountryCode>US</CountryCode>
</ApplicableRegion>
<ApplicableRegion>
<CountryCode>CA</CountryCode>
</ApplicableRegion>
<ApplicableRegion>
<CountryCode>MX</CountryCode>
</ApplicableRegion>
<AvailableLanguageCode>en-US</AvailableLanguageCode>
<AvailableLanguageCode>fr-CA</AvailableLanguageCode>
<AvailableLanguageCode>es-MX</AvailableLanguageCode>
</AssessmentApplicability>
<AssessmentAdministration>
<ProctoredAssessmentIndicator>true</ProctoredAssessmentIndicator>
<TimeEnforcedIndicator>true</TimeEnforcedIndicator>
<TestDuration unitCode="minutes">5</TestDuration>
<AssessmentDeliveryCode schedulingRequiredIndicator="true">online</AssessmentDeliveryCode>
<AssessmentDeliveryCode schedulingRequiredIndicator="true">telephone</AssessmentDeliveryCode>
</AssessmentAdministration>
<AssessmentFulfillment>
<ScoreProfileName>EAS1 Profile</ScoreProfileName>
<ReportLanguageCode>en-US</ReportLanguageCode>
</AssessmentFulfillment>
</AssessmentPackage>
</AssessmentCatalog>
</DataArea>
</NotifyAssessmentCatalog>
<!--
Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved
-->