Skip to content

Instantly share code, notes, and snippets.

@pulkitsinghal
Created March 4, 2014 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pulkitsinghal/9350348 to your computer and use it in GitHub Desktop.
Save pulkitsinghal/9350348 to your computer and use it in GitHub Desktop.
Example of assigning a payload in AssignMessage for APIGEE
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="assign-storeid">
<DisplayName>assign-storeid</DisplayName>
<Set>
<Payload contentType="application/json" variablePrefix="$" variableSuffix="%">{"storeId":"$storeId%"}</Payload>
</Set>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<AssignTo createNew="false" transport="http" type="request"/>
</AssignMessage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment