---
title: "RESTDefinition"
id: "restdefinition"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/restdefinition"
updated: 2026-12-01T00:44:49Z
---

# RESTDefinition

## Description

The RESTDefinition object holds all of the information defining a type of RESTful configuration.

 * * *

 ## Object Functions

getRequestHeaderVariables()
Description

Gets the request header variables for the RESTful configuration.
 
Syntax

**getRequestHeaderVariables()**

* Parameters

None

* Returns

List&lt;[WSVariable](/articles/user-manual/WS-Variable)&gt; requestHeaderVariables - The request header variables for the RESTful configuration.

* Scope

All

getRequestItems()
Description

Gets the request items.
 
Syntax

**getRequestItems()**

* Parameters

None

* Returns

[RESTItems](/articles/user-manual/RESTItems) requestItems - The request items for the RESTful configuration.

* Scope

All

getResponseBodyVariables()
Description

Gets the response body variables for the RESTful configuration.
 
Syntax

**getResponseBodyVariables()**

* Parameters

None

* Returns

List&lt;[WSVariable](/articles/user-manual/WS-Variable)&gt; responseBodyVariables - The response body variables for the RESTful configuration.

* Scope

All

getResponseItems()
Description

Gets the response items.
 
Syntax

**getResponseItems()**

* Parameters

None

* Returns

[RESTItems](/articles/user-manual/RESTItems) responseItems - The response items for the RESTful configuration.

* Scope

All

setRequestItems(requestItems)
Description

Sets the request items.
 
Syntax

**setRequestItems(requestItems)**

* Parameters

[RESTItems](/articles/user-manual/RESTItems) requestItems - The request items for the RESTful configuration.

* Returns

Nothing

* Scope

All

setResponseItems(responseItems)
Description

Sets the response items.
 
Syntax

**setResponseItems(responseItems)**

* Parameters

[RESTItems](/articles/user-manual/RESTItems) responseItems - The response items for the RESTful configuration.

* Returns

Nothing

* Scope

All

 © Sepasoft. All rights reserved. 
 [Send feedback](mailto:support@clickhelp.com) on this topic to Sepasoft.