Skip to main content

Finish Parking Session

DELETE 

/zonesessions

Finishes any active "on-street" parking sessions for a user.

Request

Header Parameters

    x-access-token stringrequired

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

    Example: NgDvLMpPq.6AgfCvkP.YEWA3ZX

Responses

Created

Schema
    uid stringrequired

    A unique identifier for this parking zone session in LetMePark database

    lmpzid stringrequired

    The identifier for a regulated parking zone

    zone_name stringrequired

    The name of the regulated parking zone

    zone_subname stringrequired

    The name of the regulated parking zone

    city string

    The name/identifier of the parking city

    user_uid stringrequired

    Unique id for a user (with payment method).

    lat floatrequired

    Possible values: >= -90 and <= 90

    The geo latitude of the user at the time of the activation request

    long floatrequired

    Possible values: >= -180 and <= 180

    The geo longitude of the user at the time of the activation request

    address stringrequired

    The address where the user was located

    start date-timerequired

    The time when user started parking in this zone

    end date-time

    The time when user finshed parking in this zone

    duration integer

    The duration of parking in this zone (in minutes)

    max_duration integerrequired

    The maximum parking duration allowed in this zone (in minutes)

    status stringrequired

    Possible values: [ACTIVE, FINISHED]

    The status of the session (ACTIVE or FINISHED)

    price float

    The price for this zone session once FINISHED.

    original_price float

    The price for this zone session per hour in BCN. The price for this zone session without commission in MADRID.

    maxAmount float

    The maximum price to be charged in this zone session. Only for BCN.

    addons object[]

    Only for BCN. Supplements applied depending on area and vehicle

  • Array [
  • id string

    A unique identifier for this addon session

    description string

    Type of suplement (pollution, vehicle...)

    addonAmount float

    Total price of suplement add form this zone/vehicle

    amount float

    Suplement form this zone/vehicle

    type string

    Tag for type of tariffs applies for this zone

  • ]
  • number_plate stringrequired

    Number plate of vehicle used for this parking session

    car_brand stringrequired

    Brand of vehicle used for this parking session

    car_model stringrequired

    Model of vehicle used for this parking session

    car_tag string

    Possible values: [0, C, B, ECO]

    The environmental tag of vehicle used for this parking session

    support_phone string

    A phone number for support if there are any problems (phone + whatsapp)

    support_email string

    An email address for support if there are any problems.

Loading...