Skip to main content
API

Add new OCPI location to an already existing integration between customer and third party

x-ms-visibility: "important"

Use this endpoint to create locations of chargers to an OCPI integration. Usually one OCPI location corresponds to one site in eMabler system

Path Parameters
    integrationId string required

    Unique identifier for the integration

Query Parameters
    excludeChargers string

    If false, all the chargers in a site are added automatically to a location. If true, an empty location is created. Default if omitted: false

Request Body

Request body with the location data to be added to the integration

    name string
    publish boolean nullable
    publishAllowedTo object[]
  • Array [
  • uid string
    type int32

    Possible values: [0, 1, 2, 3]

    Default value: 0

    visualNumber string
    issuer string
    groupId string
  • ]
  • address string
    city string
    postalCode string
    state string
    country string
    coordinates object
    latitude string
    longitude string
    relatedLocations object[]
  • Array [
  • latitude string
    longitude string
    name object
    language string
    text string
  • ]
  • parkingType int32 nullable

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7]

    Default value: 0

    directions object[]
  • Array [
  • language string
    text string
  • ]
  • operator object
    name string
    website uri
    logo object
    url uri
    thumbnail uri
    category int32

    Possible values: [0, 1, 2, 3, 4, 5, 6]

    Default value: 0

    type string
    width int32
    height int32
    suboperator object
    name string
    website uri
    logo object
    url uri
    thumbnail uri
    category int32

    Possible values: [0, 1, 2, 3, 4, 5, 6]

    Default value: 0

    type string
    width int32
    height int32
    owner object
    name string
    website uri
    logo object
    url uri
    thumbnail uri
    category int32

    Possible values: [0, 1, 2, 3, 4, 5, 6]

    Default value: 0

    type string
    width int32
    height int32
    facilities int32[]

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]

    timezone string
    openingTimes object
    twentyfourseven boolean
    regularHours object[]
  • Array [
  • weekday int32
    periodBegin string
    periodEnd string
  • ]
  • exceptionalOpenings object[]
  • Array [
  • periodBegin date-time
    periodEnd date-time
  • ]
  • exceptionalClosings object[]
  • Array [
  • periodBegin date-time
    periodEnd date-time
  • ]
  • chargingWhenClosed boolean nullable
    images object[]
  • Array [
  • url uri
    thumbnail uri
    category int32

    Possible values: [0, 1, 2, 3, 4, 5, 6]

    Default value: 0

    type string
    width int32
    height int32
  • ]
  • locationEnergyMix object
    isGreenEnergy boolean
    energySources object[]
  • Array [
  • source int32

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7]

    Default value: 0

    percentage float
  • ]
  • environImpact object[]
  • Array [
  • category int32

    Possible values: [0, 1]

    Default value: 0

    amount float
  • ]
  • supplierName string
    energyProductName string
    chargers object[]
  • Array [
  • chargerId string
    connector object[]
  • Array [
  • id string
    tariffIds string[]
  • ]
  • ]
  • siteId int64 nullable
    tariffIds string[]
Responses

Return location id


Schema
    id string
Loading...