Create a location
Creates a location under your OCPI party. A location id is never reused, even after the location is deleted.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
location_id
address
city
country
coordinates
time_zone
name
postal_code
state
parking_type
Allowed parking_type values on ocpp.ocpp_locations.
facilities
opening_times
charging_when_closed
publish
publish_allowed_to
parking_places
directions
operator
suboperator
owner
images
energy_mix
help_phone
Response
The created object.
id
location_id
publish
address
city
country
coordinates
time_zone
last_updated
revision
role
origin
country_code
party_id
ocpi_version
organization_id
created_at
updated_at
publish_allowed_to
name
postal_code
state
parking_type
parking_places
directions
operator
suboperator
owner
facilities
opening_times
charging_when_closed
images
energy_mix
help_phone
ocpp_version
Errors
401
Unauthorized Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error