Home
Services
Consulting & Enablement
Development & AI Integration
OpenEdge 12 & PASOE Migration
DevOps Services
Products
SmartComponent Library
The Consultingwerk Telemetry Toolkit
OAuth2 toolkit for OpenEdge
Support
Release Notes
Documentation
Issue Tracking
Developer Forum
Resources
Datasheets
Webinars & Trainings
Blog
Events
Newsletter
About Us
Our Partners
Our Customers
Sign in
Contact Us
×
Home
Services
Consulting & Enablement
Development & AI Integration
OpenEdge 12 & PASOE Migration
DevOps Services
Products
SmartComponent Library
The Consultingwerk Telemetry Toolkit
OAuth2 toolkit for OpenEdge
Support
Release Notes
Documentation
Issue Tracking
Developer Forum
Resources
Datasheets
Webinars & Trainings
Blog
Events
Newsletter
About Us
Our Partners
Our Customers
Sign in
Contact Us
Forums
/
SmartComponent Library - Developer Forum
/
REST
REST
Cancel
The title field is required!
Feed for this thread
7 posts, 0 answered
Roger Blanchard
447 posts
Registered:
29 Jun 2018
03 Jan
Link to this post
I am using the following and I thought only the eDeploymentReseller record will be returned in the JSON. However, the entire PDS is returned. Is the format I used incorrect?
@RestMethod (address="/Deployment/GetModules", requestMethod="get", parameterClassName="Osprey.Util.DeploymentWrapper.DeploymentParameter", response="dsDeploymentReseller:<eDeploymentResponseReseller>:first").
METHOD PUBLIC VOID GetModules( INPUT-OUTPUT DATASET dsDeploymentReseller,
poParameter AS Osprey.Util.DeploymentWrapper.DeploymentParameter ):
Roger Blanchard
447 posts
Registered:
29 Jun 2018
03 Jan in reply to
Roger Blanchard
Link to this post
I guess this would be better.
@RestMethod (address="/Deployment/GetModules", requestMethod="get", parameterClassName="Osprey.Util.DeploymentWrapper.DeploymentParameter", response="dsDeploymentReseller:eDeploymentResponseReseller:first").
Mike Fechner
375 posts
Registered:
14 Sep 2016
04 Jan in reply to
Roger Blanchard
Link to this post
It's definitively without the pointed brackets.
I would have expected an error message though - but I guess your issue is solved now?
Roger Blanchard
447 posts
Registered:
29 Jun 2018
04 Jan in reply to
Mike Fechner
Link to this post
All good Mike…thank you.
HAPPY NEW YEAR!!
Roger Blanchard
447 posts
Registered:
29 Jun 2018
05 Jan in reply to
Mike Fechner
Link to this post
>> I would have expected an error message though
You would be correct. One of the issues I was having is the .annotations file is not being created in VS Code so I needed to use PDSOE. I will have to look into that further.
Thank you.
Mike Fechner
375 posts
Registered:
14 Sep 2016
05 Jan in reply to
Roger Blanchard
Link to this post
We're using this VS Code Extension to use a similar ANT job to generate the .annotation files:
https://marketplace.visualstudio.com/items?itemName=nickheap.vscode-ant
It's no longer maintained - but it's doing it's job. But we're looking for an alternative.
Roger Blanchard
447 posts
Registered:
29 Jun 2018
07 Jan in reply to
Mike Fechner
Link to this post
>> We're using this VS Code Extension to use a similar ANT job to generate the .annotation files
Yep, we have that extension loaded and need to look into it. Thanks
7 posts, 0 answered
Close