---
lang: en
title: 'API docs: rest.parseoperationargs'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.parseoperationargs.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [parseOperationArgs](./rest.parseoperationargs.md)

## parseOperationArgs() function

Parses the request to derive arguments to be passed in for the Application controller method

<b>Signature:</b>

```typescript
export declare function parseOperationArgs(request: Request, route: ResolvedRoute, requestBodyParser?: RequestBodyParser, options?: ValidationOptions): Promise<OperationArgs>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  request | Request | Incoming HTTP request |
|  route | [ResolvedRoute](./rest.resolvedroute.md) | Resolved Route |
|  requestBodyParser | [RequestBodyParser](./rest.requestbodyparser.md) |  |
|  options | [ValidationOptions](./rest.validationoptions.md) |  |

<b>Returns:</b>

Promise&lt;[OperationArgs](./rest.operationargs.md)<!-- -->&gt;


