Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint URL for RestAPI for Java #34

Open
crescendo1981 opened this issue Sep 20, 2017 · 4 comments
Open

Endpoint URL for RestAPI for Java #34

crescendo1981 opened this issue Sep 20, 2017 · 4 comments

Comments

@crescendo1981
Copy link

Getting error HTTP/1.1 404 Could not determine Web Services Version from 'v2.0https:' while attempting to access the list of allowed values for a portfolio item's custom field. Able to hit the endpoint while attempting through the browser(Chrome) though.

e.g. below with Feature ID masked. https://rally1.rallydev.com/slm/webservice/v2.0/portfolioitem/feature/*******58600/c_IntakeLineofBusiness/AllowedValues

Why does this happen?

@krmorse
Copy link
Contributor

krmorse commented Sep 20, 2017

I bet it doesn't recognize that url as a valid ref format and so it's mangling it before sending it to the server. I think this is a valid issue.

In the meantime though, you'll probably just have to go the long way around.

  1. Find the feature type def and load its Attributes collection
  2. Find the c_IntakeLineofBusiness attribute and load its AllowedValues collection

@crescendo1981
Copy link
Author

Thank you @kmorse would you recommend any other url format before we take the long way around?

@krmorse
Copy link
Contributor

krmorse commented Sep 20, 2017

Unfortunately not. I honestly didn't even know you could do what you are trying, so I learned something here. I actually don't know if any of our various language toolkits would support that endpoint currently. I'd go the (fully supported) long way around. Hopefully it shouldn't be too much code. Let me know if you get stuck...

@crescendo1981
Copy link
Author

Thanks again! Will try and let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants