I was just working on updating my code to use this new login procedure. I really appreciate you posting this info.
Out of curiosity, might I ask how you figured out the encryption method and settings for the new login flow?
Josh
You're right! I had everything else removed but the region. Hmm, I'll have to set my proxy back up and see how the app discovers that value at registration time.
The most general way to deal with the region code is to use the login operation. It doesn't require the region code and its response contains the appropriate region for the provided credentials.
I'm going to cache this at "link" time for my users. I might not even need to store carwings...
Not sure actually. I think this is actually an ID number from the DCM in the car (I'm still trying to figure out what the DCM is (one of the car's computers). So I think it may be static, or maybe only static until the car is registered with another owner. It's going to take some more testing to...
Think I'm going to flesh out all the operations and their response bodies in some docs. But yes, even state mutation is done via get requests:
GET https://gdcportalgw.its-mo.com/orchestration_1111/gdc/ACRemoteRequest.php?RegionCode=NNA&lg=en-US&DCMID=<dcmid>&VIN=<vin>&tz=America/Denver
I don't...
Ha... Yeah
// Thanks for putting my credentials in the URL so they can be logged by servers and proxies.
GET https://gdcportalgw.its-mo.com/orchestration_1111/gdc/UserLoginRequest.php?RegionCode=NNA&lg=en-US&DCMID=&VIN=&tz=&UserId=josh%40example.com&Password=supers3kr3t
// Yes, if you paste...
I've been working on a Leaf app and started seeing this as well. Argh. I guess they deprecated and then decommissioned the old XML API, these are the risks running rogue. Though having a JSON API will be easier for me. (I haven't gotten my proxy set up yet, but I hope that state change mods...