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.
 
 
 

67 rader
1.4 KiB

  1. {
  2. "meta": {
  3. "$_GET": [
  4. {
  5. "type": "text",
  6. "name": "firstname"
  7. },
  8. {
  9. "type": "text",
  10. "name": "lastname"
  11. },
  12. {
  13. "type": "text",
  14. "name": "email"
  15. }
  16. ]
  17. },
  18. "exec": {
  19. "steps": [
  20. {
  21. "name": "identity",
  22. "module": "auth",
  23. "action": "identify",
  24. "options": {
  25. "provider": "auth"
  26. },
  27. "output": true,
  28. "meta": []
  29. },
  30. {
  31. "name": "strId",
  32. "module": "core",
  33. "action": "setvalue",
  34. "options": {
  35. "key": "g_strId",
  36. "value": "{{identity.toString()}}"
  37. },
  38. "meta": [],
  39. "outputType": "text"
  40. },
  41. {
  42. "name": "api",
  43. "module": "api",
  44. "action": "send",
  45. "options": {
  46. "url": "{{$_ENV.API_BASEURL+'users/insert'}}",
  47. "method": "POST",
  48. "dataType": "json",
  49. "data": {
  50. "id": "{{strId}}",
  51. "createuserid": -1,
  52. "updatedate": "{{NOW}}",
  53. "lastname": "{{$_GET.lastname}}",
  54. "firstname": "{{$_GET.firstname}}",
  55. "updateuserid": -1,
  56. "password": null,
  57. "isactive": true,
  58. "username": null,
  59. "createdate": "{{NOW}}",
  60. "email": "{{$_GET.email}}"
  61. }
  62. },
  63. "output": true
  64. }
  65. ]
  66. }
  67. }