VersaDev 
VersaDev
VersaDev
VersaDev
Delivering Business Software Solutions
Welcome Guest Search | Active Topics | Members | Log In | Register

Tasks recorded against Case Templates Options
Philip@versadev
Posted: Monday, January 19, 2009 2:27:30 PM
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.
avilinskiy
Posted: Tuesday, November 03, 2009 1:18:48 AM
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 "
Philip@versadev
Posted: Thursday, November 05, 2009 2:24:22 PM
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
avilinskiy
Posted: Thursday, November 12, 2009 10:22:51 AM
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?
Philip@versadev
Posted: Monday, November 16, 2009 3:31:36 PM
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
avilinskiy
Posted: Tuesday, November 17, 2009 12:16:44 AM
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()


Philip@versadev
Posted: Tuesday, November 17, 2009 9:09:51 AM
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

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.123 seconds.