Skip to main content
OCPI

Fetch CDRs from the CPO’s system.

Fetch CDRs from the CPO’s system.

Query Parameters
    date_from date-time

    Only return objects that have last_updated after or equal to this Date/Time (inclusive).

    date_to date-time

    Only return objects that have last_updated up to this Date/Time, but not including (exclusive).

    offset string

    The offset of the first object returned. Default is 0 (the first object).

    limit string

    The maximum number of objects to GET.

Header Parameters
    Authorization string required

    Token Base64encodedtoken

Responses

The OK response

Response Headers
  • X-Limit any

    The maximum number of objects that the server can return.

  • X-Total-Count any

    The total number of objects available in the server system that match the given parameters.

  • Link any

    Link to the next page if exists.


Schema
    data object[]
  • Array [
  • id string
    startDateTime date-time nullable
    stopDateTime date-time nullable
    authId string
    authMethod int32 nullable

    Possible values: [0, 1, 2]

    Default value: 0

    location object
    id string
    type int32 nullable

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

    Default value: 0

    name string
    address string
    city string
    postalCode string
    country string
    coordinates object
    latitude string
    longitude string
    relatedLocations object[]
  • Array [
  • latitude string
    longitude string
    name object
    language string
    text string
  • ]
  • evses object[]
  • Array [
  • uid string
    evseId string
    status int32 nullable

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

    Default value: 0

    statusSchedule object[]
  • Array [
  • period_begin date-time
    period_end date-time
    status int32

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

    Default value: 0

  • ]
  • capabilities int32[]

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]

    connectors object[]
  • Array [
  • id string
    standard int32 nullable

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]

    Default value: 0

    format int32 nullable

    Possible values: [0, 1]

    Default value: 0

    powerType int32 nullable

    Possible values: [0, 1, 2]

    Default value: 0

    voltage int32 nullable
    amperage int32 nullable
    tariffId string
    termsAndConditions uri
    lastUpdated date-time nullable
  • ]
  • floorLevel string
    coordinates object
    latitude string
    longitude string
    physicalReference string
    directions object[]
  • Array [
  • language string
    text string
  • ]
  • parkingRestrictions int32[]

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

    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
  • ]
  • lastUpdated date-time nullable
  • ]
  • 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
  • ]
  • energyMix 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 [
  • source int32

    Possible values: [0, 1]

    Default value: 0

    amount float
  • ]
  • supplierName string
    energyProductName string
    lastUpdated date-time nullable
    meterId string
    currency string
    tariffs object[]
  • Array [
  • id string
    currency string
    tariffAltText object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltUrl uri
    elements object[]
  • Array [
  • priceComponents object[]
  • Array [
  • type int32

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

    Default value: 0

    price float
    vat float nullable
    stepSize int32
  • ]
  • restrictions object
    startTime string
    endTime string
    startDate string
    endDate string
    minKwh double nullable
    maxKwh double nullable
    minCurrent double nullable
    maxCurrent double nullable
    minPower double nullable
    maxPower double nullable
    minDuration int32 nullable
    maxDuration int32 nullable
    dayOfWeek int32[]

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

    reservation int32 nullable

    Possible values: [0, 1]

    Default value: 0

  • ]
  • startDatetime date-time nullable
    endDatetime date-time nullable
    energyMix 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 [
  • source int32

    Possible values: [0, 1]

    Default value: 0

    amount float
  • ]
  • supplierName string
    energyProductName string
    lastUpdated date-time nullable
  • ]
  • chargingPeriods object[]
  • Array [
  • startDateTime date-time
    dimensions object[]
  • Array [
  • type int32

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]

    Default value: 0

    volume float
  • ]
  • tariffId string
  • ]
  • totalCost double nullable
    totalEnergy double nullable
    totalTime double nullable
    totalParkingTime double nullable
    remark string
    lastUpdated date-time
  • ]
  • statusCode int32
    statusMessage string
    timestamp date-time
Loading...