Announcement

Collapse
No announcement yet.

Get data from the api into a record and update using the replacement method.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get data from the api into a record and update using the replacement method.

    I am trying to execute the request after saving the entry. The request must send a 12-digit value and receive the required data in the response. Tell me, how, after receiving a response, take this data into the desired record and update it by sending a request after clicking the update button?

  • #2
    You can do this through HOOK. Just send simple cURL request to endpoint and take save response through $entity, for example: $entity->set('name', $variable);

    Comment


    • #3
      I do not quite understand where this information is entered. Could you elaborate on the actions? Thank you in advance for your help.

      Comment


      • #4
        Do you have any experience in PHP? Here you have more information about hooks: https://docs.espocrm.com/development/hooks/

        Comment

        Working...
        X