RTC project area work item enumerations - REST service
One answer
You mean OSLC API, right? You should be able to as the Enumeration attribute is not that different from attributes of other types. You will need to first find out the resource URI for a particular Enumeration value though, as you cannot assign it using the literal value.
Comments
Hi Donald!
Yes, OSLC API.
Is there any example for GET, POST requests for this case or something similar...?
For example, when we use POST method, we are getting 405 (Method not allowed) -
A service exists for this URL, but not in combination with the used HTTP method. <o:p> </o:p> |
Kind regards,
Milan
If you talk about OSLC in general, please go through the OSLC workshop.
https://jazz.net/library/article/635
If you want to use POST or PUT against the enumerations themselves, I don't think such features are implemented, and that's why you get HTTP 405 errors.