25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

165 lines
3.5 KiB

  1. {
  2. "meta": {
  3. "options": {
  4. "linkedFile": "/views/dspec2.ejs",
  5. "linkedForm": "frm_all"
  6. },
  7. "$_POST": [
  8. {
  9. "type": "text",
  10. "fieldName": "hdnpartnumber",
  11. "name": "hdnpartnumber"
  12. },
  13. {
  14. "type": "text",
  15. "fieldName": "hdnparttyp",
  16. "name": "hdnparttyp"
  17. },
  18. {
  19. "type": "text",
  20. "fieldName": "hdnpartcode",
  21. "name": "hdnpartcode"
  22. },
  23. {
  24. "type": "text",
  25. "fieldName": "partid",
  26. "name": "partid"
  27. },
  28. {
  29. "type": "text",
  30. "fieldName": "parttypes",
  31. "name": "parttypes"
  32. },
  33. {
  34. "type": "text",
  35. "fieldName": "partcodes",
  36. "name": "partcodes"
  37. },
  38. {
  39. "type": "text",
  40. "fieldName": "description",
  41. "name": "description"
  42. },
  43. {
  44. "type": "text",
  45. "fieldName": "comments",
  46. "name": "comments"
  47. }
  48. ]
  49. },
  50. "exec": {
  51. "steps": {
  52. "name": "api",
  53. "module": "api",
  54. "action": "send",
  55. "options": {
  56. "url": "{{$_ENV.API_BASEURL+'partnumbers/alt'}}",
  57. "method": "POST",
  58. "dataType": "json",
  59. "data": {
  60. "number": "{{$_POST.hdnpartnumber}}",
  61. "statusid": "1",
  62. "description": "{{$_POST.description}}",
  63. "comments": "{{$_POST.comments}}",
  64. "id": null,
  65. "partcodeid": "{{$_POST.hdnpartcode}}",
  66. "parttypeid": "{{$_POST.hdnparttyp}}"
  67. },
  68. "schema": [
  69. {
  70. "type": "object",
  71. "name": "data",
  72. "sub": [
  73. {
  74. "type": "text",
  75. "name": "number"
  76. },
  77. {
  78. "type": "number",
  79. "name": "id"
  80. },
  81. {
  82. "type": "text",
  83. "name": "description"
  84. },
  85. {
  86. "type": "text",
  87. "name": "comments"
  88. }
  89. ]
  90. },
  91. {
  92. "type": "object",
  93. "name": "headers",
  94. "sub": [
  95. {
  96. "type": "text",
  97. "name": "connection"
  98. },
  99. {
  100. "type": "text",
  101. "name": "content-length"
  102. },
  103. {
  104. "type": "text",
  105. "name": "content-type"
  106. },
  107. {
  108. "type": "text",
  109. "name": "date"
  110. }
  111. ]
  112. }
  113. ]
  114. },
  115. "output": true,
  116. "meta": [
  117. {
  118. "type": "object",
  119. "name": "data",
  120. "sub": [
  121. {
  122. "type": "text",
  123. "name": "number"
  124. },
  125. {
  126. "type": "number",
  127. "name": "id"
  128. },
  129. {
  130. "type": "text",
  131. "name": "description"
  132. },
  133. {
  134. "type": "text",
  135. "name": "comments"
  136. }
  137. ]
  138. },
  139. {
  140. "type": "object",
  141. "name": "headers",
  142. "sub": [
  143. {
  144. "type": "text",
  145. "name": "connection"
  146. },
  147. {
  148. "type": "text",
  149. "name": "content-length"
  150. },
  151. {
  152. "type": "text",
  153. "name": "content-type"
  154. },
  155. {
  156. "type": "text",
  157. "name": "date"
  158. }
  159. ]
  160. }
  161. ],
  162. "outputType": "object"
  163. }
  164. }
  165. }