POST api.ashx/v2/scripted
Executes a script by its ID. Any querystring and POST parameters are available to the script for processing. The response depends on the script being executed.
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| Id | Guid | Query String | The ID of the script to execute. | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.post({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/scripted?Id={Id}&Id=49fec544-6df7-4a82-872b-f8be586d5e9e',
data: {
'Id': '49fec544-6df7-4a82-872b-f8be586d5e9e'
}
}).then(function(response) {
// use response
});