Menu: [ Home | Guidelines | BODs | Nouns | Global elements | WSDL | Packages | Code Lists | Master Index ]
Trace back: » ch12s03 | ch13 | ch13s03 | ch14 | ch14s03 »
Example 14.1. ProcessEPMParticipant - Example 1
This example shows the addition of a single participant. SyncEPMParticipant might be more appropriate when mass changes are necessary.
<?xml version="1.0" encoding="UTF-8"?>
<ProcessEPMParticipant
systemEnvironmentCode="Production"
releaseID="3.0"
languageCode="en-US"
xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/ProcessEPMParticipant.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-08-13T10:09:02.01Z</oa:CreationDateTime>
</oa:ApplicationArea>
<DataArea>
<oa:Process acknowledgeCode="Always">
<oa:ActionCriteria>
<oa:ActionExpression actionCode="Add">/ProcessEPMParticipant/DataArea/EPMParticipant</oa:ActionExpression>
</oa:ActionCriteria>
</oa:Process>
<EPMParticipant validFrom="2009-08-13" languageCode="en-US">
<DocumentID>555-44-1111a</DocumentID>
<CustomerParty>
<PartyID>198-881</PartyID>
<PartyName>ABC Corp., Inc.</PartyName>
<PartyReportingIDs>
<ID schemeID="Unit">Headquarters</ID>
<ID schemeID="Department">Global Marketing</ID>
</PartyReportingIDs>
</CustomerParty>
<EPMParticipantDossier>
<EPMPerson>
<PersonName>
<oa:GivenName>John</oa:GivenName>
<MiddleName>K</MiddleName>
<FamilyName>Doe</FamilyName>
</PersonName>
<Communication><Address>
<oa:StreetName>123 Any Street Rd.</oa:StreetName>
<oa:CityName>Durham</oa:CityName>
<oa:CountrySubDivisionCode>NC</oa:CountrySubDivisionCode>
<oa:PostalCode>27705</oa:PostalCode></Address>
</Communication>
<Communication>
<ChannelCode>Telephone</ChannelCode>
<UseCode>home</UseCode>
<oa:CountryDialing>1</oa:CountryDialing>
<oa:AreaDialing>404</oa:AreaDialing>
<oa:DialNumber>798 5672</oa:DialNumber>
</Communication>
<GenderCode>Male</GenderCode>
<FreeFormBirthDate>
<FormattedDateTime>1961-04-01</FormattedDateTime>
</FreeFormBirthDate>
</EPMPerson>
<EPMEmployee>
<EmployeeID>110-01228-11</EmployeeID>
<EmploymentTermCode>Regular</EmploymentTermCode>
<ExecutiveIndicator>true</ExecutiveIndicator>
</EPMEmployee>
<EPMEmployment>
<EmploymentLifecycle>
<Hire>
<HireDate>2007-04-01</HireDate>
</Hire>
</EmploymentLifecycle>
</EPMEmployment>
<EPMDeployment>
<WorkLocation>
<Address>
<oa:BuildingNumber>830</oa:BuildingNumber>
<oa:StreetName>44th Street</oa:StreetName>
<oa:Unit>Suite 100</oa:Unit>
<oa:CityName>New York</oa:CityName>
<oa:CountrySubDivisionCode>NY</oa:CountrySubDivisionCode>
<CountryCode>US</CountryCode>
<oa:PostalCode>10021</oa:PostalCode>
</Address>
</WorkLocation>
<EPMPosition>
<PositionID schemeAgencyID="ABC Corp, Inc.">1085-0847771</PositionID>
<PositionCategoryCode listID="EmployeeLevelType">Executive</PositionCategoryCode>
<PositionCompetencyModelID schemeAgencyID="Talent Management, Inc." schemeID="ABC Executive Model">1085-88100</PositionCompetencyModelID>
<ReportsToPerson>
<PersonID schemeID="EmployeeID">110-01228-13</PersonID>
<PersonName>
<oa:GivenName>Bob</oa:GivenName>
<FamilyName>Smith</FamilyName>
</PersonName>
<RelationshipTypeCode>Supervisor</RelationshipTypeCode>
</ReportsToPerson>
</EPMPosition>
<AssignmentEntryReasonCode>Promotion</AssignmentEntryReasonCode>
<WorkLevelCode>FullTime</WorkLevelCode>
</EPMDeployment>
<RaterParticipation>
<RaterGroupCode>supervisor</RaterGroupCode>
</RaterParticipation>
</EPMParticipantDossier>
</EPMParticipant>
</DataArea>
</ProcessEPMParticipant>
<!--
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 14.2. AcknowledgeEPMParticipant - Example 1
This example is simply an acknowledgement of the message above. This shows that processing of the EPMParticipant with a DocumentID of "555-44-1111a" was "Accepted."
<?xml version="1.0" encoding="UTF-8"?>
<AcknowledgeEPMParticipant
systemEnvironmentCode="Production"
releaseID="3.0"
languageCode="en-US"
xsi:schemaLocation="http://www.hr-xml.org/3 ../Developer/BODs/AcknowledgeEPMParticipant.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-08-13T10:09:03.47Z</oa:CreationDateTime>
</oa:ApplicationArea>
<DataArea>
<oa:Acknowledge>
<oa:OriginalApplicationArea>
<oa:CreationDateTime>2009-08-13T10:09:02.01Z</oa:CreationDateTime>
</oa:OriginalApplicationArea>
<oa:ResponseCriteria>
<oa:ResponseExpression actionCode="Accepted">/AcknowledgeEPMParticipant/DataArea/EPMParticipant</oa:ResponseExpression>
</oa:ResponseCriteria>
</oa:Acknowledge>
<EPMParticipant validFrom="2009-08-13" languageCode="en-US">
<DocumentID>555-44-1111a</DocumentID>
</EPMParticipant>
</DataArea>
</AcknowledgeEPMParticipant>
<!--
Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org
Copyright (c) 1997-2009 Open Applications Group, Inc. All Rights Reserved
-->