i cant figure this out,
1 - I have a Json Call that creates a Sales Order with multiple items structured that works on the API connector screen
{
“OrderNbr”: {
“value”: “” },
“OrderType”: {
“value”: “SO”},
“CustomerID”: {
“value”: “XXXXXXX”},
“CustomerOrder”: {
“value”: “STG21002”},
“Details”: [
{ “InventoryID”: {
“value”: “MON101ESS” },
“OrderQty”: {
“value”: “16.0000”}
},
{ “InventoryID”: {
“value”: “MON102ESS”},
“OrderQty”: {
“value”: “16.0000” }
}
]
}
2 - I can set up a Body (JSON object, use <> for dynamic values) and plug in the values directly on the variable screen and the call works.
{
“OrderNbr”: {
“value”: “” },
“OrderType”: {
“value”: “SO”},
“CustomerID”: {
“value”: “XXXXXXX”},
“CustomerOrder”: {
“value”: “STG21002”},
“Details”: [
]
}
3 - I have managed to create the list of items using the format as text function to pass in to the variable but that does not work even if a save the values from the list on to a custom state to the be used on the call
Copy the values formatted as text on to the custom state
Response whey the put call is made using the intentory posted from the formatted as text
Any Ideas ???