PAL Gate icon

PAL Gate

Consume PAL Portal API

Car → Add

AI-generated

Summary

Add a car to a place by sending a POST request to the PAL Gate API with required place ID, phone number, and car number; optional color, request options, proxy, timeout, and SSL settings can be supplied.

Inputs

  • placeId (required) — The ID of the place
  • phone (required) — Phone number (e.g., 972501234567)
  • carNumber (required) — Car number/ID
  • color — Car color (optional)
  • requestOptions — Add Option (batching, SSL, proxy, timeout, etc.)
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request

Output shape

a single record (typically the created car object or acknowledgment)

Response may include the created car ID; optional fields depend on API; errors propagate as per PAL Gate API.

Examples

Example 1: Add a new car for place 123 with phone 972501234567 and car number ABC123

placeId=123, phone=972501234567, carNumber=ABC123, color=blue, requestOptions={batch={batchSize=50}}

Example 2: Add a car using a custom HTTP proxy and relaxed SSL validation

placeId=456, phone=972519876543, carNumber=XYZ789, proxy=http://user:pass@proxy.example.com:3128, allowUnauthorizedCerts=true

Links

Discussion