Skip to main content
Feedback

Inject Model Attribute Headers Policy Configuration Values

Updated 3 July 2026

Configuration Values

The following configuration values can be defined while configuring Inject Model Attribute Headers Policy on the Call Transformation page:

Field nameTypeField ValueRequired/OptionalDescription
Processing AdapterStringcom.mashery.proxy.customer.generic.inject-modelattribute-header-connectorRequiredAdapter used to inject model attributes into HTTP headers.
Perform Pre-processingBooleanEnabled / DisabledWhen enabled, injects headers before the request is forwarded to the backend.
Data to make available for pre-processing (PreInput Value)Mapparams: {"<header-name>":"<model.fieldname>"}Optional

Supported model attributes:

- Plans (standard): name, package_id

- Packages (standard): name

- Applications (standard): name

- Applications (EAV): partner

Perform Post-processingBooleanEnabled / Disabled-When enabled, injects headers after the backend response is received.
Data to make available for post-processing (PostInput Value)Mapparams: {"<header-name>":"<model.fieldname>"}Optional

Supported model attributes:

- Applications (standard): name

- Applications (EAV): SchemaVersion

Examples

Data to make available for pre-processing

The following is an example value for Data to make available for pre-processing field.

params:{
"X-Mashery-Plan":"plans.name",
"X-Mashery-Package-ID":"plans.package_id",
"X-Mashery-Package":"packages.name",
"X-Mashery-Application":"applications.name",
"X-Mso-Partner":"applications.partner"
}

Data to make available for post-processing

The following is an example value for Data to make available for post-processing field.

params:{
"system":"applications.name",
"SchemaVersion":"applications.SchemaVersion"
}

Configuration Steps

You can configure this policy as a Processor using either of the following UIs. Refer to the following for configuration steps:

On this Page