Difference between revisions of "News:Webhooks"

From Marathon Documentation
Jump to: navigation, search
(Created page with "<translate> {{News |Webhooks |module=Media |group= |version=546W2106 |revision=56 |case=CORE-3043 |published=2022-02-06 }} '''Webhooks for media order changes''' The Webhhok...")
 
(Marked this version for translation)
 
Line 1: Line 1:
 
<translate>
 
<translate>
  +
<!--T:1-->
 
{{News
 
{{News
 
|Webhooks
 
|Webhooks
Line 10: Line 11:
 
}}
 
}}
   
  +
<!--T:2-->
 
'''Webhooks for media order changes'''
 
'''Webhooks for media order changes'''
   
  +
<!--T:3-->
 
The Webhhok from Marathon is sent each time a order is changed.
 
The Webhhok from Marathon is sent each time a order is changed.
 
In the https call from Marathon a file with xml content is transfered to the recieiving system.
 
In the https call from Marathon a file with xml content is transfered to the recieiving system.
Line 25: Line 28:
 
</marathon_webhook>
 
</marathon_webhook>
   
  +
<!--T:4-->
 
Accepted values for "action":
 
Accepted values for "action":
   
  +
<!--T:5-->
create = New order
+
create = New order
 
update = Change on a existing order
 
update = Change on a existing order
 
delete = Delete of order
 
delete = Delete of order
   
  +
<!--T:6-->
 
'''Preparations'''
 
'''Preparations'''
   
  +
<!--T:7-->
 
{{ExpandImage|Webhooks.png}}
 
{{ExpandImage|Webhooks.png}}
   
  +
<!--T:8-->
 
Enter the URL and the password that will be included in the xmlfile in Base registerd/General/System parameters tab Other
 
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
 
Select Webhooks Order in base registers/General/Company specific parameters tab Other

Latest revision as of 15:45, 6 February 2022

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

Webhooks for media order changes

The Webhhok from Marathon is sent each time a order is changed. In the https call from Marathon a file with xml content is transfered to the recieiving system. Example of xml content:

 <?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