Service-Backed_Record with post API

Certified Senior Developer

Can I create Service-Backed_Record with POST API which returns data on input parameter, How differently it works from GET API. What could be the possible I may face if I use POST API for Service-Backed_Record.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi  ,

    You can create a Service-Backed Record using GET API only as it will return the Data.

    As postAPI will return a Reaction Tree while it's called in a rule.

                          


    we can't add this rule in Record data source, we face issue as it's not a valid type to descibe in Record Types:



    In GET API, we can easily get the data in the rule:

        

    If you try to add in record, it will be available: 



    Thanks & let me know if you have any more queries....

Reply
  • 0
    Certified Associate Developer

    Hi  ,

    You can create a Service-Backed Record using GET API only as it will return the Data.

    As postAPI will return a Reaction Tree while it's called in a rule.

                          


    we can't add this rule in Record data source, we face issue as it's not a valid type to descibe in Record Types:



    In GET API, we can easily get the data in the rule:

        

    If you try to add in record, it will be available: 



    Thanks & let me know if you have any more queries....

Children