LeadController :: post
Request
GET Parameters
| Key | Value |
|---|---|
| returnInput | "1" |
POST Parameters
| Key | Value |
|---|---|
| lead | [ "sourceId" => 208224 "sourceName" => "CAW 5" "leadType" => "sales" "leadInformation" => [ "kindOfLead" => "Proefrit" "referrer" => "occasion.mazda.nl" "trackingIds" => null "utmTracking" => [] ] "leadDescription" => "Proefritaanvraag voor X913HN" "createdAt" => "2026-02-01 19:43:42" "location" => [ "sourceId" => 2169 "sourceName" => "caw-4" ] "cars" => [ [ "type" => "2" "hexonCode" => 992718863 "make" => "Mazda" "model" => "CX-5" "version" => "2.0 e-SkyActiv-G M Hybrid 165 Exclusive-Line | Rijklaar | Dealeronderhouden | Trekhaak | 360 Camera | Bose | Leder | Elektr. stoelen" "licensePlate" => "X913HN" "mileage" => 16084 "color" => "Blauw" "coating" => "Leder" "saleType" => 8 "fuel" => "Benzine" "body" => "SUV" "transmission" => "Automaat" "yearBuild" => 2023 "datePart1" => "2023-11-21 00:00:00" "prices" => [ [ "name" => "Vraagprijs" "value" => 39395 ] ] ] ] "extraData" => [ [ "name" => "Proefrit" "fields" => [ "Datum" => "2026-02-02" "Tijd" => "17:00:00" ] ] [ "name" => "Referer" "fields" => [ "Referer" => "https://occasion.mazda.nl/mengelers/mazda/cx-5/20-e-skyactiv-g-m-hybrid-165-exclusive-line-rijklaar-dealeronderhouden-trekhaak-360-camera-bose-leder-elektr-stoelen_occasion_x-913-hn-locatie-sittard/benzine/2477372/proefrit/" ] ] ] "relation" => [ "type" => "2" "salutation" => "dhr" "firstName" => "James" "lastName" => "Kindel" "gender" => 1 "companyName" => "" "kvkNumber" => "" ] "addresses" => [ [ "type" => "1" "number" => "10" "zipcode" => "6127ad" ] ] "phonenumbers" => [ [ "number" => "0624353700" "type" => "1" "optIn" => "0" ] ] "emailaddresses" => [ [ "emailaddress" => "j.kindel@home.nl" "optIn" => "0" ] ] ] |
Uploaded Files
No files were uploaded
Request Attributes
| Key | Value |
|---|---|
| _controller | "AppBundle\Controller\Rest\LeadController::post" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "apiapi_create_lead" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_firewall_run | "_security_main" |
| _security_skipped_authenticators | [] |
| _stopwatch_token | "f27cc5" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| content-length | "1449" |
| content-type | "application/json" |
| host | "test.lms.cartel.work" |
| x-js-include | "" |
| x-php-ob-level | "1" |
Request Content
Pretty
{
"lead": {
"sourceId": 208224,
"sourceName": "CAW 5",
"leadType": "sales",
"leadInformation": {
"kindOfLead": "Proefrit",
"referrer": "occasion.mazda.nl",
"trackingIds": null,
"utmTracking": []
},
"leadDescription": "Proefritaanvraag voor X913HN",
"createdAt": "2026-02-01 19:43:42",
"location": {
"sourceId": 2169,
"sourceName": "caw-4"
},
"cars": [
{
"type": "2",
"hexonCode": 992718863,
"make": "Mazda",
"model": "CX-5",
"version": "2.0 e-SkyActiv-G M Hybrid 165 Exclusive-Line | Rijklaar | Dealeronderhouden | Trekhaak | 360 Camera | Bose | Leder | Elektr. stoelen",
"licensePlate": "X913HN",
"mileage": 16084,
"color": "Blauw",
"coating": "Leder",
"saleType": 8,
"fuel": "Benzine",
"body": "SUV",
"transmission": "Automaat",
"yearBuild": 2023,
"datePart1": "2023-11-21 00:00:00",
"prices": [
{
"name": "Vraagprijs",
"value": 39395
}
]
}
],
"extraData": [
{
"name": "Proefrit",
"fields": {
"Datum": "2026-02-02",
"Tijd": "17:00:00"
}
},
{
"name": "Referer",
"fields": {
"Referer": "https:\/\/occasion.mazda.nl\/mengelers\/mazda\/cx-5\/20-e-skyactiv-g-m-hybrid-165-exclusive-line-rijklaar-dealeronderhouden-trekhaak-360-camera-bose-leder-elektr-stoelen_occasion_x-913-hn-locatie-sittard\/benzine\/2477372\/proefrit\/"
}
}
],
"relation": {
"type": "2",
"salutation": "dhr",
"firstName": "James",
"lastName": "Kindel",
"gender": 1,
"companyName": "",
"kvkNumber": ""
},
"addresses": [
{
"type": "1",
"number": "10",
"zipcode": "6127ad"
}
],
"phonenumbers": [
{
"number": "0624353700",
"type": "1",
"optIn": "0"
}
],
"emailaddresses": [
{
"emailaddress": "j.kindel@home.nl",
"optIn": "0"
}
]
}
}
Raw
{"lead":{"sourceId":208224,"sourceName":"CAW 5","leadType":"sales","leadInformation":{"kindOfLead":"Proefrit","referrer":"occasion.mazda.nl","trackingIds":null,"utmTracking":[]},"leadDescription":"Proefritaanvraag voor X913HN","createdAt":"2026-02-01 19:43:42","location":{"sourceId":2169,"sourceName":"caw-4"},"cars":[{"type":"2","hexonCode":992718863,"make":"Mazda","model":"CX-5","version":"2.0 e-SkyActiv-G M Hybrid 165 Exclusive-Line | Rijklaar | Dealeronderhouden | Trekhaak | 360 Camera | Bose | Leder | Elektr. stoelen","licensePlate":"X913HN","mileage":16084,"color":"Blauw","coating":"Leder","saleType":8,"fuel":"Benzine","body":"SUV","transmission":"Automaat","yearBuild":2023,"datePart1":"2023-11-21 00:00:00","prices":[{"name":"Vraagprijs","value":39395}]}],"extraData":[{"name":"Proefrit","fields":{"Datum":"2026-02-02","Tijd":"17:00:00"}},{"name":"Referer","fields":{"Referer":"https:\/\/occasion.mazda.nl\/mengelers\/mazda\/cx-5\/20-e-skyactiv-g-m-hybrid-165-exclusive-line-rijklaar-dealeronderhouden-trekhaak-360-camera-bose-leder-elektr-stoelen_occasion_x-913-hn-locatie-sittard\/benzine\/2477372\/proefrit\/"}}],"relation":{"type":"2","salutation":"dhr","firstName":"James","lastName":"Kindel","gender":1,"companyName":"","kvkNumber":""},"addresses":[{"type":"1","number":"10","zipcode":"6127ad"}],"phonenumbers":[{"number":"0624353700","type":"1","optIn":"0"}],"emailaddresses":[{"emailaddress":"j.kindel@home.nl","optIn":"0"}]}}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Mon, 06 Apr 2026 11:28:20 GMT" |
| x-debug-token | "3deb6c" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "19d4ed8ef4d4594c6a8a18bd4db6222c" |
| DATABASE_URL | "mysql://lm_test:iWh2LIhIzsxAy1Lo@aws040.chynjhoekffq.eu-central-1.rds.amazonaws.com:3306/lm_test" |
| MMSN_CLIENT_ID | "3MVG98_Psg5cppyYw3hPCefxr0d3moYaSw30qvzqSXQu7cXsbWrG5PD.5IYmtk6Z1Y2QRJ64TPn.adEzY52NY" |
| MMSN_CLIENT_SECRET | "6E25DE04E68F32A31E0F3E730DF9E73083915529068D9F847EDC97449EFFF418" |
| MMSN_PASSWORD | "Mmsn202210" |
| MMSN_SECURITY_TOKEN | "tv49NsmS3w38HPq1a70NSZ8ic" |
| OKTA_AUTH_URL | "https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/token" |
| OKTA_CLIENT_ID | "irn-80767_uat_pkjwt_x9anhzwskh5e" |
| OKTA_KID | "2027-03-22-3366914" |
| OKTA_PRIVATE_KEY_FILE | "/var/keys/okta-private.key" |
| RLEADS_API_BASE_URL | "https://apis-qa.renault.com/rleads" |
| RLEADS_API_KEY | "hiJZegSNAMGbN0GH5En6p6fwy7RLP7Kx" |
| SITE_LMS__CAW4_DB_PASS | "c@rtelcaw2015" |
| SITE_LMS__CTM3_DB_PASS | "7ndo3ndJKDM*E" |
| SITE_LMS__CWP2_DB_PASS | "HK0YkG6df5LeRElF" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_PROJECT_DIR | "/home/lms/www/test/releases/56" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/home/lms/www/test/releases/56" ] |
| CONTENT_LENGTH | "1449" |
| CONTENT_TYPE | "application/json" |
| DOCUMENT_ROOT | "/home/lms/www/test/releases/56/public" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/home/lms" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_CONTENT_LENGTH | "1449" |
| HTTP_CONTENT_TYPE | "application/json" |
| HTTP_HOST | "test.lms.cartel.work" |
| HTTP_X-JS-Include | "" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "returnInput=1" |
| REDIRECT_STATUS | "200" |
| REMOTE_ADDR | "3.67.27.65" |
| REMOTE_PORT | "37342" |
| REMOTE_USER | "" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1775474900 |
| REQUEST_TIME_FLOAT | 1775474900.1535 |
| REQUEST_URI | "/api/leads?returnInput=1" |
| SCRIPT_FILENAME | "/home/lms/www/test/releases/56/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "172.31.24.204" |
| SERVER_NAME | "test.lms.cartel.work" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/2.0" |
| SERVER_SOFTWARE | "nginx/1.22.1" |
| SYMFONY_DOTENV_VARS | "SITE_LMS__CTM3_DB_PASS,SITE_LMS__CAW4_DB_PASS,SITE_LMS__CWP2_DB_PASS,MMSN_CLIENT_ID,MMSN_CLIENT_SECRET,MMSN_PASSWORD,MMSN_SECURITY_TOKEN,APP_ENV,APP_SECRET,DATABASE_URL,OKTA_PRIVATE_KEY_FILE,OKTA_AUTH_URL,OKTA_CLIENT_ID,OKTA_KID,RLEADS_API_BASE_URL,RLEADS_API_KEY" |
| USER | "lms" |