Outbound Payloads
When you do beam up , Beam runs as a background daemon service. By default, the Beam daemon runs a HTTP server which includes a REST API. You can programmatically interact with Beam and the GRID network over this API.
Send a Package
POST /api/package
Sends a package synchronously.
Headers
Content-Type
application/json
Body
id
Int32 (Optional)
Package id
channels
Array<Channel> (Optional)
Channels to send Package over. If none are provided, all channels are used.
collapseKey
Int32 (Optional)
If set, the given Package will replace any queued Packages that have a matching collapseKey. Use this to replace in-progress Packages with fresh data.
priority
Int32 (Optional)
Higher priority Packages will jump ahead of other Packages in the queue. Default is 11, Messages are 12, Locations are 10, Sos is 100.
Response
Your response will include a status. When using this endpoint, your status cases are terminal statuses which are listed below.
Last updated