get_event_subscription_schema {EDIutils}R Documentation

Get event subscription schema

Description

Get event subscription schema

Usage

get_event_subscription_schema(env = "production")

Arguments

env

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

Value

(xml_document) Schema for event subscription creation request entities.

See the xml2 library for more on working with XML.

See Also

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

Examples

## Not run: 

# Get schema
schema <- get_event_subscription_schema()
schema
#> {xml_document}
#> <schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
#> [1] <xs:element name="subscription">\n  <xs:complexType>\n    <xs:    ...

# Show schema structure
xml2::xml_structure(schema)
#> <schema [xmlns:xs]>
#>   <element [name]>
#>     <complexType>
#>       <all>
#>         <element [name, type, minOccurs, maxOccurs]>
#>         <element [name, type, minOccurs, maxOccurs]>
#>       <attribute [name, type, use, fixed]>

## End(Not run)

[Package EDIutils version 1.0.3 Index]