ETCars API support...

General - not platform specific
Post Reply
Jagman
Posts: 2
Joined: Fri May 03, 2019 11:03 am
Has liked: 2 times
Liked: 1 time

Fri May 03, 2019 11:16 am

I was told that ETCars has the ability to connect directly to an API to send data. Is that true? If so how would I go about doing that? Evidently, this post needs to be 256 characters so I need to add some filler words so I can reach the min amount. There we go
User avatar
jammerxd
Site Admin
Posts: 6
Joined: Sat Oct 27, 2018 4:41 pm
Has liked: 4 times
Liked: 2 times

Fri May 03, 2019 6:49 pm

ETCARS can forward delivery data to an endpoint specified by a user. This feature is currently a dev feature only as I'm waiting for the sdk update(supposedly coming with version 1.35). To do this, sign in with steam on https://etcarsdev.menzelstudios.com. Click the user avatar and hit manage projects. Only do this if you are setting up and managing the forwarding API. Once you have a project created, click on your user avatar and click Delivery forwarding. Search for your project by name and select it and then make sure the API Enabled switch is set to enabled and click submit. Now anyone can find the API endpoint you created and add it to their profile just as you did. This will now tell ETCARS to forward your deliveries to the project you specified. Keep in mind any api setup now is likely to break in the coming months due to updates. Hopefully this answers your question.


Josh
Jagman
Posts: 2
Joined: Fri May 03, 2019 11:03 am
Has liked: 2 times
Liked: 1 time

Sun May 05, 2019 8:29 am

Alright, cool thank you. One question though, how is the data loaded in? Does it just put that data in the callback url. I'm new to API's and I am having problems setting it up properly. Could you possibly explain what I will need to do? You can also email me if that is easier.
Thanks,
-Jagman
User avatar
jammerxd
Site Admin
Posts: 6
Joined: Sat Oct 27, 2018 4:41 pm
Has liked: 4 times
Liked: 2 times

Sun May 05, 2019 11:21 am

The API url will receive a POST request with the data. The data is contained in the data field. The data field is a json string containing the job data. The API key will be in whatever field you specified and use the method you specified. You may need to perform a utf8 encode before decoding the data.

Josh
Post Reply