EventRoutes

PUT /eventroutes/{id}

Changed on

Adds or replaces an event route. Status codes:

  • 204 No Content
  • 400 Bad Request
    • EventRouteEndpointInvalid - The endpoint provided does not exist or is not active.
    • EventRouteFilterInvalid - The event route filter is invalid.
    • EventRouteIdInvalid - The event route id is invalid.
    • LimitExceeded - The maximum number of event routes allowed has been reached.

Request

  • Base URL
    https://digitaltwins-hostname
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize

Path parameters

idstring required

The id for an event route. The id is unique within event routes and case sensitive.

Query parameters

api-versionstring required

The requested API version.

Headers

traceparentstring

Identifies the request in a distributed tracing system.

tracestatestring

Provides vendor-specific trace identification information and is a companion to traceparent.

Request body

idstring

The id of the event route.

endpointNamestring required

The name of the endpoint this event route is bound to.

filterstring required

An expression which describes the events which are routed to the endpoint.

Response

Success

Changes

  • 2020-05-31-previewd47143e47755Revision changes
    • info

      added the new optional header request parameter traceparent to all path's operations

    • info

      added the new optional header request parameter tracestate to all path's operations