project siput.postman_collection.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. {
  2. "info": {
  3. "_postman_id": "8d5e0aed-5143-4a95-8a48-e11342142913",
  4. "name": "project siput",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6. },
  7. "item": [
  8. {
  9. "name": "Get By ID template program",
  10. "request": {
  11. "method": "GET",
  12. "header": [],
  13. "url": {
  14. "raw": "http://localhost/siput-new/api/template-program/1",
  15. "protocol": "http",
  16. "host": [
  17. "localhost"
  18. ],
  19. "path": [
  20. "siput-new",
  21. "api",
  22. "template-program",
  23. "1"
  24. ]
  25. }
  26. },
  27. "response": []
  28. },
  29. {
  30. "name": "Get template program",
  31. "request": {
  32. "method": "GET",
  33. "header": [],
  34. "url": {
  35. "raw": "http://localhost/siput-new/api/template-program",
  36. "protocol": "http",
  37. "host": [
  38. "localhost"
  39. ],
  40. "path": [
  41. "siput-new",
  42. "api",
  43. "template-program"
  44. ]
  45. }
  46. },
  47. "response": []
  48. },
  49. {
  50. "name": "create template program",
  51. "request": {
  52. "method": "POST",
  53. "header": [
  54. {
  55. "key": "Accept",
  56. "value": "application/json",
  57. "type": "default"
  58. }
  59. ],
  60. "body": {
  61. "mode": "raw",
  62. "raw": "{\r\n \"nama\": \"test\",\r\n \"status\": 2,\r\n \"created_by\": \"user\"\r\n}",
  63. "options": {
  64. "raw": {
  65. "language": "json"
  66. }
  67. }
  68. },
  69. "url": {
  70. "raw": "http://localhost/siput-new/api/template-program/create",
  71. "protocol": "http",
  72. "host": [
  73. "localhost"
  74. ],
  75. "path": [
  76. "siput-new",
  77. "api",
  78. "template-program",
  79. "create"
  80. ]
  81. }
  82. },
  83. "response": []
  84. },
  85. {
  86. "name": "get item program",
  87. "protocolProfileBehavior": {
  88. "disableBodyPruning": true
  89. },
  90. "request": {
  91. "method": "GET",
  92. "header": [
  93. {
  94. "key": "Accept",
  95. "value": "application/json",
  96. "type": "default"
  97. }
  98. ],
  99. "body": {
  100. "mode": "raw",
  101. "raw": "{\r\n \"nama\": \"test\",\r\n \"status\": 2,\r\n \"created_by\": \"user\"\r\n}",
  102. "options": {
  103. "raw": {
  104. "language": "json"
  105. }
  106. }
  107. },
  108. "url": {
  109. "raw": "http://localhost/siput-new/api/item-program",
  110. "protocol": "http",
  111. "host": [
  112. "localhost"
  113. ],
  114. "path": [
  115. "siput-new",
  116. "api",
  117. "item-program"
  118. ]
  119. }
  120. },
  121. "response": []
  122. },
  123. {
  124. "name": "create item program",
  125. "request": {
  126. "method": "POST",
  127. "header": [
  128. {
  129. "key": "Accept",
  130. "value": "application/json",
  131. "type": "default"
  132. }
  133. ],
  134. "body": {
  135. "mode": "raw",
  136. "raw": "{\r\n \"id_template\": 3,\r\n \"kolom\": \"test\",\r\n \"created_by\": \"user\",\r\n \"tipe_kolom\": \"test\",\r\n \"order_by\": \"DESC\"\r\n}",
  137. "options": {
  138. "raw": {
  139. "language": "json"
  140. }
  141. }
  142. },
  143. "url": {
  144. "raw": "http://localhost/siput-new/api/item-program/create",
  145. "protocol": "http",
  146. "host": [
  147. "localhost"
  148. ],
  149. "path": [
  150. "siput-new",
  151. "api",
  152. "item-program",
  153. "create"
  154. ]
  155. }
  156. },
  157. "response": []
  158. },
  159. {
  160. "name": "update item program",
  161. "request": {
  162. "method": "PUT",
  163. "header": [
  164. {
  165. "key": "Accept",
  166. "value": "application/json",
  167. "type": "default"
  168. }
  169. ],
  170. "body": {
  171. "mode": "raw",
  172. "raw": "{\r\n \"id_template\": 3,\r\n \"kolom\": \"test\",\r\n \"modified_by\": \"user\",\r\n \"tipe_kolom\": \"test\",\r\n \"order_by\": \"DESC\"\r\n}",
  173. "options": {
  174. "raw": {
  175. "language": "json"
  176. }
  177. }
  178. },
  179. "url": {
  180. "raw": "http://localhost/siput-new/api/item-program/update/{id}",
  181. "protocol": "http",
  182. "host": [
  183. "localhost"
  184. ],
  185. "path": [
  186. "siput-new",
  187. "api",
  188. "item-program",
  189. "update",
  190. "{id}"
  191. ]
  192. }
  193. },
  194. "response": []
  195. }
  196. ]
  197. }