Problem with REST API
Answer
11/8/18 11:41 AM

Hello, 

 

i have a small, maybe trivial problem with the REST API under 

https://things.s-apps.de1.bosch-iot-cloud.com/documentation/rest/

I provided the api token but when i try to test some requests i laways gete a dialog requesting username and password. 

i tried all my account variations but the dialog appears again and again.

Which username password combination should i use there ?

Guidiance appreciated :-) 

Kind regards

sven

0 (0 Votes)
RE: Problem with REST API
Answer
11/9/18 3:41 PM as a reply to Sven Kabitzki.
Dear Sven,

Unfortunately, I cannot give you guidance here, since I get the exact same issue.

But I forwarded the issue to the Bosch SI Support, which is reachable via the email address support@bosch-si.com.

Please note in case of concrete issues such as the username and passphrase with the Bosch IoT cloud, I recommend contacting the Bosch SI support directly.

If you have any questions, feel free to ask.

Kind regards,
Franjo
0 (0 Votes)
RE: Problem with REST API
Answer
12/4/18 10:57 AM as a reply to Franjo Stjepandic.

Hello Franjo, 

 

i created a ticket at Bosch-SI Support and we are working on a solution :-) 

 

kind regards

sven

0 (0 Votes)
RE: Problem with REST API
Answer
12/4/18 3:55 PM as a reply to Sven Kabitzki.
Dear Sven,

Thank you for updating us on the issue with the REST API.

Kind regards,
Franjo
0 (0 Votes)
RE: Problem with REST API
Answer
12/6/18 12:20 PM as a reply to Franjo Stjepandic.

Hello, 

so, i had contact with the support team and we get it to work.

All informations are based on my experience within the demo enviroment of the Bosch IOT Cloud.

1. iit looks like it is fixed (if there were issues)

2. there is a new Rest API Version (2.0) 

3. To successfull use the API you need to authorize in advance booth, the API-Key AND a user (Authoriziation via Bosch-ID possible)

4. Requesting Information via API about things is only possible for THINGS registered in the Bosch Cloud Stuttgart - not AWS - Frankfurt (currently, maybe subject of change in the future) 
Therefore it is needed, to book demo services there (Bosch Cloud Stuttgart) 

5. It is essential, when using the REST API to select the Bosch Cloud ;-) 

6. By default, only the user registered the service has access to the things. Other users, created via IOT Permissions Service may authorize successfull. request successfull but get no data. (this maybe corrected by setting up policys for things via rest api by the "ROOT User" (main bosch id, the one, that booked the service) 

thats all folks ;-) 

kind regards

sven

 

0 (0 Votes)
RE: Problem with REST API
Answer
12/6/18 3:46 PM as a reply to Sven Kabitzki.
Dear Sven,

Thank you very much for summarizing your information regarding the REST API of the Bosch IoT Cloud and how to access it. I guess it will be a major help to a lot XDK community members who try the REST API out too.

Kind regards,
Franjo
0 (0 Votes)