Skip to content

Update EV Dynamic Data

Request

Update EV Charging data for a given EV Charging Station.

Security
X-API-KEY or Authorization
Path
idstringrequired

The uberall unique id of the EV Charging station for which you want to update information.

uidstringrequired

The UID for the EV Charging station

Query
statusstringrequired

Query based on the location status

Body*/*required

A EvStatus object

string

EvStatus Enum Model

Enum:"AVAILABLE""BLOCKED""CHARGING""INOPERATIVE""OUTOFORDER""PLANNED""REMOVED""RESERVED""UNKNOWN"
curl -i -X PATCH \
  'https://uberall.com/api/locations/{id}/ev-data/{uid}?status=string' \
  -H 'Content-Type: */*' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d AVAILABLE

Responses

Request successfully sent to eco-movement

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "location": {
      "id": 0,
      "openingHours": [
        {
          "dayOfWeek": 1,
          "closed": false,
          "from1": "08:00",
          "to1": "11:00"
        },
        {
          "dayOfWeek": 2,
          "closed": false,
          "from1": "08:00",
          "to1": "11:00",
          "from2": "13:00",
          "to2": "21:00"
        },
        {
          "dayOfWeek": 3,
          "closed": true
        }
      ],
      "specialOpeningHours": [
        {
          "date": "2017-06-29",
          "closed": true
        },
        {
          "date": "2017-06-30",
          "from1": "11:00",
          "to1": "14:00",
          "from2": "16:00",
          "to2": "20:00"
        }
      ],
      "name": "Coffee House Berlin",
      "street": "Friedrichstraße",
      "streetNo": "45A",
      "streetType": "ALAMEDA",
      "addressExtra": "Suite 304",
      "zip": "10115",
      "city": "Berlin",
      "province": "Berlin",
      "country": "DE",
      "lat": 52.52,
      "lng": 13.405,
      "addressDisplay": true,
      "normalizationStatus": "NOT_NORMALIZED",
      "phone": "+4912345678",
      "fax": "+4912345678",
      "cellphone": "+4912345678",
      "website": "https://www.example.com",
      "email": "info@example.com",
      "legalIdent": "string",
      "taxNumber": "string",
      "emailVerification": "UNVERIFIED",
      "descriptionShort": "string",
      "descriptionLong": "string",
      "imprint": "string",
      "openingHoursNotes": "We never open on bank holidays",
      "keywords": [
        "string"
      ],
      "callToActions": [
        {
          "text": "string",
          "url": "string"
        }
      ],
      "labels": "['Campaign2018', 'EastCoast']",
      "brands": [
        "string"
      ],
      "paymentOptions": [
        "-cash",
        "credit card",
        "invoice"
      ],
      "languages": [
        "string"
      ],
      "alternativeNames": [
        "string"
      ],
      "categories": [
        0
      ],
      "status": "CREATED",
      "firstSyncStarted": "2019-08-24T14:15:22Z",
      "lastSyncStarted": "2019-08-24T14:15:22Z",
      "lastSyncCheckEnqueued": "2019-08-24T14:15:22Z",
      "lastUnwantedCheckEnqueued": "2019-08-24T14:15:22Z",
      "deactivated": "2019-08-24T14:15:22Z",
      "identifier": "string",
      "photos": [
        {
          "description": "string",
          "sourceUrl": "string",
          "identifier": "string",
          "cropOffsetX": 0,
          "cropOffsetY": 0,
          "cropWidth": 0,
          "cropHeight": 0,
          "type": "MAIN",
          "order": 0,
          "dateCreated": "2019-08-24T14:15:22Z",
          "lastUpdated": "2019-08-24T14:15:22Z",
          "photo": "string",
          "locationId": 0,
          "url": "string"
        }
      ],
      "translations": {
        "en": {
          "name": "English name",
          "descriptionShort": "Short description in English"
        },
        "de": {
          "name": "German name",
          "descriptionShort": "Kurze Beschreibung auf Deutsch"
        }
      },
      "nextBilling": "2019-08-24T14:15:22Z",
      "endDate": "2019-08-24T14:15:22Z",
      "cancellationDate": "2019-08-24T14:15:22Z",
      "dateCreated": "2019-08-24T14:15:22Z",
      "lastUpdated": "2019-08-24T14:15:22Z",
      "autoSync": true,
      "timezone": "string",
      "openingDate": "2019-08-24",
      "sortableData": "string",
      "wizardStepFinished": 0,
      "suggestions": [
        {
          "id": 0,
          "type": "FOURSQUARE",
          "status": "HIDDEN",
          "value": {},
          "directory": "FOURSQUARE"
        }
      ],
      "serviceAreas": [
        {
          "name": "Berlin, Deutschland",
          "placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ"
        }
      ],
      "locationConnects": [
        {
          "directoryType": "FOURSQUARE"
        }
      ],
      "callTrackingNumbers": [
        {
          "type": "FOURSQUARE",
          "number": "string"
        }
      ],
      "utms": [
        {
          "type": "FOURSQUARE",
          "parameters": "string"
        }
      ],
      "transactionLinks": [
        {
          "directoryType": "FOURSQUARE",
          "url": "string",
          "type": "APPOINTMENT",
          "appStoreUrl": "string",
          "isPreferred": true
        }
      ],
      "actionLinks": [
        {
          "directoryType": "FOURSQUARE",
          "url": "string",
          "type": "APPOINTMENT",
          "appStoreUrl": "string",
          "isPreferred": true
        }
      ],
      "temporarilyClosed": {
        "temporarilyClosed": true,
        "reopenDate": "string"
      },
      "features": [
        "ADS"
      ],
      "streetAndNumber": "string",
      "needsReview": [
        {
          "description": "string",
          "field": "NAME",
          "type": "CANNOT_START_SYNC",
          "id": 0
        }
      ],
      "businessName": "string",
      "nameDescriptor": "string",
      "sublocality": "string",
      "evData": {
        "type": "ON_STREET",
        "owner": "string",
        "operator": "string",
        "subOperator": "string",
        "timezone": "string",
        "isChargingClosed": true,
        "updateTime": "2019-08-24T14:15:22Z",
        "supplyEquipments": [
          {
            "uid": "string",
            "evseId": "string",
            "physicalReference": "string",
            "updateTime": "2019-08-24T14:15:22Z",
            "connectors": [
              {}
            ],
            "parkingRestrictions": [
              "CUSTOMERS"
            ]
          }
        ]
      },
      "doctorComData": {
        "npi": "string",
        "hospitals": [
          {
            "hospitalName": "string",
            "hospitalCity": "string",
            "hospitalState": "string"
          }
        ],
        "educations": [
          {
            "educationName": "string",
            "educationType": "string",
            "startedYear": 0,
            "graduationYear": 0
          }
        ],
        "insurances": [
          {
            "companyName": "string",
            "insurancePlan": "string"
          }
        ],
        "credentials": "string",
        "university": "string",
        "hospitalAffiliations": "string",
        "insurancesAccepted": "string",
        "isProvider": true,
        "practiceName": "string",
        "providerTitle": "string",
        "providerFirstname": "string",
        "providerMiddlename": "string",
        "providerSurname": "string",
        "doctorCategories": [
          0
        ],
        "doctorCategoriesDetailed": [
          {
            "id": 111,
            "nuccTaxonomyCode": "207RI0011X"
          }
        ]
      },
      "customFields": [
        {
          "name": "foo",
          "value": "bar"
        }
      ],
      "businessSyncable": true,
      "activeDirectoriesCount": 0,
      "activeListingsCount": 0,
      "attributes": [
        {
          "externalId": "string",
          "value": "string",
          "displayName": "string",
          "groupDisplayName": "string",
          "valueMetadata": [
            {
              "value": "string",
              "displayName": "string"
            }
          ],
          "valueType": "BOOL, URL, ENUM, REPEATED_ENUM"
        }
      ],
      "businessId": 1234,
      "cleansingComment": "ADDRESS_DETAILS_VERIFIED",
      "cleansingInvalidDataReason": "string",
      "cleansingStatus": "NOT_CLEANSED",
      "contentLists": [
        0
      ],
      "dataPoints": 0,
      "listingsBeingUpdated": 0,
      "averageRating": 0.1,
      "listingsInSync": 0,
      "mainPhoto": {
        "description": "string",
        "sourceUrl": "string",
        "identifier": "string",
        "cropOffsetX": 0,
        "cropOffsetY": 0,
        "cropWidth": 0,
        "cropHeight": 0,
        "type": "MAIN",
        "order": 0,
        "dateCreated": "2019-08-24T14:15:22Z",
        "lastUpdated": "2019-08-24T14:15:22Z",
        "photo": "string",
        "locationId": 0,
        "url": "string"
      },
      "missingMandatoryFields": [
        "NAME"
      ],
      "directoriesMissingConnect": [
        "FOURSQUARE"
      ],
      "linkedToLocationGroups": [
        {
          "id": 0,
          "lastUpdated": "2019-08-24T14:15:22Z",
          "name": "string",
          "status": "ACTIVE",
          "creator": 0,
          "salesPartner": 0,
          "locationsCount": 0,
          "locations": [
            {
              "id": 1,
              "name": "Location 1",
              "status": "ACTIVE"
            }
          ],
          "users": [
            {
              "id": 1,
              "email": "jan.didschuneit@uberall.com",
              "firstName": "Jan",
              "lastName": "Didschuneit",
              "role": "ADMIN",
              "status": "VERIFIED"
            }
          ]
        }
      ],
      "locatedIn": [
        {
          "directoryType": "FOURSQUARE",
          "placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ",
          "relationType": "DEPARTMENT_OF",
          "placeName": "string",
          "placeAddress": "string",
          "lat": 52.52,
          "lng": 13.405,
          "id": 0
        }
      ],
      "directoriesPublishingStatus": [
        "string"
      ],
      "locationSyncable": true,
      "suggestionsForFieldsAvailable": true,
      "moreHours": [
        {
          "type": {
            "id": 0
          },
          "hours": [
            {
              "dayOfWeek": 1,
              "from": "08:00",
              "to": "18:00"
            }
          ]
        }
      ],
      "lodgingFields": [
        {
          "value": "true",
          "id": 0,
          "externalId": "string",
          "category": "string",
          "displayName": "string"
        }
      ],
      "profileCompleteness": 0,
      "publishedListingsCount": 0,
      "socialProfiles": [
        {
          "url": "string",
          "type": "FACEBOOK"
        }
      ],
      "videos": [
        {
          "id": 0,
          "url": "string",
          "description": "string",
          "type": "YOUTUBE"
        }
      ],
      "visibilityIndex": 0,
      "skipFacebookPicturesUpdate": true,
      "businessCountry": "AF",
      "businessType": "SMB",
      "contentCollections": {
        "id": 0,
        "identifier": "string",
        "name": "string",
        "description": "string",
        "type": "MENU",
        "contentLists": [
          {
            "id": 0,
            "title": "Lunch Menu",
            "type": "MENU",
            "description": "string",
            "translations": [
              {
                "hu": {
                  "title": "Magyar"
                },
                "fr": {
                  "title": "Titre Français"
                }
              }
            ],
            "items": [
              {
                "image": {},
                "allergens": [],
                "dietaryRestrictions": []
              }
            ]
          }
        ],
        "locationIds": [
          0
        ],
        "isReadOnly": false,
        "cuisineType": "AMERICAN",
        "url": "string"
      },
      "locationNeedsReview": [
        {
          "description": "string",
          "field": "NAME",
          "type": "CANNOT_START_SYNC",
          "id": 0
        }
      ],
      "services": [
        {
          "title": "string",
          "description": "string",
          "identifier": "string",
          "listName": "string",
          "price": 0,
          "currency": "USD",
          "url": "string",
          "category": 0,
          "country": "string",
          "googleService": "string",
          "priceMax": 0,
          "duration": 0,
          "durationMax": 0
        }
      ]
    },
    "uid": "string",
    "status": "string"
  }
}