get_event_subscription {EDIutils}R Documentation

Get event subscription

Description

Get event subscription

Usage

get_event_subscription(subscriptionId, as = "data.frame", env = "production")

Arguments

subscriptionId

(numeric) Event subscription identifier

as

(character) Format of the returned object. Can be: "data.frame" or "xml".

env

(character) Repository environment. Can be: "production", "staging", or "development".

Value

(data.frame or xml_document) Subscription metadata

Note

User authentication is required (see login())

See Also

Other Event Notifications: create_event_subscription(), delete_event_subscription(), execute_event_subscription(), get_event_subscription_schema(), query_event_subscriptions()

Examples

## Not run: 

login()

# Get subscription
subscription <- get_event_subscription(
  subscriptionId = 21,
  env = "staging"
)

logout()

## End(Not run)


[Package EDIutils version 1.0.3 Index]