Gemini API
Hi,
I am looking at using the Gemini API. I want to add a issue to our gemini database when we recieve a email into a certain email box. I have got the email bit working using windows services but I want to be able to automatically create a issue. What parts of the API do I use??
Thanks
Marc Garraway
marc.garraway
· 1 |
|
Monday, September 7, 2009, 2:22:53 PM |
0
|
Hi Marc. Please refer to our API guide. |
||||
|
0
|
Hi, I have looked at the api guide and I have done everything it says and I am now getting a exception being thrown "Root element is missing." this my code
|
||||
|
0
|
Which line causes the exception? |
||||
|
0
|
Hi, |
||||
|
0
|
What Gemini version are you using? http://countersoft.com/downloads/v354/CounterSoftGeminiAPISamplesv354.zip |
||||
|
0
|
Hi, We are using the latest version 3.5.4 I have downloaded the application and using my login details. when I try and use the applciaiton it thrown an exception and I am unable to create an issue. |
||||
|
0
|
Try setting the IssueTypeId? The API recommends it (I know it says it's not mandatory, but worth a shot?) |
||||
|
0
|
I have updated the code and added _issue.IssueType = 1; this is no "issueTypeID" when you use intellisense, this is the nearest thing to it. but again it is still not working |
||||
|
0
|
Are there any errors in Gemini's error log? |
||||
|
0
|
Yeah sorry that's the one I meant. Forgot it wasn't named with ID. |
||||
|
0
|
where do I find that, I have looked in the system at SLAWEBADDRESSHERE/admin/ErrorLog.aspx and there is nothing in it |
||||
|
0
|
this is the project defaults http://twitpic.com/gybv2 |
||||
|
0
|
I'm probably quite wrong, but doesn't it need a component selected? |
||||
|
0
|
I had it working, I have now come back to it and I get an error CounterSoft.Gemini.Commons.Rest.GeminiRestException: Exception has been thrown by the target of an invocation. at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url,Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r) at CounterSoft.Gemini.WebServices.IssuesService.CreatePartialIssue(IssueEN issue) at GeminiExchange.Program.Main(String[] args) in C:\Users\mxg\Documents\Visual Studio 2008\Projects\GeminiExchange\GeminiExchange\Program.cs:line 34 This is my source code
string txtURL = details.url; string txtUserName = details.username; string txtPassword = details.password;
|
||||
|
0
|
Do you have defualt values set? |
||||
|
0
|
these are my defaults http://twitpic.com/ixv5i/full I am getting a new error |
||||
|
0
|
when i ask for a inner exception I get NullReferenceException was unhandled Object reference not set to an instance of an object. |
||||
|
0
|
Is it possible for you to send us your database and code? |
||||
|
0
|
sent countersoft support a email |
||||
|
0
|
The issue type used was not a valid id. |
||||
|
0
|
thanks for the email, solved it, it was an incorrect ID |
||||
|