ApiEndpoints.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. [
  2. {
  3. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  4. "Method": "\u003C\u003CMain\u003E$\u003Eb__6",
  5. "RelativePath": "articleCheck/{article}/{ID:int}",
  6. "HttpMethod": "GET",
  7. "IsController": false,
  8. "Order": 0,
  9. "Parameters": [
  10. {
  11. "Name": "article",
  12. "Type": "System.String",
  13. "IsRequired": true
  14. },
  15. {
  16. "Name": "ID",
  17. "Type": "System.Int32",
  18. "IsRequired": true
  19. }
  20. ],
  21. "ReturnTypes": [
  22. {
  23. "Type": "System.Int32",
  24. "MediaTypes": [
  25. "application/json"
  26. ],
  27. "StatusCode": 200
  28. }
  29. ]
  30. },
  31. {
  32. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  33. "Method": "\u003C\u003CMain\u003E$\u003Eb__11",
  34. "RelativePath": "material",
  35. "HttpMethod": "GET",
  36. "IsController": false,
  37. "Order": 0,
  38. "Parameters": [],
  39. "ReturnTypes": [
  40. {
  41. "Type": "System.Collections.Generic.List\u00601[[Material, app1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
  42. "MediaTypes": [
  43. "application/json"
  44. ],
  45. "StatusCode": 200
  46. }
  47. ]
  48. },
  49. {
  50. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  51. "Method": "\u003C\u003CMain\u003E$\u003Eb__5",
  52. "RelativePath": "minCostForAgent/{minCost:decimal}",
  53. "HttpMethod": "PUT",
  54. "IsController": false,
  55. "Order": 0,
  56. "Parameters": [
  57. {
  58. "Name": "minCost",
  59. "Type": "System.Decimal",
  60. "IsRequired": true
  61. },
  62. {
  63. "Name": "ids",
  64. "Type": "System.Int32[]",
  65. "IsRequired": true
  66. }
  67. ],
  68. "ReturnTypes": [
  69. {
  70. "Type": "System.Void",
  71. "MediaTypes": [],
  72. "StatusCode": 200
  73. }
  74. ]
  75. },
  76. {
  77. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  78. "Method": "\u003C\u003CMain\u003E$\u003Eb__0",
  79. "RelativePath": "product",
  80. "HttpMethod": "GET",
  81. "IsController": false,
  82. "Order": 0,
  83. "Parameters": [
  84. {
  85. "Name": "pageNum",
  86. "Type": "System.Nullable\u00601[[System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
  87. "IsRequired": false
  88. }
  89. ],
  90. "ReturnTypes": [
  91. {
  92. "Type": "System.Collections.Generic.List\u00601[[Product, app1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
  93. "MediaTypes": [
  94. "application/json"
  95. ],
  96. "StatusCode": 200
  97. }
  98. ]
  99. },
  100. {
  101. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  102. "Method": "\u003C\u003CMain\u003E$\u003Eb__1",
  103. "RelativePath": "product",
  104. "HttpMethod": "POST",
  105. "IsController": false,
  106. "Order": 0,
  107. "Parameters": [
  108. {
  109. "Name": "newProduct",
  110. "Type": "Product",
  111. "IsRequired": true
  112. }
  113. ],
  114. "ReturnTypes": [
  115. {
  116. "Type": "System.Void",
  117. "MediaTypes": [],
  118. "StatusCode": 200
  119. }
  120. ]
  121. },
  122. {
  123. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  124. "Method": "\u003C\u003CMain\u003E$\u003Eb__3",
  125. "RelativePath": "product",
  126. "HttpMethod": "PUT",
  127. "IsController": false,
  128. "Order": 0,
  129. "Parameters": [
  130. {
  131. "Name": "editProduct",
  132. "Type": "Product",
  133. "IsRequired": true
  134. }
  135. ],
  136. "ReturnTypes": [
  137. {
  138. "Type": "System.Void",
  139. "MediaTypes": [],
  140. "StatusCode": 200
  141. }
  142. ]
  143. },
  144. {
  145. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  146. "Method": "\u003C\u003CMain\u003E$\u003Eb__2",
  147. "RelativePath": "product/{id:int}",
  148. "HttpMethod": "DELETE",
  149. "IsController": false,
  150. "Order": 0,
  151. "Parameters": [
  152. {
  153. "Name": "id",
  154. "Type": "System.Int32",
  155. "IsRequired": true
  156. }
  157. ],
  158. "ReturnTypes": [
  159. {
  160. "Type": "System.Void",
  161. "MediaTypes": [],
  162. "StatusCode": 200
  163. }
  164. ]
  165. },
  166. {
  167. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  168. "Method": "\u003C\u003CMain\u003E$\u003Eb__9",
  169. "RelativePath": "productCostHistory/{ID:int}",
  170. "HttpMethod": "DELETE",
  171. "IsController": false,
  172. "Order": 0,
  173. "Parameters": [
  174. {
  175. "Name": "ID",
  176. "Type": "System.Int32",
  177. "IsRequired": true
  178. }
  179. ],
  180. "ReturnTypes": [
  181. {
  182. "Type": "System.Void",
  183. "MediaTypes": [],
  184. "StatusCode": 200
  185. }
  186. ]
  187. },
  188. {
  189. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  190. "Method": "\u003C\u003CMain\u003E$\u003Eb__4",
  191. "RelativePath": "productCount",
  192. "HttpMethod": "GET",
  193. "IsController": false,
  194. "Order": 0,
  195. "Parameters": [],
  196. "ReturnTypes": [
  197. {
  198. "Type": "System.Int32",
  199. "MediaTypes": [
  200. "application/json"
  201. ],
  202. "StatusCode": 200
  203. }
  204. ]
  205. },
  206. {
  207. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  208. "Method": "\u003C\u003CMain\u003E$\u003Eb__12",
  209. "RelativePath": "productMaterial",
  210. "HttpMethod": "POST",
  211. "IsController": false,
  212. "Order": 0,
  213. "Parameters": [
  214. {
  215. "Name": "material",
  216. "Type": "ProductMaterial",
  217. "IsRequired": true
  218. }
  219. ],
  220. "ReturnTypes": [
  221. {
  222. "Type": "System.Void",
  223. "MediaTypes": [],
  224. "StatusCode": 200
  225. }
  226. ]
  227. },
  228. {
  229. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  230. "Method": "\u003C\u003CMain\u003E$\u003Eb__8",
  231. "RelativePath": "productMaterial/{ID:int}",
  232. "HttpMethod": "DELETE",
  233. "IsController": false,
  234. "Order": 0,
  235. "Parameters": [
  236. {
  237. "Name": "ID",
  238. "Type": "System.Int32",
  239. "IsRequired": true
  240. }
  241. ],
  242. "ReturnTypes": [
  243. {
  244. "Type": "System.Void",
  245. "MediaTypes": [],
  246. "StatusCode": 200
  247. }
  248. ]
  249. },
  250. {
  251. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  252. "Method": "\u003C\u003CMain\u003E$\u003Eb__10",
  253. "RelativePath": "productMaterial/{ID:int}",
  254. "HttpMethod": "GET",
  255. "IsController": false,
  256. "Order": 0,
  257. "Parameters": [
  258. {
  259. "Name": "ID",
  260. "Type": "System.Int32",
  261. "IsRequired": true
  262. }
  263. ],
  264. "ReturnTypes": [
  265. {
  266. "Type": "System.Collections.Generic.List\u00601[[ProductMaterial, app1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
  267. "MediaTypes": [
  268. "application/json"
  269. ],
  270. "StatusCode": 200
  271. }
  272. ]
  273. },
  274. {
  275. "ContainingType": "Program\u002B\u003C\u003Ec__DisplayClass0_0",
  276. "Method": "\u003C\u003CMain\u003E$\u003Eb__7",
  277. "RelativePath": "saleCount/{ID:int}",
  278. "HttpMethod": "GET",
  279. "IsController": false,
  280. "Order": 0,
  281. "Parameters": [
  282. {
  283. "Name": "ID",
  284. "Type": "System.Int32",
  285. "IsRequired": true
  286. }
  287. ],
  288. "ReturnTypes": [
  289. {
  290. "Type": "System.Int32",
  291. "MediaTypes": [
  292. "application/json"
  293. ],
  294. "StatusCode": 200
  295. }
  296. ]
  297. }
  298. ]