Advertisement
Guest User

Untitled

a guest
Sep 16th, 2016
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. {
  2. "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
  3. "actions": {
  4. "Http": {
  5. "inputs": {
  6. "method": "GET",
  7. "uri": "http:/xxxx.azurewebsites.net/api/windmill/toggleMill/@{triggerBody()['windmill_id']}/@{triggerBody()['username']}/@{triggerBody()['enter']}"
  8. },
  9. "runAfter": {},
  10. "type": "Http"
  11. },
  12. "Response": {
  13. "inputs": {
  14. "statusCode": "@outputs('Http')['statusCode']"
  15. },
  16. "runAfter": {
  17. "Http": [
  18. "Succeeded",
  19. "Failed"
  20. ]
  21. },
  22. "type": "Response"
  23. }
  24. },
  25. "contentVersion": "1.0.0.0",
  26. "outputs": {},
  27. "parameters": {},
  28. "triggers": {
  29. "manual": {
  30. "inputs": {
  31. "schema": {
  32. "properties": {
  33. "enter": {
  34. "type": "boolean"
  35. },
  36. "username": {
  37. "type": "string"
  38. },
  39. "windmill_id": {
  40. "type": "integer"
  41. }
  42. },
  43. "required": [
  44. "username",
  45. "windmill_id",
  46. "enter"
  47. ],
  48. "type": "object"
  49. }
  50. },
  51. "kind": "Http",
  52. "type": "Request"
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement