1. lingaiah T
  2. PowerBuilder
  3. Friday, 24 July 2020 13:19 PM UTC

PB IDE 2020, How to USE RESTapi, CRUD methods. ?

Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 24 July 2020 19:07 PM UTC
  2. PowerBuilder
  3. # Permalink

To learn how to use the RESTClient to call REST APIs I suggest you study the following very carefully:

REST Bootcamp - https://www.appeon.com/developers/library/videos/rest-bootcamp.html

Enhancements in 2019 - https://www.appeon.com/developers/library/videos/enhanced-restclient-powerbuilder-2019.html

Code Sample - https://github.com/Appeon/PowerBuilder-RestClient-Example

Comment
There are no comments made yet.
lingaiah T Accepted Answer Pending Moderation
  1. Friday, 24 July 2020 17:54 PM UTC
  2. PowerBuilder
  3. # 1

sorry, Mr.Chris, 

PB2019 R2 IDE.

Actually, we are using local IDE, but we want to get new requests from webserver to local SQL SERVER and return status of request to webserver. if you can give one small example, very helpfull.

Ex: webserver : employee created leave request ( android application), this request we want to call to our local ERP, and after approval of mananger, we want to reply to employee about his request status like approved or rejected / unger process. employe can see his leave satus in webpage/ mobile app only.

 

 

 

 

 

 

 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 24 July 2020 18:31 PM UTC
Hi Lingaiah;

FWIW: To me ... this sounds like a possible TRIGGER on the SS Table that accepts the Leave request. The Insert trigger sets up a "Review" process and when the request is updated, the Update Trigger sends out an email to the affected Employee with the status (approved / not approved). The Request table also would then have the detailed reason(s) for the Approval / Rejection. So either a Web App and/or Mobile App can query the request table for more information specifics.

Regards ... Chris

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 24 July 2020 14:18 PM UTC
  2. PowerBuilder
  3. # 2

Hi Lingaiah;

  There is no PB version 2020 ... do you mean PowerServer 2020?

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.