{"id":19193,"date":"2021-08-06T15:53:05","date_gmt":"2021-08-06T19:53:05","guid":{"rendered":"https:\/\/phpreaction.com\/?p=19193"},"modified":"2021-08-09T16:13:10","modified_gmt":"2021-08-09T20:13:10","slug":"phpreaction-apiv3-avis-de-depreciation-url","status":"publish","type":"post","link":"https:\/\/phpreaction.com\/en\/apiv3\/phpreaction-apiv3-avis-de-depreciation-url\/","title":{"rendered":"APIv3 &#8211; Avis de d\u00e9pr\u00e9ciation (2021-08-06)"},"content":{"rendered":"<p>[vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Avis de d\u00e9pr\u00e9ciation sur la formation de l&#8217;url des requ\u00eates&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_separator][vc_column_text]La formation de l&#8217;<b>URL<\/b>\u00a0a \u00e9t\u00e9 <strong>chang\u00e9e<\/strong> pour \u00eatre comme ceci:<\/p>\n<p>Access Token: xxx.phpreaction.com\/<strong>api<\/strong>\/v3\/{ressource}<\/p>\n<p>JWT Token: xxx.phpreaction.com\/<strong>open-api<\/strong>\/v3\/{ressource}<\/p>\n<p>La <a href=\"https:\/\/phpreaction.com\/amelioration-continue\/api-phpr-v3\/\">documentation g\u00e9n\u00e9rale<\/a> de L&#8217;API v3 a \u00e9t\u00e9 mise \u00e0 jour avec ce nouveau changement.<\/p>\n<p><strong>*IMPORTANT: Les IRI dans le &#8220;body&#8221; des requ\u00eates POST et PUT doivent \u00eatre conforme \u00e0 l&#8217;URL utilis\u00e9 pour la requ\u00eate.<\/strong><\/p>\n<p>Exemple avec une requ\u00eate HTTP POST sur xxx.phpreaction.com<span data-offset-key=\"p3a0-1-0\">\/<strong>api<\/strong>\/v3\/bills<\/span>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">{\r\n    \"supplier\": \"\/api\/v3\/person_suppliers\/1\",\r\n    \"payer\": \"\/api\/v3\/people\/1\",\r\n    \"employee\": \"\/api\/v3\/person_employees\/1\",\r\n    \"type\": \"\/api\/v3\/bill_types\/2\",\r\n    \"distributionType\": \"\/api\/v3\/bill_distribution_types\/1\",\r\n    \"status\":\"\/api\/v3\/bill_statuses\/2\",\r\n    ...\r\n}<\/pre>\n<p>Exemple avec une requ\u00eate HTTP POST sur xxx.phpreaction.com<span data-offset-key=\"p3a0-1-0\">\/<strong>open-api<\/strong>\/v3\/bills<\/span>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">{\r\n    \"supplier\": \"\/open-api\/v3\/person_suppliers\/1\",\r\n    \"payer\": \"\/open-api\/v3\/people\/1\",\r\n    \"employee\": \"\/open-api\/v3\/person_employees\/1\",\r\n    \"type\": \"\/open-api\/v3\/bill_types\/2\",\r\n    \"distributionType\": \"\/open-api\/v3\/bill_distribution_types\/1\",\r\n    \"status\":\"\/open-api\/v3\/bill_statuses\/2\",\r\n    ...\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>URL <strong>d\u00e9pr\u00e9ci\u00e9<\/strong>:\u00a0xxx.phpreaction.com\/<strong>platform<\/strong>\/v3\/{ressource}<\/p>\n<p>Voir plus de d\u00e9tails sur les types d&#8217;<a href=\"https:\/\/phpreaction.com\/apiv3\/phpreaction-apiv3-authentification\/\">authentifications<\/a>.[\/vc_column_text][\/vc_column][\/vc_row][vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Date limite pour effectuer le changement&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_separator][vc_column_text]Les URL form\u00e9s avec <strong>platform<\/strong> seront accept\u00e9 jusqu&#8217;au <strong>15 janvier 2022.\u00a0<\/strong><\/p>\n<p>Apr\u00e8s cette date, seuls les URL conformes seront accept\u00e9s.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Avis de d\u00e9pr\u00e9ciation sur la formation de l&#8217;url des requ\u00eates&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_separator][vc_column_text]La formation de l&#8217;URL\u00a0a \u00e9t\u00e9 chang\u00e9e pour \u00eatre comme ceci: Access Token: xxx.phpreaction.com\/api\/v3\/{ressource} JWT Token: xxx.phpreaction.com\/open-api\/v3\/{ressource} La documentation g\u00e9n\u00e9rale de L&#8217;API v3 a \u00e9t\u00e9 mise \u00e0 jour avec ce nouveau changement. *IMPORTANT: Les IRI dans le &#8220;body&#8221; des requ\u00eates POST et PUT doivent [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[152],"tags":[],"class_list":["post-19193","post","type-post","status-publish","format-standard","hentry","category-apiv3"],"_links":{"self":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/posts\/19193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/comments?post=19193"}],"version-history":[{"count":0,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/posts\/19193\/revisions"}],"wp:attachment":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/media?parent=19193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/categories?post=19193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/tags?post=19193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}