Difference between revisions of "News:Webhooks/fi"
From Marathon Documentation
(Created page with "create = Uusi määräin update = Muutoksia olemassa olevassa määärimessä delete = Määräimen poisto") |
(Created page with "'''Valmistelut'''") |
||
Line 30: | Line 30: | ||
delete = Määräimen poisto |
delete = Määräimen poisto |
||
− | ''' |
+ | '''Valmistelut''' |
{{ExpandImage|Webhooks.png}} |
{{ExpandImage|Webhooks.png}} |
Revision as of 16:39, 2 March 2022
Webhooks
Published | 2022-02-06 |
---|---|
Module | Media |
Version | 546W2106 |
Revision | 56 |
Case number | CORE-3043 |
Webhooks määräinmuutoksille
Webhhok Marathonista lähetetään jok akerta kun määräintä on muutettu. Marathonista lähtevässä https-kutsussa on mukana tiedosto, jok asisältää html-sisältöä, joka siirtyy vastaanottavaan järjestelmään. Esimerkki xml-sisällöstä:
<?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>
Sallitut arvot "actionille":
create = Uusi määräin update = Muutoksia olemassa olevassa määärimessä delete = Määräimen poisto
Valmistelut
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