Skip to end of metadata
Go to start of metadata

Introduction

This page covers Jitterbit variables that are available for hosted endpoints. Each of these variables is available to set (write):

Settings

jitterbit.networking.http.query.ParameterName

Variablejitterbit.networking.http.query.ParameterName

Data Type

String
DescriptionSet when handling a hosted web service call or a Hosted HTTP Endpoint. With ParameterName substituted by a URL query parameter name, this variable holds the corresponding value. This is for a URL query data of the type ?a=b&c=d.

jitterbit.networking.http.request.header.HeaderName

Variablejitterbit.networking.http.request.header.HeaderName

Data Type

String
DescriptionSet when handling a hosted web service call or a Hosted HTTP Endpoint. With HeaderName substituted by the name of an HTTP header, this variable holds the corresponding value. For example, the variable jitterbit.networking.http.request.header.Content-Type will hold the mime type of the body of the request.

jitterbit.networking.http.request.method

Variablejitterbit.networking.http.request.method

Data Type

String
DescriptionWhen an HTTP Endpoint is called, this variable is set to the method used (GET, PUT, and POST are the most common values).

jitterbit.networking.http.response.content_type

Variablejitterbit.networking.http.response.content_type

Data Type

String
Description

Set this variable to override the response content type for a Hosted HTTP Endpoint.

NOTE: Use either $jitterbit.networking.http.response.content_type or Get("jitterbit.networking.http.response.content-type").

jitterbit.networking.http.response.header.HeaderName

Variablejitterbit.networking.http.response.header.HeaderName

Data Type

String
DescriptionSet when handling an HTTP Endpoint to send back a custom Hosted HTTP header. Can be used to send back HTTP headers such as a location for redirect.

jitterbit.networking.http.response.status_code

Variablejitterbit.networking.http.response.status_code

Data Type

Integer
DescriptionSet this variable to override the response status code for a Hosted HTTP Endpoint. By default Jitterbit, returns the status code 200. This variable can be used to set a custom success code (2xx), redirect (3xx), client error (4xx), or server error (5xx). Illegal values will revert to 200.

jitterbit.networking.peer.ip

Variablejitterbit.networking.peer.ip

Data Type

String
DescriptionSet when handling a hosted web service call or a Hosted HTTP Endpoint. Holds the IP number of the host calling the web service or accessing the Hosted HTTP Endpoint.