Comments (7)
Hi, thank you for the feedback,
I could reproduce, I will give a look ASAP to fix this bug and I'll let you know.
from xee-api-docs.
Keep us informed :)
from xee-api-docs.
Any updates ?
from xee-api-docs.
Hello, sorry for the delay. I'm running out of time these days.
Anyway, @LeGuit could you check that the request is correctly URL encoded?
This request works :
curl -X GET -H "Authorization: Bearer XXXXX" -H "Content-Type: application/json" "https://staging.xee.com/v3/cars/2155/locations?begin=2016-09-20T00:00:00%2B02:00&end=2016-09-30T00:00:00%2B02:00"
This one, does not:
curl -X GET -H "Authorization: Bearer XXXXX" -H "Content-Type: application/json" "https://staging.xee.com/v3/cars/2155/locations?begin=2016-09-20T00:00:00+02:00&end=2016-09-30T00:00:00+02:00"
from xee-api-docs.
Hey @alexjomin !
I've just test both of those requests and yes the first is working and the second does not.
Referring to the documentation the format should be :
"Format is 2016-04-20T13:37:42Z(+/-HH:mm)"
So it's strange that the second one does not work
from xee-api-docs.
So, the correct URL-encoded url should be :
https://{env}.xee.com/v3/cars/{carId}/locations?begin=2016%2D09%2D20T00%3A00%3A00%2B02%3A00&end=2016%2D09%2D30T00%3A00%3A00%2B02%3A00
from xee-api-docs.
":"
is indeed an unsafe character, it's better to encode it as %3A
even if it leads to the same result : Example in the go playground
from xee-api-docs.
Related Issues (20)
- [Auth] Wildcard in Oauth2 redirect urls HOT 5
- Add the ability for GET /car/{carId}/trips with a bigger range than 1 month HOT 2
- [Devices] Ability to list devices associated to a given user
- [Devices] Inconsistency in naming deviceId/xeeId HOT 1
- [Users] Missing explanations about the user role
- [Signals] EV/PHEV : Battery signals HOT 1
- locations api
- [Auth] Refresh Tokens expire abnormally and API respond with "invalid request" HOT 7
- API V1 HOT 6
- Filtre sur les données HOT 1
- API v4: missing scope HOT 1
- HTTP error 400 when getting token for an unknown reason HOT 1
- API v4: minor details in documentation HOT 1
- API v4: some signals reported as available are non-existants
- No trips returned with API v4 (when privacy setting is enabled in official Xee app) HOT 1
- [API v4][enhancement] specify what happens when disassiocating a vehicle HOT 1
- What is kType ?
- [feature request] a demo or test vehicle
- [API v4] 303 redirect is forbidden by spec for preflighted CORS request HOT 1
- Description des données DeviceData
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xee-api-docs.