LeadController :: post
Request
GET Parameters
| Key | Value |
|---|---|
| returnInput | "1" |
POST Parameters
| Key | Value |
|---|---|
| lead | [ "sourceId" => 207839 "sourceName" => "CAW 5" "leadType" => "sales" "leadInformation" => [ "kindOfLead" => "Proefrit" "referrer" => "occasion.mazda.nl" "trackingIds" => null "utmTracking" => [] ] "leadDescription" => "Proefritaanvraag voor GGJ95T" "createdAt" => "2026-01-25 21:52:28" "location" => [ "sourceId" => 2454 "sourceName" => "caw-4" ] "cars" => [ [ "type" => "2" "hexonCode" => 319702550 "make" => "Mazda" "model" => "2" "version" => "1.5 SkyActiv-G 90 Homura Automaat - Dealer Onderhouden - 1e Eigenaar" "licensePlate" => "GGJ95T" "mileage" => 16592 "color" => "Bruin" "coating" => "Stof" "saleType" => 8 "fuel" => "Benzine" "body" => "Hatchback" "transmission" => "Automaat" "yearBuild" => 2024 "datePart1" => "2024-07-22 00:00:00" "prices" => [ [ "name" => "Vraagprijs" "value" => 23950 ] ] ] ] "extraData" => [ [ "name" => "Proefrit" "fields" => [ "Datum" => "2026-01-31" "Tijd" => "11:00:00" ] ] [ "name" => "Referer" "fields" => [ "Referer" => "https://occasion.mazda.nl/mazda2/mazda/2/15-skyactiv-g-90-homura-automaat-dealer-onderhouden-1e-eigenaar_occasion_ggj-95-t-locatie-apeldoorn/benzine/2503302/proefrit/" ] ] ] "relation" => [ "type" => "2" "salutation" => "dhr" "firstName" => "Michel" "lastName" => "Kloppenburg" "gender" => 1 "companyName" => "" "kvkNumber" => "" ] "addresses" => [ [ "type" => "1" "number" => "261" "zipcode" => "5235 KE" ] ] "phonenumbers" => [ [ "number" => "0649812741" "type" => "1" "optIn" => "0" ] ] "emailaddresses" => [ [ "emailaddress" => "m.kloppenburg@hotmail.com" "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 | "413a33" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| content-length | "1347" |
| content-type | "application/json" |
| host | "test.lms.cartel.work" |
| x-js-include | "" |
| x-php-ob-level | "1" |
Request Content
Pretty
{
"lead": {
"sourceId": 207839,
"sourceName": "CAW 5",
"leadType": "sales",
"leadInformation": {
"kindOfLead": "Proefrit",
"referrer": "occasion.mazda.nl",
"trackingIds": null,
"utmTracking": []
},
"leadDescription": "Proefritaanvraag voor GGJ95T",
"createdAt": "2026-01-25 21:52:28",
"location": {
"sourceId": 2454,
"sourceName": "caw-4"
},
"cars": [
{
"type": "2",
"hexonCode": 319702550,
"make": "Mazda",
"model": "2",
"version": "1.5 SkyActiv-G 90 Homura Automaat - Dealer Onderhouden - 1e Eigenaar",
"licensePlate": "GGJ95T",
"mileage": 16592,
"color": "Bruin",
"coating": "Stof",
"saleType": 8,
"fuel": "Benzine",
"body": "Hatchback",
"transmission": "Automaat",
"yearBuild": 2024,
"datePart1": "2024-07-22 00:00:00",
"prices": [
{
"name": "Vraagprijs",
"value": 23950
}
]
}
],
"extraData": [
{
"name": "Proefrit",
"fields": {
"Datum": "2026-01-31",
"Tijd": "11:00:00"
}
},
{
"name": "Referer",
"fields": {
"Referer": "https:\/\/occasion.mazda.nl\/mazda2\/mazda\/2\/15-skyactiv-g-90-homura-automaat-dealer-onderhouden-1e-eigenaar_occasion_ggj-95-t-locatie-apeldoorn\/benzine\/2503302\/proefrit\/"
}
}
],
"relation": {
"type": "2",
"salutation": "dhr",
"firstName": "Michel",
"lastName": "Kloppenburg",
"gender": 1,
"companyName": "",
"kvkNumber": ""
},
"addresses": [
{
"type": "1",
"number": "261",
"zipcode": "5235 KE"
}
],
"phonenumbers": [
{
"number": "0649812741",
"type": "1",
"optIn": "0"
}
],
"emailaddresses": [
{
"emailaddress": "m.kloppenburg@hotmail.com",
"optIn": "0"
}
]
}
}
Raw
{"lead":{"sourceId":207839,"sourceName":"CAW 5","leadType":"sales","leadInformation":{"kindOfLead":"Proefrit","referrer":"occasion.mazda.nl","trackingIds":null,"utmTracking":[]},"leadDescription":"Proefritaanvraag voor GGJ95T","createdAt":"2026-01-25 21:52:28","location":{"sourceId":2454,"sourceName":"caw-4"},"cars":[{"type":"2","hexonCode":319702550,"make":"Mazda","model":"2","version":"1.5 SkyActiv-G 90 Homura Automaat - Dealer Onderhouden - 1e Eigenaar","licensePlate":"GGJ95T","mileage":16592,"color":"Bruin","coating":"Stof","saleType":8,"fuel":"Benzine","body":"Hatchback","transmission":"Automaat","yearBuild":2024,"datePart1":"2024-07-22 00:00:00","prices":[{"name":"Vraagprijs","value":23950}]}],"extraData":[{"name":"Proefrit","fields":{"Datum":"2026-01-31","Tijd":"11:00:00"}},{"name":"Referer","fields":{"Referer":"https:\/\/occasion.mazda.nl\/mazda2\/mazda\/2\/15-skyactiv-g-90-homura-automaat-dealer-onderhouden-1e-eigenaar_occasion_ggj-95-t-locatie-apeldoorn\/benzine\/2503302\/proefrit\/"}}],"relation":{"type":"2","salutation":"dhr","firstName":"Michel","lastName":"Kloppenburg","gender":1,"companyName":"","kvkNumber":""},"addresses":[{"type":"1","number":"261","zipcode":"5235 KE"}],"phonenumbers":[{"number":"0649812741","type":"1","optIn":"0"}],"emailaddresses":[{"emailaddress":"m.kloppenburg@hotmail.com","optIn":"0"}]}}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Mon, 06 Apr 2026 13:17:18 GMT" |
| x-debug-token | "90c565" |
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 | "1347" |
| 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 | "1347" |
| 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 | "58742" |
| REMOTE_USER | "" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1775481438 |
| REQUEST_TIME_FLOAT | 1775481438.0592 |
| 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" |