API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  sending client credentials at the time of application creation to specific emailId via Rest Calls

    Posted Fri June 09, 2023 01:54 AM
    Edited by Stefen Salvatore Fri June 09, 2023 01:54 AM

    Hi Team,
    I have a requirement like when an application is created using REST API I need to send the client credentials to some email id/consumer's email id with a single click.

    whether this is possible via rest calls or not?
    Please let me know.

    Thanks in advance!!



    ------------------------------
    Stefen Salvatore
    ------------------------------



  • 2.  RE: sending client credentials at the time of application creation to specific emailId via Rest Calls

    Posted Fri June 09, 2023 05:04 AM

    Hi,

    not sure I understand your requirement, but have a look at https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=SSMNED_10.0.5/com.ibm.apic.devportal.doc/rapic_portal_custom_modules_hooks_drupal8.htm.

    Maybe this gives you some pointers.



    ------------------------------
    Jeroen Willems
    Integration Architect - Managing Partner
    Integration Designers
    ------------------------------



  • 3.  RE: sending client credentials at the time of application creation to specific emailId via Rest Calls

    Posted Fri June 09, 2023 05:49 AM

    Hi @Jeroen Willems 
    thanks for the reply. my actual requirement is like whenever a consumer application is created using REST API's respective client ID and Secret should be emailed to the corresponding owner's email / a specified email id with another REST API whether this is possible or not by using REST APIs or not?
    If yes, then how what is the approach?


    Thanks



    ------------------------------
    Stefen Salvatore
    ------------------------------



  • 4.  RE: sending client credentials at the time of application creation to specific emailId via Rest Calls

    Posted Tue June 13, 2023 01:27 AM
    Edited by Stefen Salvatore Tue June 13, 2023 01:37 AM

    Hi @Steve Linn 

    Hi @Nick Cawood 
    getting issues with these two REST calls

    1. API Explorer (ibmcloud.com)

    used the valid token for this and passed everything shown in the documentation but got an error as 401 unauthorized. please help me with this.

           2. API Explorer (ibmcloud.com)

    for the first time when I used the bearer token got response code 204 but, in the portal, it's signed in only (I'm not getting what will it signs out). And when the same token is used again to invoke API, it throws a 401 unauthorized error.

    If anyone knows about this, please guide me where I am missing regarding this.

    Thanks in advance!!



    ------------------------------
    Stefen Salvatore
    ------------------------------