Skip to content

Instantly share code, notes, and snippets.

View nialdarbey's full-sized avatar

Nial Darbey nialdarbey

View GitHub Profile
{
"results": [
{
"profile": {
"firstName": "IPAAS",
"email": "user1@ipassdemo.com"
},
"data": {
"interests": [
{
{
"FormBody": {
"LineItems": {
"LimeItemValue": [
],
"Item": [
{
"Code": "JKADS",
"Value": {
<?xml version="1.0" encoding="UTF-8"?>
<xs1:ValidResponse xmlns:xs1="http://www.example.com/fin">
<xs1:Header>
<xs1:Correlation>null</xs1:Correlation>
<xs1:Timestamp>2015-08-24T15:24:51-04:00</xs1:Timestamp>
</xs1:Header>
<xs1:FormBody>
<xs1:Account>
<xs1:Type>600</xs1:Type>
<xs1:ID>96907333</xs1:ID>
{
  "links": [
    {
      "href": "http://alainn-cosmetics.cloudhub.io/api/v1.0/items",
      "rel": "self"
    },
    {
      "href": "http://alainn-cosmetics.cloudhub.io/api/v1.0/items?pageIndex=2&pageSize=4",
 "rel": "next"
%dw 1.0
%namespace mes http://www.alainn.com/SOA/message/1.0
%namespace mod http://www.alainn.com/SOA/model/1.0
%output application/xml
---
mes#getItemsResponse: {
  mes#PageInfo: {
    pageIndex: inboundProperties."http.query.params".pageIndex,
 pageSize: sizeOf payload distinctBy $.item_id 
payload.weatherdata.forecast.time.@ payload.weatherdata.forecast.time.@from
{
 to: "2015-08-22T21:00:00",
.*time .*time.windSpeed .*time.windSpeed.description
[
.time .time.windSpeed .time.windSpeed.description
{
%dw 1.0 
%output application/json 
---
Simple Type Literal Array Literal Object Literal
'Hello world'