{"id":5849,"date":"2024-11-27T15:49:47","date_gmt":"2024-11-27T14:49:47","guid":{"rendered":"https:\/\/2gezer.fr\/?p=5849"},"modified":"2024-11-27T15:59:29","modified_gmt":"2024-11-27T14:59:29","slug":"api-calling","status":"publish","type":"post","link":"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/","title":{"rendered":"API Calling"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Il est d\u00e9sormais possible de faire des appels API depuis les Flows Salesforce sans \u00e9crire une ligne de code ! <br><br>Pour 2Gezer il est important de donner le plus d&rsquo;autonomie possible \u00e0 nos clients. <br>La possibilit\u00e9 de connecter Salesforce \u00e0 des syst\u00e8mes distants sans \u00e9crire de code APEX renforce la maintenabilit\u00e9 de la plateforme et son accessibilit\u00e9. <br><br>Allez c&rsquo;est parti : <br><br>Dans votre flow choisissez la boite \u00ab\u00a0Action\u00a0\u00bb et cliquez sur \u00ab\u00a0Cr\u00e9er un appel HTTP Externe\u00a0\u00bb (en bas, en rouge)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7bb977d8 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"377\" data-attachment-id=\"5855\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-28\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-1.png?fit=404%2C377&amp;ssl=1\" data-orig-size=\"404,377\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-1.png?fit=404%2C377&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-1.png?resize=404%2C377&#038;ssl=1\" alt=\"\" class=\"wp-image-5855\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-1.png?w=404&amp;ssl=1 404w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-1.png?resize=300%2C280&amp;ssl=1 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"339\" height=\"847\" data-attachment-id=\"5856\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-29\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-2.png?fit=339%2C847&amp;ssl=1\" data-orig-size=\"339,847\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-2.png?fit=339%2C847&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-2.png?resize=339%2C847&#038;ssl=1\" alt=\"\" class=\"wp-image-5856\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-2.png?w=339&amp;ssl=1 339w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-2.png?resize=120%2C300&amp;ssl=1 120w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><br>A la cr\u00e9ation, je nomme mon appel et je choisis mon identifiant nomm\u00e9 qui permet de g\u00e9rer les cr\u00e9dentials \u00e0 l&rsquo;API cible. <br>(nous vous ferons un article l\u00e0 dessus \u00e9galement !) <br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"326\" data-attachment-id=\"5859\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-30\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?fit=1079%2C344&amp;ssl=1\" data-orig-size=\"1079,344\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?fit=1024%2C326&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?resize=1024%2C326&#038;ssl=1\" alt=\"\" class=\"wp-image-5859\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?resize=1024%2C326&amp;ssl=1 1024w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?resize=300%2C96&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?resize=768%2C245&amp;ssl=1 768w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-3.png?w=1079&amp;ssl=1 1079w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">J&rsquo;\u00e9tiquette mon appel, choisis ma m\u00e9thode et remplis l&rsquo;url de l&rsquo;API \u00e0 invoquer<br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" data-attachment-id=\"5861\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-31\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?fit=1079%2C600&amp;ssl=1\" data-orig-size=\"1079,600\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?fit=1024%2C569&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?resize=1024%2C569&#038;ssl=1\" alt=\"\" class=\"wp-image-5861\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?resize=1024%2C569&amp;ssl=1 1024w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?resize=768%2C427&amp;ssl=1 768w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-4.png?w=1079&amp;ssl=1 1079w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Dans le cadre d&rsquo;un PATCH par exemple, je peux pr\u00e9ciser un identifiant \u00e0 passer (ici IdApi) qui va g\u00e9n\u00e9rer un cl\u00e9 automatiquement<br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" data-attachment-id=\"5864\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-32\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?fit=1079%2C600&amp;ssl=1\" data-orig-size=\"1079,600\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?fit=1024%2C569&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?resize=1024%2C569&#038;ssl=1\" alt=\"\" class=\"wp-image-5864\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?resize=1024%2C569&amp;ssl=1 1024w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?resize=768%2C427&amp;ssl=1 768w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-5.png?w=1079&amp;ssl=1 1079w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>je remplis un exemple de JSON d&rsquo;appel et fais \u00ab\u00a0v\u00e9rifier\u00a0\u00bb<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"605\" data-attachment-id=\"5866\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-33\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?fit=1079%2C637&amp;ssl=1\" data-orig-size=\"1079,637\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?fit=1024%2C605&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?resize=1024%2C605&#038;ssl=1\" alt=\"\" class=\"wp-image-5866\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?resize=1024%2C605&amp;ssl=1 1024w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?resize=300%2C177&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?resize=768%2C453&amp;ssl=1 768w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-6.png?w=1079&amp;ssl=1 1079w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>je peux r\u00e9cup\u00e9rer ensuite la r\u00e9ponse de l&rsquo;appel API en faisant \u00ab\u00a0Connecter pour le sch\u00e9ma\u00a0\u00bb <br>>> <strong>Attention<\/strong> cela fera un appel<br>sinon j&rsquo;entre un exemple de r\u00e9ponse JSON en cliquant sur \u00ab\u00a0Utiliser un exemple de r\u00e9ponse\u00a0\u00bb<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"408\" data-attachment-id=\"5969\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-35\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?fit=1511%2C602&amp;ssl=1\" data-orig-size=\"1511,602\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?fit=1024%2C408&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?resize=1024%2C408&#038;ssl=1\" alt=\"\" class=\"wp-image-5969\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?resize=1024%2C408&amp;ssl=1 1024w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?resize=300%2C120&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?resize=768%2C306&amp;ssl=1 768w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?resize=1200%2C478&amp;ssl=1 1200w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-8.png?w=1511&amp;ssl=1 1511w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Je fais connecter, Salesforce me renvoie la r\u00e9ponse, je compl\u00e8te les types de champs qu&rsquo;il n&rsquo;a pas pu identifier<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"408\" data-attachment-id=\"5971\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-36\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?fit=1511%2C602&amp;ssl=1\" data-orig-size=\"1511,602\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?fit=1024%2C408&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?resize=1024%2C408&#038;ssl=1\" alt=\"\" class=\"wp-image-5971\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?resize=1024%2C408&amp;ssl=1 1024w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?resize=300%2C120&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?resize=768%2C306&amp;ssl=1 768w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?resize=1200%2C478&amp;ssl=1 1200w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-9.png?w=1511&amp;ssl=1 1511w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Mon action est cr\u00e9\u00e9e ! <br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Je l&rsquo;\u00e9tiquette est je g\u00e9n\u00e8re la variable qui me servira \u00e0 remplir mon JSON en faisant \u00ab\u00a0Cr\u00e9er : Ressource\u00a0\u00bb<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"602\" data-attachment-id=\"5973\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-37\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-10.png?fit=512%2C602&amp;ssl=1\" data-orig-size=\"512,602\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-10.png?fit=512%2C602&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-10.png?resize=512%2C602&#038;ssl=1\" alt=\"\" class=\"wp-image-5973\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-10.png?w=512&amp;ssl=1 512w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-10.png?resize=255%2C300&amp;ssl=1 255w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Je g\u00e9n\u00e8re ma variable<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"427\" data-attachment-id=\"5975\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-38\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-11.png?fit=689%2C427&amp;ssl=1\" data-orig-size=\"689,427\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-11.png?fit=689%2C427&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-11.png?resize=689%2C427&#038;ssl=1\" alt=\"\" class=\"wp-image-5975\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-11.png?w=689&amp;ssl=1 689w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-11.png?resize=300%2C186&amp;ssl=1 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>il ne me reste plus qu&rsquo;\u00e0 construire mon JSON en faisant une attribution<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"470\" data-attachment-id=\"5977\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-39\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-12.png?fit=644%2C470&amp;ssl=1\" data-orig-size=\"644,470\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-12.png?fit=644%2C470&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-12.png?resize=644%2C470&#038;ssl=1\" alt=\"\" class=\"wp-image-5977\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-12.png?w=644&amp;ssl=1 644w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-12.png?resize=300%2C219&amp;ssl=1 300w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>je peux g\u00e9rer des actions post-appel en interpr\u00e9tant les r\u00e9sultats<br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"332\" data-attachment-id=\"5978\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-40\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-13.png?fit=452%2C332&amp;ssl=1\" data-orig-size=\"452,332\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-13.png?fit=452%2C332&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-13.png?resize=452%2C332&#038;ssl=1\" alt=\"\" class=\"wp-image-5978\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-13.png?w=452&amp;ssl=1 452w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-13.png?resize=300%2C220&amp;ssl=1 300w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-13.png?resize=450%2C332&amp;ssl=1 450w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>dans le \u00ab\u00a0SI Success\u00a0\u00bb je peux par exemple r\u00e9cup\u00e9rer le Response Code et v\u00e9rifier s&rsquo;il est entre 200 et 202<br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"375\" data-attachment-id=\"5980\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-41\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-14.png?fit=648%2C375&amp;ssl=1\" data-orig-size=\"648,375\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-14.png?fit=648%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-14.png?resize=648%2C375&#038;ssl=1\" alt=\"\" class=\"wp-image-5980\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-14.png?w=648&amp;ssl=1 648w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-14.png?resize=300%2C174&amp;ssl=1 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>&#8212;- <br><strong>Point important <\/strong>pour g\u00e9rer votre \u00ab\u00a0change set\u00a0\u00bb de d\u00e9ploiement : il faut embarquer la d\u00e9finition de flux mais \u00e9galement votre ou vos Enregistrements de service externe. <br><br>vous retrouvez le nom dans la variable json g\u00e9n\u00e9r\u00e9e<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"359\" data-attachment-id=\"5984\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-43\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-16.png?fit=683%2C359&amp;ssl=1\" data-orig-size=\"683,359\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-16.png?fit=683%2C359&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-16.png?resize=683%2C359&#038;ssl=1\" alt=\"\" class=\"wp-image-5984\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-16.png?w=683&amp;ssl=1 683w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-16.png?resize=300%2C158&amp;ssl=1 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">dans le champ classe Apex, apr\u00e8s le pr\u00e9fixe ExternalService<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"328\" data-attachment-id=\"5982\" data-permalink=\"https:\/\/2gezer.fr\/en\/2024\/11\/27\/api-calling\/image-42\/\" data-orig-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-15.png?fit=744%2C328&amp;ssl=1\" data-orig-size=\"744,328\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-15.png?fit=744%2C328&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-15.png?resize=744%2C328&#038;ssl=1\" alt=\"\" class=\"wp-image-5982\" srcset=\"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-15.png?w=744&amp;ssl=1 744w, https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/image-15.png?resize=300%2C132&amp;ssl=1 300w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Il est d\u00e9sormais possible de faire des appels API depuis les Flows Salesforce sans \u00e9crire une ligne de code ! Pour 2Gezer il est important de donner le plus d&rsquo;autonomie possible \u00e0 nos clients. La possibilit\u00e9 de connecter Salesforce \u00e0 des syst\u00e8mes distants sans \u00e9crire de code APEX renforce la maintenabilit\u00e9 de la plateforme et [&hellip;]<\/p>\n","protected":false},"author":146619201,"featured_media":5853,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[699414233],"tags":[693978206,97017],"class_list":["post-5849","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce","tag-2gezer","tag-salesforce"],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pamgQt-1wl","jetpack_featured_media_url":"https:\/\/i0.wp.com\/2gezer.fr\/wp-content\/uploads\/2024\/11\/create-a-highly-detailed-high-resolution-image-of-a-sleek-modern-2.png?fit=1024%2C768&ssl=1","_links":{"self":[{"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/posts\/5849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/users\/146619201"}],"replies":[{"embeddable":true,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/comments?post=5849"}],"version-history":[{"count":19,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/posts\/5849\/revisions"}],"predecessor-version":[{"id":5987,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/posts\/5849\/revisions\/5987"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/media\/5853"}],"wp:attachment":[{"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/media?parent=5849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/categories?post=5849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2gezer.fr\/en\/wp-json\/wp\/v2\/tags?post=5849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}