Welcome, Guest Login

Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Requesting an analyse for a project

Scott Johnson Apr 08, 2017 07:27PM CEST

I have a Project id of 10055401 from the api/v3/project/list end point. I want to see the analyses for it. I tried to send the post:


But I get the error:

Argument "analyse" of type "domain(Analyse)" does not accept value "10055401"

What does your domain type look like in a post?



Up 0 rated Down
Jakub Janickovic Apr 08, 2017 08:46PM CEST Memsource Help Center Agent

Dear Scott,
thank you for your question.
The analyse/get call allows you to specify the domain (ID) if the analysis which you wish to receive in the response. It is an equivalent of opening the particular analysis in the UI itself. The problem with your call is that the 10055401 is the ID of the project while the analyse/get call expects the ID of the particular analysis.
If you wish to receive all the analyses based on a project, you would need to use analyse/listByProject.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found