{"action":"opened","issue":{"url":"https://api.github.com/repos/azureautomation/azure-automation-ise-addon/issues/105","repository_url":"https://api.github.com/repos/azureautomation/azure-automation-ise-addon","labels_url":"https://api.github.com/repos/azureautomation/azure-automation-ise-addon/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/azureautomation/azure-automation-ise-addon/issues/105/comments","events_url":"https://api.github.com/repos/azureautomation/azure-automation-ise-addon/issues/105/events","html_url":"https://github.com/azureautomation/azure-automation-ise-addon/issues/105","id":139479806,"number":105,"title":"Starting Runbook via Azure API, Portal, or ISE Add-On yields “input parameter type mismatch” error","user":{"login":"JoeBrockhaus","id":5933609,"avatar_url":"https://avatars.githubusercontent.com/u/5933609?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeBrockhaus","html_url":"https://github.com/JoeBrockhaus","followers_url":"https://api.github.com/users/JoeBrockhaus/followers","following_url":"https://api.github.com/users/JoeBrockhaus/following{/other_user}","gists_url":"https://api.github.com/users/JoeBrockhaus/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeBrockhaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeBrockhaus/subscriptions","organizations_url":"https://api.github.com/users/JoeBrockhaus/orgs","repos_url":"https://api.github.com/users/JoeBrockhaus/repos","events_url":"https://api.github.com/users/JoeBrockhaus/events{/privacy}","received_events_url":"https://api.github.com/users/JoeBrockhaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T05:32:00Z","updated_at":"2016-03-09T05:32:00Z","closed_at":null,"body":"Described on StackOverflow [here](http://stackoverflow.com/questions/35640552/starting-runbook-via-azure-api-portal-or-ise-add-on-yields-input-parameter-ty/35640582#35640582). \r\n\r\nGiven a simple runbook:\r\n```\r\nworkflow test\r\n{\r\n    [CmdletBinding()]\r\n    param([string] $NumericString)\r\n\r\n    write-output $NumericString\r\n}\r\n```\r\n\r\nWhen starting it with a numeric value (ie: 5) via the Azure Portal as a new Job (published), via the Test Pane, or using the Azure Automation PowerShell ISE Add-On, the following error is returned and the execution Fails.\r\n\r\n> The values provided for the root activity's arguments did not satisfy the root activity's requirements: 'DynamicActivity': Expected an input parameter value of type 'System.String' for parameter named 'Numeric'. Parameter name: rootArgumentValues\r\n\r\n[This appears](http://stackoverflow.com/questions/35640552/starting-runbook-via-azure-api-portal-or-ise-add-on-yields-input-parameter-ty/35640582#comment59233546_35780456) to be something the API is handling strangely, as the JSON that is passed contains valid string data for the property, but it is being interpreted incorrectly and requires extra quote escaping to work. "}}