EflClient
sendContactForm
Sends lead or contact data related to the leasing process.
sendContactForm() submits contact/lead information to the EFL API.
It wraps LeadApiClient::sendContactForm().
All methods on EflClient may throw:
ApiException– when the EFL API returns an error response.HttpException– when the HTTP transport fails.
Method signature
public function sendContactForm(
string $transactionId,
ContactData $contactData,
string $bearerToken
): void
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
transactionId | string | Yes | Identifier of the transaction associated with the lead. |
contactData | ContactData | Yes | Lead/contact data payload. |
bearerToken | string | Yes | Bearer token. |
Return value
- Type:
void– failures are reported via exceptions.