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"
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/expenserequest/{expenseRequestId}/decline
Parameter name | Value | Description | Additional |
---|---|---|---|
expenseRequestId | int32 | Required | |
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete String resource, containing the following writable properties:
{}
Name | Type | Description |
---|
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox