Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleService URL
themeConfluence
languagebash
https://<serviceName>/rest/ListStoresRunScript?apsws.time=[timestamp]&apsdb.scriptName=deliverMessage
Code Block
titleRequest Headers
themeConfluence
languagejava
Authorization: Bearer WDczNUYwQzNQTzpSMkQyOjFGRkIyMDgxRjRFNEEwNjgwRDcyRTQ2OUFFREI3OUFD