Retrieves expense request for the specified business which manager can access

Request

GET https://apisg.yourpayroll.io/api/v2/business/{businessId}/manager/expense

Path parameters

Parameter name Value Description Additional
businessId string Required

Query parameters

Parameter name Value Description Additional
filter.status string

Possible values are:

  • Pending
  • Approved
  • Cancelled
  • Declined
  • Processed
filter.fromDate date-time
filter.toDate date-time
filter.employeeId int32
filter.locationId int32
filter.expenseCategoryId int32
filter.groupBy string

Possible values are:

  • Employee
  • ExpenseCategory
filter.currentPage int32
filter.pageSize int32

Response

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

Status code Description Resource
200 OK

OK

PagedResultModel<ManagerExpenseRequestModel>