XML request with all fields

Here's an example of an xml request with all fields for employee master file update using crossboarding.  In this example, ? is the character defined in the installation setting, cemv, to ignore these fields, but you can set this to any character.


XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cros="http://crossboarding.service.ess.empower.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <cros:UpdateEmployeesPersonalDetails>
         <Employees>
            <!--Zero or more repetitions:-->
            <Employee>
<!--Mandatory – all the fields will be ignored if not supplied--!>
            <EmployeeCode>000341</EmployeeCode>
            <Name>
                  <Surname>?</Surname>
                  <GivenNames>?</GivenNames>
                  <Title>?</Title>
                  <PreferredName>?</PreferredName>
           </Name>
           <BirthDate>05051965</BirthDate>
           <Gender>?</Gender>
  <GenderInformation>?</GenderInformation>
           <CountryOfOrigin>?</CountryOfOrigin>
           <ResidencyOrCitizenship>?</ResidencyOrCitizenship>
           <Nationality>?</Nationality>
           <Ethnicity>?</Ethnicity>
           <Indigenous>?</Indigenous>
           <DisabilityCategory>?</DisabilityCategory>
           <Honours>?</Honours>
           <UserName> </UserName>
           <alternateTemplate>?</alternateTemplate>
           <ReferenceNumber>?</ReferenceNumber>
           <Narrative>?</Narrative>
           <PrivatePhoneNumber>?</PrivatePhoneNumber>
           <PrivateMobile>?</PrivateMobile>
           <PrivateFax>?</PrivateFax>
           <PrivateEmail>?</PrivateEmail>
           <BusinessMobile>?</BusinessMobile>
           <BusinessFax>?</BusinessFax>
           <BusinessEmail>?</BusinessEmail>
           <FreeField1>?</FreeField1>
           <FreeField2>?</FreeField2>
           <FreeField7>?</FreeField7>
           <FreeField8>?</FreeField8>
           <BusinessPhone>?</BusinessPhone>
           <PrivateAddress>
                  <Address1>?</Address1>
                  <Address2>?</Address2>
                  <Suburb>?</Suburb>
                  <PostCode>?</PostCode>
                  <Country>?</Country>
                  <NewZealandOnly>
                     <TownOrCityOrMailtown>?</TownOrCityOrMailtown>
                     <PostCode>?</PostCode>
                  </NewZealandOnly>
               </PrivateAddress>
               <PostalAddress>
                  <Address1>?</Address1>
                  <Address2>?</Address2>
                  <Suburb>?</Suburb>
                  <PostCode>?</PostCode>
                  <Country>?</Country>
                  <NewZealandOnly>
                     <TownOrCityOrMailtown>?</TownOrCityOrMailtown>
                     <PostCode>?</PostCode>
                  </NewZealandOnly>
               </PostalAddress>
               <EmergencyContact1>
                  <Name>?</Name>
                  <Relationship>?</Relationship>
                  <Phone>?</Phone>
                  <WorkPhone>?</WorkPhone>
                  <Mobile>?</Mobile>
                  <Address>
                     <Address1>?</Address1>
                     <Address2>?</Address2>
                     <Suburb>?</Suburb>
                     <PostCode>?</PostCode>
                     <Country>?</Country>
                  </Address>
               </EmergencyContact1>
               <FreeField3>?</FreeField3>
               <EmergencyContact2>
                  <Name>?</Name>
                  <Relationship>?</Relationship>
                  <Phone>?</Phone>
                  <WorkPhone>?</WorkPhone>
                  <Mobile>?</Mobile>
                  <Address>
                     <Address1>?</Address1>
                     <Address2>?</Address2>
                     <Suburb>?</Suburb>
                     <PostCode>?</PostCode>
                     <Country>?</Country>
                  </Address>
               </EmergencyContact2>
               <FreeField4>?</FreeField4>
               <EmergencyContact3>
                  <Name>?</Name>
                  <Relationship>?</Relationship>
                  <Phone>?</Phone>
                  <WorkPhone>?</WorkPhone>
                  <Mobile>?</Mobile>
                  <Address>
                     <Address1>?</Address1>
                     <Address2>?</Address2>
                     <Suburb>?</Suburb>
                     <PostCode>?</PostCode>
                     <Country>?</Country>
                  </Address>
               </EmergencyContact3>
               <Religion>?</Religion>
               <MainLanguageSpokenAtHome>?</MainLanguageSpokenAtHome>
               <DisabilityType>?</DisabilityType>
               <WorkplaceModification>?</WorkplaceModification>
               <DateImplemented>?</DateImplemented>
               <DateLastReviewed>?</DateLastReviewed>
               <CarersResponsibility>?</CarersResponsibility>
               <HighestQualificationLevel>?</HighestQualificationLevel>
               <FieldOfStudy>?</FieldOfStudy>
               <FreeField9>?</FreeField9>
               <FreeField10>?</FreeField10> 
               <FreeField11>?</FreeField11> 
               <FreeField12>?</FreeField12>
               <FreeField13>?</FreeField13>
               <FreeField14>?</FreeField14>
              <GenderDiversity> 
              <GenderIdentity>?</GenderIdentity>
              <AdditionalGenderIdentityInformation>?</AdditionalGenderIdentityInformation>
              <SexualOrientation>?</SexualOrientation>
     <AdditionalSexualOrientationInformation>?</AdditionalSexualOrientationInformation>
              <Intersex>?</Intersex>
               </GenderDiversity>
     </Employee>
         </Employees>
      </cros:UpdateEmployeesPersonalDetails>
   </soapenv:Body>
</soapenv:Envelope>


Next topic

Overtime code fields





© 2023 Fusion5. All rights reserved.