Locations Data
Update EV Dynamic Data
Update EV Charging data for a given EV Charging Station.
patch/locations/{id}/ev-data/{uid}
Request
- Base URLhttps://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api
- AuthHTTP bearer
Path parameters
idstring required
The PromoRepublic unique id of the EV Charging station for which you want to update information.
uidstring required
The UID for the EV Charging station
Query parameters
statusstring
Query based on the location status
Request body */*
'AVAILABLE' | 'BLOCKED' | 'CHARGING' | 'INOPERATIVE' | 'OUTOFORDER' | 'PLANNED' | 'REMOVED' | 'RESERVED' | 'UNKNOWN' required
EvStatus Enum Model
Response
Request successfully sent to eco-movement
Example response
{
"response": {
"location": {
"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",
"addressExtra": "Suite 304",
"zip": "10115",
"city": "Berlin",
"province": "Berlin",
"country": "DE",
"lat": 52.52,
"lng": 13.405,
"addressDisplay": true,
"phone": "+4912345678",
"fax": "+4912345678",
"cellphone": "+4912345678",
"website": "https://www.example.com",
"email": "info@example.com",
"openingHoursNotes": "We never open on bank holidays",
"paymentOptions": [
"-cash",
"credit card",
"invoice"
],
"serviceAreas": [
{
"name": "Berlin, Deutschland",
"placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ"
}
],
"doctorComData": {
"doctorCategoriesDetailed": [
{
"id": 111,
"nuccTaxonomyCode": "207RI0011X"
}
]
},
"customFields": [
{
"name": "foo",
"value": "bar"
}
],
"attributes": [
{
"valueType": "BOOL, URL, ENUM, REPEATED_ENUM"
}
],
"businessId": 1234,
"linkedToLocationGroups": [
{
"locations": [
{
"id": 1,
"name": "Location 1",
"status": "ACTIVE"
}
],
"users": [
{
"id": 1,
"email": "jane.doe@example.com",
"firstName": "Jan",
"lastName": "Didschuneit",
"role": "ADMIN",
"status": "VERIFIED"
}
]
}
],
"locatedIn": [
{
"placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ",
"relationType": "DEPARTMENT_OF",
"lat": 52.52,
"lng": 13.405
}
],
"moreHours": [
{
"hours": [
{
"dayOfWeek": 1,
"from": "08:00",
"to": "18:00"
}
]
}
],
"skipFacebookPicturesUpdate": true,
"contentCollections": {
"contentLists": [
{
"title": "Lunch Menu",
"items": [
{
"category": "Starters, Drinks, Desert, etc."
}
]
}
]
},
"services": [
{
"currency": "USD"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.