ContactFormRequest Service

Description

This service is used to simplify entering basic web forms into Atollon. In Atollon, it's possible to add more complex business logic based on request type and it's parameters. Web developers are let go of understanding Atollon blackbox.

Request

POST https://<HOST>/svc/contact-form/<request_type>

Request Types

New Lead

https://<HOST>/svc/contact-form/lead

POST data in JSON format:

{
    "person": {
        "firstName": "<jmeno>",
        "lastName": "<prijmeni>"
    },
    "company": {
        "companyName": "<nazev_firmy>"
    },
    "contacts": {
        "email": "<email>",
        "phone": "<telefon>"
    },
    "comment": "<text_pozadavku>",
    "interestedIn": ["<p1>"," <p2>"," ..." ],
    "leadCategory": "<string>",
    "trackingCode": "<string>",
    "url": "<string>"
}

Function progress

Company lead
Person lead

After the request is imported successfully, change the TIF status to "2".

New Issue

https://<HOST>/svc/contact-form/issue

POST data in JSON format:

{
    "person": {
        "firstName": "<jmeno>",
        "lastName": "<prijmeni>"
    },
    "company": {
        "companyName": "<nazev_firmy>",
        "companyRegNo": "<registration_number>"
    },
    "contacts": {
        "email": "<email>",
        "phone": "<telefon>"
    },
    "comment": "<text_pozadavku>",
    "interestedIn": ["<p1>", "<p2>", "..."],
    "leadCategory": "<string>",
    "trackingCode": "<string>",
    "url": "<string>",
    "requestType": "<New_Issue_Template>",
    "formFields": {
        "formField1": "<value1>",
        "formField2": "<value2>",
        "...": "..."
    }
}

Function progress

The same as above for New Lead, except instead of New Message with new comment, we create New Issue.

Screenshot 2025-01-26 at 8.10.14.png


Revision #24
Created 29 July 2021 13:11:05
Updated 10 May 2026 13:40:25 by Jan Safka