avatar rblalock Oct 15. 2009. 8:50 pm
I'm am planning out an AIR application and was going through the requirements. I noticed that the only way to retrieve a user via the API is by the people/companyid/userid way.

The issue I see is, if I'm trying to get the user info for a comment, in a discussion, the only thing I have access to is the userID (created_by_id). But the problem is, how can I use that to determine the user details if I have to have the companyID as well (which isn't available in the project/discussion/comments xml feeds.

Thanks for the help
avatar rblalock Oct 15. 2009. 9:22 pm
Another quickie: There's a typo on this page:
http://www.activecollab.com/docs/manuals/developers/api/files

/project/:project_id/files

should be

/projects/:project_id/files
avatar rblalock Oct 15. 2009. 9:59 pm
Attached is an image of something else I've found. It's for tickets. When getting a list of tickets (i.e. /projects/:project_id/tickets) it shows an ID that is different than the actual ticket.

In my example, a ticket ID I am trying to get is "1407" but it returns a 404 if I try the individual ticket method with that ID. If I enter "1" as the id it will show the ticket.
avatar Ilija Studen Staff Oct 16. 2009. 9:09 am
Lets go one thing at a time:

1. Thanks for reporting that problem, we'll see to introduce a way to reach user by user ID alone in one of the future releases.
2. Corrected, thanks.
3. ID field for tickets is OK, it's the unique project object ID. If you are looking for actual ticket ID, on project level, check for ticket_id field in API response.
avatar rblalock Oct 16. 2009. 9:11 am
Ah ok on #3. Makse sense.

for #1, it would be nice if there was just another node for user info. OR even better, the ability to get a users information without having to pass the company id.