Problem with the GetProjectAttributes method
Hi guys,
Im actually working on a plugin for the new version of Gemini (3.5.3), and I got a problem with the GetProjectsAttributes method.
When Im using the method this way: ProjectsService.GetProjectAttributes (ProjectId), Im getting this error:
Error generated: 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.ProjectsService.GetProjectAttributes(Int32 projectId)
But when Im using the method: ProjectsService.GetProjectAttribute(ProjectId, 24) , with the number 24 that is the attributeId from the database, it works. So im gonna need some help to find a way to get the attributeId without using an SQL procedure or else finding a way to use the GetProjectAttributes(ProjectId) method...
Thank you in advance,
Eugene
emorin
· 1 |
|
Wednesday, July 22, 2009, 9:41:12 PM |