Rewrite using returnValues as implicit arguments
This commit is contained in:
parent
30936ad638
commit
af295f945a
@ -17,8 +17,43 @@
|
|||||||
{
|
{
|
||||||
"key": "item-1-id",
|
"key": "item-1-id",
|
||||||
"value": "response.payload.data[0].id",
|
"value": "response.payload.data[0].id",
|
||||||
|
"type": "unsignedInt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-description",
|
||||||
|
"value": "response.payload.data[0].description",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-picture-file-name",
|
||||||
|
"value": "response.payload.data[0].pictureFileName",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-picture-uri",
|
||||||
|
"value": "response.payload.data[0].pictureUri",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-catalog-type-id",
|
||||||
|
"value": "response.payload.data[0].catalogTypeId",
|
||||||
|
"type": "unsignedInt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-catalog-type",
|
||||||
|
"value": "response.payload.data[0].catalogType",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-catalog-brand-id",
|
||||||
|
"value": "response.payload.data[0].catalogBrandId",
|
||||||
|
"type": "unsignedInt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-catalog-brand",
|
||||||
|
"value": "response.payload.data[0].catalogBrand",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "item-1-name",
|
"key": "item-1-name",
|
||||||
"value": "response.payload.data[0].name",
|
"value": "response.payload.data[0].name",
|
||||||
@ -31,9 +66,24 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "item-1-avialable-stock",
|
"key": "item-1-avialable-stock",
|
||||||
"value": "response.payload.data[0].availablestock",
|
"value": "response.payload.data[0].availableStock",
|
||||||
"type": "unsignedInt"
|
"type": "unsignedInt"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-restock-threshold",
|
||||||
|
"value": "response.payload.data[0].restockThreshold",
|
||||||
|
"type": "unsignedInt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-max-stock-threshold",
|
||||||
|
"value": "response.payload.data[0].maxStockThreshold",
|
||||||
|
"type": "unsignedInt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "item-1-on-reorder",
|
||||||
|
"value": "response.payload.data[0].onReorder",
|
||||||
|
"type": "bool"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "item-2",
|
"key": "item-2",
|
||||||
"value": "response.payload.data[1]",
|
"value": "response.payload.data[1]",
|
||||||
@ -42,7 +92,7 @@
|
|||||||
{
|
{
|
||||||
"key": "item-2-id",
|
"key": "item-2-id",
|
||||||
"value": "response.payload.data[1].id",
|
"value": "response.payload.data[1].id",
|
||||||
"type": "string"
|
"type": "unsignedInt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "item-2-name",
|
"key": "item-2-name",
|
||||||
@ -67,7 +117,7 @@
|
|||||||
{
|
{
|
||||||
"key": "item-3-id",
|
"key": "item-3-id",
|
||||||
"value": "response.payload.data[2].id",
|
"value": "response.payload.data[2].id",
|
||||||
"type": "string"
|
"type": "unsignedInt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "item-3-name",
|
"key": "item-3-name",
|
||||||
|
@ -5,55 +5,7 @@
|
|||||||
{
|
{
|
||||||
"name": "user-id",
|
"name": "user-id",
|
||||||
"type": "guid"
|
"type": "guid"
|
||||||
},
|
}
|
||||||
{
|
|
||||||
"name": "item-1-id",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-1-name",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-1-price",
|
|
||||||
"type": "unsignedInt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-1-available-stock",
|
|
||||||
"type": "unsignedInt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-2-id",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-2-name",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-2-price",
|
|
||||||
"type": "unsignedInt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-2-available-stock",
|
|
||||||
"type": "unsignedInt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-3-id",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-3-name",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-3-price",
|
|
||||||
"type": "unsignedInt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "item-3-available-stock",
|
|
||||||
"type": "unsignedInt"
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
"operations": [
|
"operations": [
|
||||||
{
|
{
|
||||||
|
@ -20,20 +20,20 @@
|
|||||||
"key": "item-1",
|
"key": "item-1",
|
||||||
"value":
|
"value":
|
||||||
{
|
{
|
||||||
"id": "@@op-1.response.data[0].id@@"
|
"id": "{{item-1-id}}",
|
||||||
"name": "@@op-1.response.data[0].name@@"
|
"name": "{{item-1-name}}",
|
||||||
"description": "@@op-1.response.data[0].description@@"
|
"description": "{{item-1-description}}",
|
||||||
"price": "{{new-price}}"
|
"price": "{{new-price}}",
|
||||||
"pictureFileName": "@@op-1.response.data[0].pictureFileName@@"
|
"pictureFileName": "{{item-1-picture-file-name}}",
|
||||||
"pictureUri": "@@op-1.response.data[0].pictureUri@@"
|
"pictureUri": "{{item-1-picture-uri}}",
|
||||||
"catalogTypeId": "@@op-1.response.data[0].catalogTypeId@@"
|
"catalogTypeId": "{{item-1-catalog-type-id}}",
|
||||||
"catalogType": "@@op-1.response.data[0].catalogType@@"
|
"catalogType": "{{item-1-catalog-type}}",
|
||||||
"catalogBrandId": "@@op-1.response.data[0].catalogBrandId@@"
|
"catalogBrandId": "{{item-1-catalog-brand-id}}",
|
||||||
"catalogBrand": "@@op-1.response.data[0].catalogBrand@@"
|
"catalogBrand": "{{item-1-catalog-brand}}}",
|
||||||
"availableStock": "@@op-1.response.data[0].availableStock@@"
|
"availableStock": "{{item-1-avialable-stock}}",
|
||||||
"restockThreshold": "@@op-1.response.data[0].restockThreshold@@"
|
"restockThreshold": "{{item-1-restock-threshold}}",
|
||||||
"maxStockThreshold": "@@op-1.response.data[0].maxStockThreshold@@"
|
"maxStockThreshold": "{{item-1-max-stock-threshold}}",
|
||||||
"onReorder": "@@op-1.response.data[0].onReorder@@"
|
"onReorder": "{{item-1-on-reorder}}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user