|
|
Rank: Administration Groups: Administration
, Member
Joined: 11/20/2008 Posts: 46 Points: 41 Location: Australia
|
The below method can be used to record a Task against a Case Template.Steps are; (1) Create your Task Template as required ( What are tasks - how are they used) (2) Create your Case Template as required - Take note of the Case Template ID! ( Use of Call Templates & Call Update Templates (Video)) (3) Add your Tasks to your Case Template. (4) Create a URL Link (see example below) and place somewhere covenient (for example in the 'Quick Links' page (The Quick Links page can be found by clicking the Quick Links menu button in the bottom left corner of the versaSRS application). Example 1: http://<SERVER NAME>/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate?intTemplateID=26&datReqDueDate=2009/10/01%2010:00:00%20AM IF you follow the URL syntax, you will see that the above URL will create a new Call based on Template Id =26, including any Task Templates and set call Due Date to 2009/10/01 10:00:00 AM (then also setting relevant Task Due Dates based on your Call and Task template definitions). Example 2: http://<SERVER NAME>/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate_DefaultDueDate?intTemplateID=26 The Example 2 URL syntax does not specify a due date therefore it will inherit the Queue due date by default.
|
|
Rank: Newbie Groups: Member
Joined: 11/3/2009 Posts: 9 Points: 27 Location: Staten Island, NY, USA
|
tried "http://rumcweb1/versasrs/services/system_service/system.asmx/LogNewCallByTemplate?intTemplateID=25"
returned:
"Server Error in '/VersaSRS' Application.
Request format is unrecognized for URL unexpectedly ending in '/LogNewCallByTemplate'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/LogNewCallByTemplate'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/LogNewCallByTemplate'.] System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +490982 System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +104 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 "
|
|
Rank: Administration Groups: Administration
, Member
Joined: 11/20/2008 Posts: 46 Points: 41 Location: Australia
|
Hi,
The URL you are using is actually incorrect.
You are using:
http://rumcweb1/versasrs/services/system_service/system.asmx/LogNewCallByTemplate?intTemplateID=25
The correct URL would be:
http://rumcweb1/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate?intTemplateID=25
Give this a try and see how you go.
Cheers, Philip
|
|
Rank: Newbie Groups: Member
Joined: 11/3/2009 Posts: 9 Points: 27 Location: Staten Island, NY, USA
|
right you are - works now.
To change additional properties I understand I'd use &[dat/int/str][property]=[value]
Like fore exmaple - if I want to log a ticket and specify solution do I use:
http://servername/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate?intTemplateID=25&datReqDueDate=2009/10/01%2010:00:00%20AM&strSolution=TESTING
is there a list of properties that can be found somewhere?
|
|
Rank: Administration Groups: Administration
, Member
Joined: 11/20/2008 Posts: 46 Points: 41 Location: Australia
|
Hi,
No this will not work. I have included a link below which will show the available supported functions. If you click the LogNewCallByTemplate link you will be shown what paramaters are available. Note: in order to access the link you will need to be on the server where you have versaSRS Web Services installed.
http://rumcweb1/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate
The way that you can insert a solution at the call logging level is with xml call logging which is only available to either Professional or Enterprise versions of versaSRS
Cheers, Philip
|
|
Rank: Newbie Groups: Member
Joined: 11/3/2009 Posts: 9 Points: 27 Location: Staten Island, NY, USA
|
Philip@versadev wrote:Hi,
No this will not work. I have included a link below which will show the available supported functions. If you click the LogNewCallByTemplate link you will be shown what paramaters are available. Note: in order to access the link you will need to be on the server where you have versaSRS Web Services installed.
http://rumcweb1/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate
The way that you can insert a solution at the call logging level is with xml call logging which is only available to either Professional or Enterprise versions of versaSRS
Cheers, Philip I've put in "http://rumcweb1/versasrswebservices/services/system_service/system.asmx/LogNewCallByTemplate" on the server and got: System.InvalidOperationException: Missing parameter: intTemplateID. at System.Web.Services.Protocols.ValueCollectionParameterReader.Read(NameValueCollection collection) at System.Web.Services.Protocols.UrlParameterReader.Read(HttpRequest request) at System.Web.Services.Protocols.HttpServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
|
|
Rank: Administration Groups: Administration
, Member
Joined: 11/20/2008 Posts: 46 Points: 41 Location: Australia
|
Hi,
Try the below link from the server and see how you go.
http://localhost/versasrswebservices/services/system_service/system.asmx
Cheers, Philip
|
|
|
Guest |