Hello @LeeJBS
You need to use the Parse JSON action.
Than you pass in the JSON as the output.
To get the schema, you can either:
a) Generate from sample and put a sample JSON message
OR
b) I have generated a sample for you, which can be pasted inside the schema box.
{
"type": "object",
"properties": {
"response": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"ref_device_id": {
"type": "integer"
},
"business_id": {
"type": "integer"
},
"esn": {
"type": "string"
},
"meid": {
"type": "string"
},
"imei": {
"type": "string"
},
"msn": {
"type": "string"
},
"status": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"managed": {
"type": "boolean"
},
"person_id": {
"type": "integer"
},
"generic_serial": {
"type": "string"
},
"liability": {
"type": "string"
},
"warehouse_status": {
"type": "string"
},
"external_id": {},
"full_device_profile": {
"type": "object",
"properties": {
"device_url": {
"type": "string"
}
}
},
"line_id": {},
"ref_device": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"image_file_name": {
"type": "string"
},
"sku": {
"type": "string"
},
"color": {
"type": "string"
},
"platform": {
"type": "string"
},
"product_category": {
"type": "string"
},
"manufacturer": {
"type": "string"
},
"consumer_sku": {
"type": "string"
},
"size": {
"type": "string"
},
"manufacturer_sku": {
"type": "string"
},
"carrier_name": {},
"supplier_sku": {}
}
},
"person": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name_last": {
"type": "string"
},
"name_first": {
"type": "string"
},
"name_middle": {},
"group_id": {
"type": "integer"
},
"email": {
"type": "string"
},
"login": {
"type": "string"
},
"employee_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"cost_center": {
"type": "string"
},
"active": {
"type": "boolean"
},
"customer_data": {
"type": "object",
"properties": {}
},
"group_name": {
"type": "string"
}
}
}
},
"required": [
"id",
"ref_device_id",
"business_id",
"esn",
"meid",
"imei",
"msn",
"status",
"created_at",
"updated_at",
"managed",
"person_id",
"generic_serial",
"liability",
"warehouse_status",
"external_id",
"full_device_profile",
"line_id",
"ref_device",
"person"
]
}
}
}
}
Now you will be able to use a Compose shape and select the dynamic value you want.
