...
Device R2D2 belongs to the application X735F0C3PO, it needs to send a ListStores request to Apstrata execute the Apstrata script deliverMessage using the bearer token authentication method. It will request a token by calling the GenerateToken API and signing with its credentials.
...
Finally, device R2D2 sends the ListStores RunScript request to the service URL and adds the bearer token (WDczNUYwQzNQTzpSMkQyOjFGRkIyMDgxRjRFNEEwNjgwRDcyRTQ2OUFFREI3OUFD) to the Authorization header.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
https://<serviceName>/rest/ListStoresRunScript?apsws.time=[timestamp]&apsdb.scriptName=deliverMessage |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Authorization: Bearer WDczNUYwQzNQTzpSMkQyOjFGRkIyMDgxRjRFNEEwNjgwRDcyRTQ2OUFFREI3OUFD |