---
title: "RESTOperation"
id: "restoperation"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/restoperation"
updated: 2026-12-01T00:48:10Z
---

# RESTOperation

## Description

The RESTOperation object holds all the operation data associated with a RESTful web service.

 * * *

 ## Object Functions

getDefinition()
Description

Gets the RESTful definition.
 
Syntax

**getDefinition()**

* Parameters

None

* Returns

[RESTDefinition](/articles/user-manual/RESTDefinition) definition - The RESTful definition.

* Scope

All

getHeadersVariable()
Description

Gets the headers variable for the RESTful configuration.
 
Syntax

**getHeadersVariable()**

* Parameters

None

* Returns

[WSVariable](/articles/user-manual/WS-Variable) headersVariable - The headers variable for the RESTful configuration.

* Scope

All

getBodyVariable()
Description

Gets the body variable for the RESTful configuration.
 
Syntax

**getBodyVariable()**

* Parameters

None

* Returns

[WSVariable](/articles/user-manual/WS-Variable) bodyVariable - The body variable for the RESTful configuration.

* Scope

All

 © Sepasoft. All rights reserved. 
 [Send feedback](mailto:support@clickhelp.com) on this topic to Sepasoft.