Hi Bruce,
My problem is that I can't see how to define my data structure in the data pad
JSON data structure
"ShippingCodes": [
{
?code?: ?DHL?,
?description?: ?DHL Limited?,
?service?: [
{
?code?: ?NEXTDAY?,
?type?: ?Next Day?
}
{
?code?: ?PRE1?,
?type?: ?Before 1pm?
}
{
?code?: ?SAS1?,
?type?: ?Slow and Steady?
}
]
}
{
?code?: ?RM?,
?description?: ?Royal Mail?,
?service?: [
{
?code?: ?FIRST?,
?type?: ?Standard First Class?
}
{
?code?: ?PRIORTY?,
?type?: ?Priority Next Day?
}
]
}
]
So I need a Queue referenced within a Queue, which I can't work out a way of doing in the data pad, although I can do it in code:
shippingCodesQueue QUEUE,TYPE
code STRING(20) !Shipping Code
description STRING(100) !Shipping Code Description
services &serviceListType !Related Services
END
!Service list Structure
serviceListType QUEUE,TYPE
code STRING(20) !Shipping Service Code
description STRING(100) !Shipping Service Description
END
Is there some trick or work around to define the above in the data pad?