webapp.http 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. @ss1488medniybikCBO_HostAddress = http://localhost:5101
  2. GET {{ss1488medniybikCBO_HostAddress}}/weatherforecast/
  3. Accept: application/json
  4. ###
  5. GET {{ss1488medniybikCBO_HostAddress}}/product
  6. Accept: application/json
  7. ###
  8. POST {{ss1488medniybikCBO_HostAddress}}/product
  9. Content-Type: application/json
  10. {
  11. "ID": 0,
  12. "Title": "Test",
  13. "ProductTypeID": 2,
  14. "ArticleNumber": "123"
  15. }
  16. ###
  17. DELETE {{ss1488medniybikCBO_HostAddress}}/product/103
  18. ###
  19. GET {{ss1488medniybikCBO_HostAddress}}/productCount
  20. Accept: application/json
  21. ###
  22. PUT {{ss1488medniybikCBO_HostAddress}}/minCostForAgent/1000
  23. Content-Type: application/json
  24. [102, 101, 100]
  25. ###
  26. GET {{ss1488medniybikCBO_HostAddress}}/articleCheck/266521/3
  27. Accept: application/json
  28. ###
  29. GET {{ss1488medniybikCBO_HostAddress}}/saleCount/12
  30. Accept: application/json
  31. ###
  32. DELETE {{ss1488medniybikCBO_HostAddress}}/productMaterial/4
  33. Accept: application/json
  34. ###
  35. DELETE {{ss1488medniybikCBO_HostAddress}}/productCostHistory/1
  36. Accept: application/json
  37. ###
  38. GET {{ss1488medniybikCBO_HostAddress}}/productMaterial/4
  39. Accept: application/json
  40. ###
  41. GET {{ss1488medniybikCBO_HostAddress}}/material
  42. Accept: application/json
  43. ###
  44. POST {{ss1488medniybikCBO_HostAddress}}/productMaterial
  45. Content-Type: application/json
  46. {
  47. "ProductId": 5,
  48. "MaterialId": 5,
  49. "Count": 5
  50. }