This function allows you to create a script as defined by the script data array.
|script data||array or object||Array of Script objects or a single object||scriptid shouldn't be specified|
|result||Operation successful. Result will contain array of created Script IDs. scriptid are assigned to each Script object|
|error||In case of any errors|
Create new script for all hosts and host groups:
Script created successfully:
Script already exists: