Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 4 days ago

    Hola comunidad espero que estén bien,

    estoy tratando de ejecutar el api
    /api/v2/businessrules/schemas/coretypes
    Pero cada vez que la ejecuto me devuelve un 403 con este mensaje:
    "Unable to perform the requested action. You must have at least one of the following permissions assigned: [businessrules:businessRulesSchema:view]", "code": "missing.any.permissions",

    Al revisar los permisos que me sugiere no los veo dentro de Genesys cloud cx,

    Alguna ayuda que me pudieran brindar.

    Saludos.


    #PlatformAPI

    ------------------------------
    Angel Marlut
    NA
    ------------------------------


  • 2.  RE: error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 4 days ago

    Hi Angel,

    From my understanding, if you're not able to see that permission in the role editor, it usually points to a licensing or feature enablement gap rather than an issue with the API itself.

    The Business Rules / Decisioning capability isn't available in all orgs by default, so that permission may only appear when the feature is enabled.

    Hope this helps, and I'm sure someone will add more to this post.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 3.  RE: error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 4 days ago

    Hi Phaneendra, thanks for your reply.

    I've been looking for that permission in the console, but I can't seem to find the exact section to enable it so I can run the API. Could you point me to the specific category or module where it's located?

    Looking forward to your comments.

    Best regards.



    ------------------------------
    Angel Marlut
    NA
    ------------------------------



  • 4.  RE: error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 4 days ago

    Hi Angel,

    From what I can see, this looks to be related to the newer Rule-Based Decisions (rules engine) capability.

    It appears that this feature needs to be enabled/installed first, and the related permissions (like businessrules:*) will only show up once it's available in the org.

    Rule-Based Decisions overview
    Rule-Based Decisions pricing

    The documentation also mentions that the feature needs to be purchased via AppFoundry, so if it hasn't been installed/provisioned, those permissions and APIs won't be accessible.

    Have you had a chance to check if the Rule-Based Decisions app/capability has already been installed in your org?

    Hope this helps, and happy for others to add.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 5.  RE: error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 3 days ago
     
    You're right. I tested it in our lab org, and after enabling it through AppFoundry, the businessrules permissions showed up.
     
    Before enabling it, I couldn't find them in the system.


    ------------------------------
    Elisson Fernandes
    ------------------------------



  • 6.  RE: error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 3 days ago

    Thank you for confirming Elisson.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 7.  RE: error con api /api/v2/businessrules/schemas/coretypes 403

    Posted 3 days ago

    Hello, thank you very much for your contributions;

     they have been very helpful. I am currently trying to do the following, though I might be a bit off track: I noticed that the API /api/v2/businessrules/schemas/coretypes can be used for conversation schemas.

    After reviewing the documentation, I suspect this might be specifically for Predictive Engagement.

    Regardless, I truly appreciate your help.

    Best regards,"



    ------------------------------
    Angel Marlut
    NA
    ------------------------------