Menu: [ Home | Guidelines | BODs | Nouns | Global elements | WSDL | Packages | Code Lists | Master Index ]
Trace back: » ch07s03 | ch08 | ch08s03 | ch09 | ch09s03 »
Example 9.1. ProcessUserAccount - Example 1
The following is a simple example illustrating how the noun might be used in provisioning a screening service provider system with a user account.
<?xml version="1.0" encoding="UTF-8"?> <ProcessUserAccount systemEnvironmentCode="Production" releaseID="3.0" languageCode="en-US" xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/ProcessUserAccount.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-10-15T10:09:02.01Z</oa:CreationDateTime> <oa:BODID>PC2009-11-17-7476</oa:BODID> </oa:ApplicationArea> <DataArea> <oa:Process> <oa:ActionCriteria> <oa:ActionExpression actionCode="Add">/ProcessUserAccount/DataArea/UserAccount</oa:ActionExpression> </oa:ActionCriteria> </oa:Process> <UserAccount> <DocumentID>123456</DocumentID> <VersionID>7</VersionID> <Party> <PartyID schemeID="PDQ Screening Client ID">1236787680</PartyID> </Party> <UserID schemeID="Acme Inc. Employee ID">Z9876512367</UserID> <PersonName> <FormattedName>Bob Smith</FormattedName> <oa:GivenName>Bob</oa:GivenName> <MiddleName>J</MiddleName> <FamilyName>Smith</FamilyName> </PersonName> <Communication> <ChannelCode>Telephone</ChannelCode> <UseCode>office</UseCode> <oa:AreaDialing>612</oa:AreaDialing> <oa:DialNumber>444-7777</oa:DialNumber> </Communication> <Communication> <ChannelCode>Fax</ChannelCode> <UseCode>office</UseCode> <oa:AreaDialing>612</oa:AreaDialing> <oa:DialNumber>444-4321</oa:DialNumber> </Communication> <Communication> <ChannelCode>Email</ChannelCode> <UseCode>office</UseCode> <oa:URI>bsmith@acmeinccorp.com</oa:URI> </Communication> <UserRole> <RoleCode>501</RoleCode> <RoleName>Recruiter</RoleName> </UserRole> <AuthorizedWorkScope> <WorkScopeCode>100-1</WorkScopeCode> <WorkScopeName>Create_Packages Permissions</WorkScopeName> </AuthorizedWorkScope> <AuthorizedWorkScope> <WorkScopeCode>100-2</WorkScopeCode> <WorkScopeName>Do_Mgmnt_Reports Permissions</WorkScopeName> </AuthorizedWorkScope> <AuthorizedWorkScope> <WorkScopeCode>100-4</WorkScopeCode> <WorkScopeName>Order_Adhoc Permissions</WorkScopeName> </AuthorizedWorkScope> <AuthorizedWorkScope> <WorkScopeCode>100-5</WorkScopeCode> <WorkScopeName>Show_EEOC Permissions</WorkScopeName> </AuthorizedWorkScope> <AccountConfiguration> <UserOptionCode>Use_Profiles_Only</UserOptionCode> <UserOptionCode>Default_Reference_Number Defaults</UserOptionCode> <UserOptionCode>Default_Client_Code Defaults</UserOptionCode> <UserOptionCode>Report_Type Defaults</UserOptionCode> <UserOptionCode>Report_Method Defaults</UserOptionCode> </AccountConfiguration> <GoverningAgreementID schemeAgencyID="Acme Corp">2007-09-07-Acme-PDQ-01</GoverningAgreementID> </UserAccount> </DataArea> </ProcessUserAccount> <!-- Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved -->