Difference between revisions of "News:Webhooks/nb"

From Marathon Documentation
Jump to: navigation, search
(Created page with "<b>Webhooks for endringer i medieordrer </b>")
(Created page with "Webhhok fra Marathon sendes hver gang en ordre blir endret. I https-anropene fra Marathon overføres en fil med xml-innhold til det mottakende systemet . Eksempel på xml-innh...")
Line 11: Line 11:
 
<b>Webhooks for endringer i medieordrer </b>
 
<b>Webhooks for endringer i medieordrer </b>
   
The Webhhok from Marathon is sent each time a order is changed.
+
Webhhok fra Marathon sendes hver gang en ordre blir endret.
In the https call from Marathon a file with xml content is transfered to the recieiving system.
+
I https-anropene fra Marathon overføres en fil med xml-innhold til det mottakende systemet .
Example of xml content:
+
Eksempel xml-innhold:
 
<?xml version="1.0" encoding="iso-8859-15"?>
 
<?xml version="1.0" encoding="iso-8859-15"?>
 
<marathon_webhook>
 
<marathon_webhook>

Revision as of 15:35, 2 March 2022

Webhooks
Published 2022-02-06
Module Media
Version 546W2106
Revision 56
Case number CORE-3043

Webhooks for endringer i medieordrer

Webhhok fra Marathon sendes hver gang en ordre blir endret. I https-anropene fra Marathon overføres en fil med xml-innhold til det mottakende systemet . Eksempel på xml-innhold:

 <?xml version="1.0" encoding="iso-8859-15"?>
 <marathon_webhook>
   <password>ABC123</password>
   <type>order</type>
   <company_id>KASE</company_id>
   <plan_id>119874</plan_id>
   <order_id>283319</order_id>
   <action>create</action>
 </marathon_webhook>

Accepted values for "action":

  create = New order
  update = Change on a existing order
  delete = Delete of order

Preparations

Enter the URL and the password that will be included in the xmlfile in Base registerd/General/System parameters tab Other Select Webhooks Order in base registers/General/Company specific parameters tab Other