Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

259 rader
6.3 KiB

  1. {
  2. "meta": {
  3. "options": {
  4. "linkedFile": "/views/dspec.ejs",
  5. "linkedForm": "frm_dspecsubmit"
  6. },
  7. "$_POST": [
  8. {
  9. "type": "text",
  10. "fieldName": "dspecrev",
  11. "name": "dspecrev"
  12. },
  13. {
  14. "type": "text",
  15. "fieldName": "dspeceffectivedate",
  16. "name": "dspeceffectivedate"
  17. },
  18. {
  19. "type": "text",
  20. "fieldName": "dspecpnid",
  21. "name": "dspecpnid"
  22. },
  23. {
  24. "type": "text",
  25. "fieldName": "dspecstatusid",
  26. "name": "dspecstatusid"
  27. },
  28. {
  29. "type": "text",
  30. "fieldName": "dspecreasonforchange",
  31. "name": "dspecreasonforchange"
  32. },
  33. {
  34. "type": "text",
  35. "fieldName": "dspecvalidation",
  36. "name": "dspecvalidation"
  37. },
  38. {
  39. "type": "text",
  40. "fieldName": "dspecnotes",
  41. "name": "dspecnotes"
  42. }
  43. ]
  44. },
  45. "exec": {
  46. "steps": {
  47. "name": "api",
  48. "module": "api",
  49. "action": "send",
  50. "options": {
  51. "method": "POST",
  52. "url": "{{$_ENV.API_BASEURL+'designspecs/altin'}}",
  53. "dataType": "json",
  54. "data": {
  55. "id": null,
  56. "revisionlevel": "{{$_POST.dspecrev}}",
  57. "partnumber": {
  58. "id": "{{$_POST.dspecpnid}}",
  59. "secondaryvendor": {},
  60. "status": {
  61. "id": 4
  62. },
  63. "partcode": {
  64. "id": 16
  65. },
  66. "replacedby": {},
  67. "replaces": {},
  68. "primaryvendor": {}
  69. },
  70. "status": {
  71. "id": "{{$_POST.dspecstatusid}}"
  72. },
  73. "effectivedate": "{{$_POST.dspeceffectivedate}}",
  74. "reasonforchange": "{{$_POST.dspecreasonforchange}}",
  75. "validation": "{{$_POST.dspecvalidation}}",
  76. "note": "{{$_POST.dspecnotes}}"
  77. },
  78. "schema": [
  79. {
  80. "type": "object",
  81. "name": "data",
  82. "sub": [
  83. {
  84. "type": "text",
  85. "name": "id"
  86. },
  87. {
  88. "type": "text",
  89. "name": "revisionlevel"
  90. },
  91. {
  92. "type": "object",
  93. "name": "partnumber",
  94. "sub": [
  95. {
  96. "type": "number",
  97. "name": "id"
  98. },
  99. {
  100. "type": "object",
  101. "name": "secondaryvendor"
  102. },
  103. {
  104. "type": "object",
  105. "name": "status",
  106. "sub": [
  107. {
  108. "type": "number",
  109. "name": "id"
  110. }
  111. ]
  112. },
  113. {
  114. "type": "object",
  115. "name": "partcode",
  116. "sub": [
  117. {
  118. "type": "number",
  119. "name": "id"
  120. }
  121. ]
  122. },
  123. {
  124. "type": "object",
  125. "name": "replacedby"
  126. },
  127. {
  128. "type": "object",
  129. "name": "replaces"
  130. },
  131. {
  132. "type": "object",
  133. "name": "primaryvendor"
  134. }
  135. ]
  136. },
  137. {
  138. "type": "object",
  139. "name": "status",
  140. "sub": [
  141. {
  142. "type": "number",
  143. "name": "id"
  144. }
  145. ]
  146. },
  147. {
  148. "type": "text",
  149. "name": "effectivedate"
  150. },
  151. {
  152. "type": "text",
  153. "name": "reasonforchange"
  154. },
  155. {
  156. "type": "text",
  157. "name": "validation"
  158. },
  159. {
  160. "type": "text",
  161. "name": "note"
  162. }
  163. ]
  164. }
  165. ]
  166. },
  167. "output": true,
  168. "meta": [
  169. {
  170. "type": "object",
  171. "name": "data",
  172. "sub": [
  173. {
  174. "type": "text",
  175. "name": "id"
  176. },
  177. {
  178. "type": "text",
  179. "name": "revisionlevel"
  180. },
  181. {
  182. "type": "object",
  183. "name": "partnumber",
  184. "sub": [
  185. {
  186. "type": "number",
  187. "name": "id"
  188. },
  189. {
  190. "type": "object",
  191. "name": "secondaryvendor"
  192. },
  193. {
  194. "type": "object",
  195. "name": "status",
  196. "sub": [
  197. {
  198. "type": "number",
  199. "name": "id"
  200. }
  201. ]
  202. },
  203. {
  204. "type": "object",
  205. "name": "partcode",
  206. "sub": [
  207. {
  208. "type": "number",
  209. "name": "id"
  210. }
  211. ]
  212. },
  213. {
  214. "type": "object",
  215. "name": "replacedby"
  216. },
  217. {
  218. "type": "object",
  219. "name": "replaces"
  220. },
  221. {
  222. "type": "object",
  223. "name": "primaryvendor"
  224. }
  225. ]
  226. },
  227. {
  228. "type": "object",
  229. "name": "status",
  230. "sub": [
  231. {
  232. "type": "number",
  233. "name": "id"
  234. }
  235. ]
  236. },
  237. {
  238. "type": "text",
  239. "name": "effectivedate"
  240. },
  241. {
  242. "type": "text",
  243. "name": "reasonforchange"
  244. },
  245. {
  246. "type": "text",
  247. "name": "validation"
  248. },
  249. {
  250. "type": "text",
  251. "name": "note"
  252. }
  253. ]
  254. }
  255. ],
  256. "outputType": "object"
  257. }
  258. }
  259. }