How to create LABRESOURCE using REST API with example ?
Hello everyone,
I am trying to create Labresource using REST API through postman.
But i am getting HTTP 500 (Internal Server Error) or HTTP 400 (Bad request) in response.
I have basic queries below
1. What is external provider id or resource in case of lab resource creation ?
2. Looking for sample post URL with payload (Sample XML) for creating lab resource.
But i am getting HTTP 500 (Internal Server Error) or HTTP 400 (Bad request) in response.
I have basic queries below
1. What is external provider id or resource in case of lab resource creation ?
2. Looking for sample post URL with payload (Sample XML) for creating lab resource.
3. what is the link between external provider and lab resource ? Does external provider id requires in post URL for lab resource creation ?
4. what is the internal id and what if where the internal id of the resource.is not available ?
5.Post request rest API example (Sample XML) with internal resource id for lab resource ?
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 24, 8:51 a.m.What's an example of a URL you've tried, presumably a POST?
kulbhushan patil
Nov 25, 4:39 a.m.kulbhushan patil
Nov 25, 4:58 a.m.Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 26, 12:38 p.m.What headers did you send? Did you use a configuration in either query parameter oslc_config.context or header Configuration-Context?
kulbhushan patil
Dec 18, 2:46 a.m.kulbhushan patil
Dec 18, 3:09 a.m.kulbhushan patil
Dec 18, 3:09 a.m.Above last comment is post request body
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 18, 10:01 a.m.