API request zum aktivieren eines inaktiven Formulars bringt kein tatsächliches Ergebnis im form

  • Trenka
    Gefragt am 19. Dezember 2023 um 05:48

    Hallo liebes Team.

    Ich habe über make.com einen API request an Jotform gesendet um ein existierendes Formular zu aktivieren oder zu deaktivieren. Ich habe beide Richtungen probiert, unten findet ihr den output meines Versuchs ein inaktives Formular zu aktivieren.

    Wie ihr seht ist die Meldung okay, jedoch sehe ich die Änderung beim Formular in Jotform nicht. Browserzeile habe ich aktualisiert.

    Was mache ich falsch? 

    Danke!!

    Anna


    [
    {
    "body": {
    "responseCode": 200,
    "message": "success",
    "content": {
    "disabled": "Enabled",
    "formID": "233505937629364"
    },
    "duration": "31.94ms",
    "limit-left": 996
    },
    "headers": {
    "date": "Tue, 19 Dec 2023 10:31:05 GMT",
    "content-type": "application/json",
    "transfer-encoding": "chunked",
    "connection": "close",
    "vary": "Accept-Encoding",
    "p3p": "CP=\"NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM\"",
    "last-modified": "Tue, 19 Dec 2023 10:31:05 GMT",
    "jf-trace-id": "5019bafdd3e693ac",
    "content-security-policy-report-only": "default-src https: data: blob: wss: 'unsafe-inline' 'unsafe-eval'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.jotfor.ms; report-uri /opt/csp-violation-report.php",
    "set-cookie": [
    "JOTFORM_SESSION=51e1a03f-373d-0afb-c0de-c5ce7f4d; expires=Thu, 18-Jan-2024 10:31:05 GMT; Max-Age=2592000; path=/; domain=.jotform.com; secure; HttpOnly; SameSite=None",
    "guest=guest_56ff7635302dab48; expires=Fri, 19-Jan-2024 10:31:05 GMT; Max-Age=2678400; path=/; domain=.jotform.com; secure; HttpOnly; SameSite=None"
    ],
    "expires": "Thu, 01 Jan 1970 00:00:01 GMT",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "access-control-allow-origin": "*",
    "access-control-allow-methods": "PUT, POST, GET, OPTIONS, DELETE",
    "x-form-cache": "MISS",
    "via": "1.1 google",
    "alt-svc": "h3=\":443\"; ma=86400",
    "cf-cache-status": "DYNAMIC",
    "server": "cloudflare",
    "cf-ray": "837ef951dd5153a4-LHR"
    },
    "statusCode": 200
    }
    ]


  • Sweta Jotform Support
    Geantwortet am 19. Dezember 2023 um 12:31

    Hi Anna,

    Thanks for reaching out to Jotform Support. I tested the API to enable and disable the form using API. It disabled the form successfully. Check out the parameters used to POST the data:

    API request zum aktivieren eines inaktiven Formulars bringt kein tatsächliches Ergebnis im form Image 1 Screenshot 20

    Give it a try and let us know if you need any help.