Declines the Expense Request with the specified ID.

Request

POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/manager/{employeeId}/expense/{expenseRequestId}/decline

Path parameters

Parameter name Value Description Additional
employeeId int32 Required
expenseRequestId int32 Required
businessId string Required

Request body

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

{
    "reason": "string"
}

Properties

Name Type Description
reason string String

Response

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

Status code Description Resource
200 OK

OK

ManagerExpenseRequestModel