-
Notifications
You must be signed in to change notification settings - Fork 0
Description
This azure function, should have an MCP trigger and enable the ability for the application to perform the following actions:
GetTelemetry - This endpoint should receive an object that called a TelemetryRequest which is a json based object. It should include the following:
SensorKey - string - The identify for the sensor
StartDate - The start date for the telemetry request
EndDate - The end date for the telemetry request
It should take this json object, and submit it as a message against the service bus topic "Telemetry".
Send Action - This endpoint should receive an object called "ActionRequest" which is a json based object. It should include the following:
ActionType - The action key to indicate what it is being told to do.
ActionSpec - A string object, which will hold raw json to be processed by the service
It should take this json object, and submit it as a message against the service bus topic "Action"