SetEarningsNumberOfUnits
URL

https://go.paycycle.com.au/API/PayRun/PayRun.svc/SetEarningsNumberOfUnits

Description

This method allows the number of units for the currently active pay run to be set.

Input

    <SetEarningsNumberOfUnitsRequest xmlns="http://api.paycycle.com.au/v1.0">

        <ApiKey/>00000000-0000-0000-0000-000000000000</ApiKey>

        <AuthorisationKey/>00000000-0000-0000-0000-000000000000</AuthorisationKey>

        <EmployeesUnits>

            <EmployeeUnits>

                <EmployeeID/>7403</EmployeeID>

                <StartDate/>2011-04-06T00:00:00</StartDate>

                <EndDate/>2011-04-12T00:00:00</EndDate>

                <NumberOfUnits/>150</NumberOfUnits>

            </EmployeeUnits>

            <EmployeeUnits>

                <EmployeeID/>21403</EmployeeID>

                <StartDate/>2011-04-06T00:00:00</StartDate>

                <EndDate/>2011-04-12T00:00:00</EndDate>

                <NumberOfUnits/>33.5</NumberOfUnits>

                <RatePerUnit/>21.2545</RatePerUnit>

            </EmployeeUnits>

        </EmployeesUnits>

    </SetEarningsNumberOfUnitsRequest>

Output

    <SetEarningsNumberOfUnitsResponse xmlns="http://api.paycycle.com.au/v1.0">

        <Status/>OK</Status>

        <ErrorDescription/></ErrorDescription>

    </SetEarningsNumberOfUnitsResponse>

 

Note that the RatePerUnit is optional. If not specified, the employees ordinary earnings rate will be used.