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:

api/v2/analyse/get?token=XXXXXXXXXX&analyse=10055401

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?

Thanks,


Scott.

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)
support@memsource.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete