You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
679 B

  1. {
  2. "id": "basket-add-item",
  3. "type": "http",
  4. "httpMethod": "post",
  5. "arguments": [
  6. {
  7. "name": "buyerId",
  8. "required": true,
  9. "type": "guid"
  10. },
  11. {
  12. "name": "item-1",
  13. "required": true,
  14. "type": "object"
  15. },
  16. {
  17. "name": "item-2",
  18. "required": true,
  19. "type": "object"
  20. },
  21. {
  22. "name": "item-3",
  23. "required": true,
  24. "type": "object"
  25. }
  26. ],
  27. "requestPayload": {
  28. "type": "json",
  29. "content": {
  30. "buyerId": "{{buyerId}}",
  31. "items": [
  32. "{{item-1}}",
  33. "{{item-2}}",
  34. "{{item-3}}"
  35. ]
  36. }
  37. },
  38. "url": "http://localhost:5101/catalog-api/api/v1/Basket"
  39. }