Declines the expense request with the specified ID. The request body should just be a string, enclosed in double quotes, for the Decline Reason. Do not encase in {} eg. "Not a valid expense request"

Request

POST https://apimy.yourpayroll.io/api/v2/business/{businessId}/employee/{employeeId}/expenserequest/{expenseRequestId}/decline

Path parameters

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

Request body

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

{}

Properties

Name Type Description

Response

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

Status code Description Resource
200 OK

OK