Skip to main content

Find Offers by lmppid

GET 

/offers/:lmppid

Finds an offer for a lmppid

Request

Path Parameters

    lmppid stringrequired

    The identifier for a parking offer. (ie empark-3,parclick-2471,parclick-1803)

Query Parameters

    start date-time

    Default value: now

    ISO8601 timestamp when parking starts (Defaults to now)

    Example: 2024-06-01T12:00:00.000Z
    duration int32

    Possible values: >= 15 and <= 14400

    Default value: 60

    Parking duration in minutes (Defaults to 60, minimum 15, maximum 14400)

    Example: 60
    locale string

    Default value: es

    Translates offer's messages (like access) to the selected language in ISO2 code.

    Example: es

Header Parameters

    x-access-token string

    Authentication header obtained from POST /authenticate that identifies the user making this call.

    Example: NgDvLMpPq.6AgfCvkP.YEWA3ZX
    x-api-user string

    Authentication header obtained from POST /authenticate that identifies the client making this call.

    Example: AbC123DeF456GhI789JkL012
    x-api-key string

    Authentication header obtained from POST /authenticate that identifies the user making this call.

    Example: XyZ456AbC789DeF012GhI345

Responses

OK

Schema
  • Array [
  • lmppid stringrequired

    The identifier for this offer

    name stringrequired

    The name of the parking

    type string

    Type of parking

    provider string

    Provider od the offer

    PID number

    Id of the parking from the provider

    address stringrequired

    The address of the parking

    lat floatrequired

    Possible values: >= -90 and <= 90

    The geo latitude of the parking

    long floatrequired

    Possible values: >= -180 and <= 180

    The geo longitude of the parking

    customer_price float

    The expected price for this offer

    available boolean

    True if a booking can be made online

    reason string

    Reason if aviable is false

    automated boolean

    True if offer supports automated entry and billing

    pluscode string

    Unique code for the parking

    access_msg string

    How to access the parking, any special instructions the user needs to know

    cancel_mn int32

    Minimum time necessary, in minutes, to cancel this booking (from the start time). If null or undefined then the booking cannot be cancelled.

    booking_url string

    Url with the parking details from the provider of the offer

    rates object[]

    List with different prices according to the time of reservation ordered from lowest to highest price

  • Array [
  • time integerrequired

    Magnitude of the time unit

    unit stringrequired

    The unit of time. It can be day or hour

    price floatrequired

    Amount corresponding to the offer time (including 10% LMP commission)

    currency stringrequired

    Price currency

    friendly_name stringrequired

    Formatted time and time unit

  • ]
  • ]
Loading...