Pega API time and expenses example mobile app (employee)
As an employee using a mobile time and expense app, you want to be able to submit time and expense reports and view their status.
Follow these steps to submit a report:
- Log in to the mobile VPN.
- Open the Time and Expenses app (call the Pega API GET /casetypes).
- Select an expense report from the list.
- Complete the expense report.
- Submit the expense report (call the Pega API POST /cases).
Follow these steps to view case status:
- Log in to the mobile VPN.
- Open the Time and Expenses app and click the Status tab (call Pega API GET /cases).
- View any available expense reports.
- Select a specific case for more details (call Pega API GET /cases/ID).
The following diagram shows the employee workflow for submitting expense reports and view status.