Sends an email so that the user can reset their password

Request

POST https://keypay.yourpayroll.com.au/api/v2/ess/security/forgottenpassword

Request body

The request body takes a complete RecoverPasswordModel resource, containing the following writable properties:

{
    "messageType": "string",
    "username": "string"
}

Properties

Name Type Description
messageType string MessageTypeEnum

Possible values are:

  • NewPaySlipAvailable
  • NewUser
  • RecoverPassword
  • EmployeeAccess
  • BusinessAccess
  • CancelAccount
  • Invoice
  • InvoicePaymentSuccessNotification
  • AutomatedPassword
  • LeaveRequestNotification
  • RestrictedAccess
  • ResendPayslip
  • PaymentSummaryAvailable
  • SuperPaymentsUpdateResults
  • InvoicePaymentFailedNotification
  • NewShiftsPublished
  • ShiftsUnpublished
  • ShiftDeclined
  • KioskAccessGranted
  • DailyNotifications
  • BsbDataImported
  • InvoiceeCardDetailsRemoved
  • WhiteLabelManagerAccess
  • ResellerAccess
  • DirectDepositReminder
  • DataIntegrityCheckFailed
  • ExpenseRequestNotification
  • UnavailabilityNotification
  • ReportPackGenerated
  • ReportPackError
  • SystemPublicHolidayImport
  • TimesheetRejected
  • ShiftRepublished
  • PendingShiftsReminder
  • EmployeeShiftActionTimeout
  • InitiateEmployeeOnboarding
  • FollowUpEmployeeOnboarding
  • CompleteEmployeeOnboarding
  • NewShiftsPreAccepted
  • PayRunTaskNotification
  • ShiftSwapCancelled
  • BulkShiftSwapsCancelled
  • ShiftSwapAwaitingApproval
  • ShiftSwapProposed
  • ShiftSwapAccepted
  • ShiftSwapDeclined
  • ShiftSwapRejected
  • ShiftSwapApproved
  • P60Available
  • LeavingEmployeeFormNotification
  • AutoEnrolmentNotification
  • RtiNotification
  • DocumentNotificationInitial
  • DocumentNotificationInitialWithAcknowledgement
  • DocumentNotificationReminder
  • DocumentAcknowledgedNotification
  • InitiateEmployeeOnboardingAdmin
username string String

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK