__adapter_config__
__adapter_config__ -> {}
Exposes properties of an adapter config to be overridden using field mappings or in lifecycle hooks.
A service request's payload may optionally have an __adapter_config__ field added to it. When present, the keys and values of the __adapter_config__ dictionary override the corresponding entries in the adapter config that would normally be used.
Values stored within Field Mappings do not have the same encryption methods as fields set directly on adapter configs.
Do not put sensitive information, including API secrets / passwords, in field mappings or lifecycle hooks.
The __adapter_config__ field can either be set directly on the payload in a hook:
my_service_request.payload.__adapter_config__ = {
"username" : "override_username",
"host" : "other.website.com"
}Or equivalently, individual fieldmappings can be created like below
FIELD: __adapter_config__.username
VALUE: "temporary_username"
FIELD: __adapter_config__.host
VALUE: "other.website.com"Last updated
Was this helpful?