Read Metadata of Event Configuration
With this method, you can retrieve the metadata of event configuration.
Request
URI: /ES/v1/$metadata
Operation Type: CRUD
HTTP Method: GET
Permissions: <tde>.r
Request Parameters
None
Request Example
/ES/v1/$metadataResponse
Response Status and Error Codes
| Code | Description |
|---|---|
| 200 | Event configuration metadata retrieved successfully. |
Payload
<?xml version="1.0" ?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
<edmx:DataServices m:DataServiceVersion="1.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">
<Schema Namespace="com.sap.appiot.es" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
<EntityType Name="Status">
<Key>
<PropertyRef Name="EventStatus"></PropertyRef>
</Key>
<Property Name="EventStatus" Type="Edm.String"></Property>
<Property Name="LanguageCode" Type="Edm.String"></Property>
<Property Name="Description" Type="Edm.String"></Property>
<NavigationProperty Name="Descriptions" Relationship="com.sap.appiot.es.Status_Description" FromRole="Statuses" ToRole="Descriptions"></NavigationProperty>
</EntityType>
<EntityType Name="Annotations">
<Key>
<PropertyRef Name="Name"></PropertyRef>
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false" MaxLength="81" sap:creatable="true" sap:updatable="false">
<Documentation>
<LongDescription>Name of Annotation</LongDescription>
</Documentation>
</Property>
<Property Name="PackageName" Type="Edm.String" Nullable="true" MaxLength="50" sap:creatable="false" sap:updatable="false">
<Documentation>
<LongDescription>Package Name</LongDescription>
</Documentation>
</Property>
<NavigationProperty Name="Annotations" Relationship="com.sap.appiot.es.EventPropertySetType_Annotation" FromRole="EventPropertySetTypes" ToRole="Annotations"></NavigationProperty>
</EntityType>
<EntityType Name="Properties">
<Key>
<PropertyRef Name="Name"></PropertyRef>
<PropertyRef Name="PropertySetType"></PropertyRef>
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false"></Property>
<Property Name="PropertySetType" Type="Edm.String" Nullable="false"></Property>
<Property Name="Type" Type="Edm.String"></Property>
<Property Name="PropertyLength" Type="Edm.String"></Property>
<NavigationProperty Name="Descriptions" Relationship="com.sap.appiot.es.Property_Description" FromRole="Properties" ToRole="Descriptions"></NavigationProperty>
</EntityType>
<EntityType Name="EventTypes">
<Key>
<PropertyRef Name="Name"></PropertyRef>
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false"></Property>
<Property Name="PackageName" Type="Edm.String" Nullable="false"></Property>
<Property Name="PropertySetId" Type="Edm.String"></Property>
<Property Name="PropertySetType" Type="Edm.String"></Property>
<Property Name="LanguageCode" Type="Edm.String"></Property>
<Property Name="Description" Type="Edm.String"></Property>
<Property Name="EventTypeState" Type="Edm.String"></Property>
<NavigationProperty Name="PropertySetDescriptions" Relationship="com.sap.appiot.es.EventType_PropertySetDescription" FromRole="EventTypes" ToRole="PropertySetDescriptions"></NavigationProperty>
<NavigationProperty Name="Statuses" Relationship="com.sap.appiot.es.EventType_Status" FromRole="EventTypes" ToRole="Statuses"></NavigationProperty>
<NavigationProperty Name="Severities" Relationship="com.sap.appiot.es.EventType_Severity" FromRole="EventTypes" ToRole="Severities"></NavigationProperty>
<NavigationProperty Name="Codes" Relationship="com.sap.appiot.es.EventType_Code" FromRole="EventTypes" ToRole="Codes"></NavigationProperty>
<NavigationProperty Name="Descriptions" Relationship="com.sap.appiot.es.EventType_Description" FromRole="EventTypes" ToRole="Descriptions"></NavigationProperty>
</EntityType>
<EntityType Name="EventCorrelations">
<Key>
<PropertyRef Name="CorrelationId"></PropertyRef>
</Key>
<Property Name="CorrelationId" Type="Edm.String">
<Documentation>
<LongDescription>Event Correlation ID</LongDescription>
</Documentation>
</Property>
<Property Name="EventId" Type="Edm.String"></Property>
<Property Name="BusinessTimestamp" Type="Edm.String"></Property>
<NavigationProperty Name="Events" Relationship="com.sap.appiot.es.EventCorrelation_Event" FromRole="EventCorrelations" ToRole="Events"></NavigationProperty>
</EntityType>
<EntityType Name="PropertySetDescriptions">
<Key>
<PropertyRef Name="LanguageCode"></PropertyRef>
</Key>
<Property Name="LanguageCode" Type="Edm.String" Nullable="false">
<Documentation>
<LongDescription>Language Code</LongDescription>
</Documentation>
</Property>
<Property Name="Description" Type="Edm.String">
<Documentation>
<LongDescription>Description</LongDescription>
</Documentation>
</Property>
</EntityType>
<EntityType Name="EventPropertySetTypes">
<Key>
<PropertyRef Name="Name"></PropertyRef>
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false"></Property>
<Property Name="PackageName" Type="Edm.String" Nullable="false"></Property>
<Property Name="DataCategory" Type="Edm.String"></Property>
<Property Name="Language" Type="Edm.String"></Property>
<Property Name="PropertySetTypeDescription" Type="Edm.String"></Property>
<NavigationProperty Name="Properties" Relationship="com.sap.appiot.es.EventPropertySetType_Property" FromRole="EventPropertySetTypes" ToRole="Properties"></NavigationProperty>
<NavigationProperty Name="Descriptions" Relationship="com.sap.appiot.es.EventPropertySetType_Description" FromRole="EventPropertySetTypes" ToRole="Descriptions"></NavigationProperty>
<NavigationProperty Name="Annotations" Relationship="com.sap.appiot.es.EventPropertySetType_Annotation" FromRole="EventPropertySetTypes" ToRole="Annotations"></NavigationProperty>
</EntityType>
<EntityType Name="Descriptions">
<Key>
<PropertyRef Name="LanguageCode"></PropertyRef>
</Key>
<Property Name="LanguageCode" Type="Edm.String">
<Documentation>
<LongDescription>Language Code</LongDescription>
</Documentation>
</Property>
<Property Name="Description" Type="Edm.String">
<Documentation>
<LongDescription>Description</LongDescription>
</Documentation>
</Property>
</EntityType>
<EntityType Name="Severity">
<Key>
<PropertyRef Name="EventSeverity"></PropertyRef>
</Key>
<Property Name="EventSeverity" Type="Edm.String"></Property>
<Property Name="LanguageCode" Type="Edm.String"></Property>
<Property Name="Description" Type="Edm.String"></Property>
<NavigationProperty Name="Descriptions" Relationship="com.sap.appiot.es.Severity_Description" FromRole="Severities" ToRole="Descriptions"></NavigationProperty>
</EntityType>
<EntityType Name="Events">
<Key>
<PropertyRef Name="EventId"></PropertyRef>
</Key>
<Property Name="EventId" Type="Edm.String" Nullable="false">
<Documentation>
<LongDescription>Event unique ID</LongDescription>
</Documentation>
</Property>
<Property Name="CorrelationId" Type="Edm.String">
<Documentation>
<LongDescription>Event Correlation ID</LongDescription>
</Documentation>
</Property>
<Property Name="BusinessTimestamp" Type="Edm.String"></Property>
<Property Name="Type" Type="Edm.String"></Property>
<Property Name="EventType" Type="Edm.String"></Property>
<Property Name="EventStatus" Type="Edm.String"></Property>
<Property Name="EventSeverity" Type="Edm.Int64"></Property>
<Property Name="EventCode" Type="Edm.String"></Property>
<Property Name="EventSource" Type="Edm.String"></Property>
<Property Name="ThingId" Type="Edm.String"></Property>
<Property Name="ThingProperty" Type="Edm.String"></Property>
<Property Name="ExternalId" Type="Edm.String"></Property>
<Property Name="EventInfo" Type="Edm.String"></Property>
</EntityType>
<EntityType Name="Codes">
<Key>
<PropertyRef Name="EventCode"></PropertyRef>
</Key>
<Property Name="EventCode" Type="Edm.String"></Property>
<Property Name="LanguageCode" Type="Edm.String"></Property>
<Property Name="Description" Type="Edm.String"></Property>
<NavigationProperty Name="Descriptions" Relationship="com.sap.appiot.es.Code_Description" FromRole="Codes" ToRole="Descriptions"></NavigationProperty>
</EntityType>
<Association Name="EventPropertySetType_Annotation">
<End Type="com.sap.appiot.es.EventPropertySetType" Multiplicity="1" Role="EventPropertySetTypes"></End>
<End Type="com.sap.appiot.es.Annotations" Multiplicity="*" Role="Annotations"></End>
</Association>
<Association Name="Property_Description">
<End Type="com.sap.appiot.es.Property" Multiplicity="1" Role="Properties"></End>
<End Type="com.sap.appiot.es.Description" Multiplicity="*" Role="Descriptions"></End>
</Association>
<Association Name="Severity_Description">
<End Type="com.sap.appiot.es.Severity" Multiplicity="1" Role="Severities"></End>
<End Type="com.sap.appiot.es.Description" Multiplicity="*" Role="Descriptions"></End>
</Association>
<Association Name="EventType_Code">
<End Type="com.sap.appiot.es.EventType" Multiplicity="1" Role="EventTypes"></End>
<End Type="com.sap.appiot.es.Code" Multiplicity="*" Role="Codes"></End>
</Association>
<Association Name="EventPropertySetType_Property">
<End Type="com.sap.appiot.es.EventPropertySetType" Multiplicity="1" Role="EventPropertySetTypes"></End>
<End Type="com.sap.appiot.es.Property" Multiplicity="*" Role="Properties"></End>
</Association>
<Association Name="EventType_Status">
<End Type="com.sap.appiot.es.EventType" Multiplicity="1" Role="EventTypes"></End>
<End Type="com.sap.appiot.es.Status" Multiplicity="*" Role="Statuses"></End>
</Association>
<Association Name="EventCorrelation_Event">
<End Type="com.sap.appiot.es.EventCorrelation" Multiplicity="1" Role="EventCorrelations"></End>
<End Type="com.sap.appiot.es.Event" Multiplicity="*" Role="Events"></End>
</Association>
<Association Name="EventType_Description">
<End Type="com.sap.appiot.es.EventType" Multiplicity="1" Role="EventTypes"></End>
<End Type="com.sap.appiot.es.Description" Multiplicity="*" Role="Descriptions"></End>
</Association>
<Association Name="EventType_Severity">
<End Type="com.sap.appiot.es.EventType" Multiplicity="1" Role="EventTypes"></End>
<End Type="com.sap.appiot.es.Severity" Multiplicity="*" Role="Severities"></End>
</Association>
<Association Name="Status_Description">
<End Type="com.sap.appiot.es.Status" Multiplicity="1" Role="Statuses"></End>
<End Type="com.sap.appiot.es.Description" Multiplicity="*" Role="Descriptions"></End>
</Association>
<Association Name="Code_Description">
<End Type="com.sap.appiot.es.Code" Multiplicity="1" Role="Codes"></End>
<End Type="com.sap.appiot.es.Description" Multiplicity="*" Role="Descriptions"></End>
</Association>
<Association Name="EventPropertySetType_Description">
<End Type="com.sap.appiot.es.EventPropertySetType" Multiplicity="1" Role="EventPropertySetTypes"></End>
<End Type="com.sap.appiot.es.Description" Multiplicity="*" Role="Descriptions"></End>
</Association>
<Association Name="EventType_PropertySetDescription">
<End Type="com.sap.appiot.es.EventType" Multiplicity="1" Role="EventTypes"></End>
<End Type="com.sap.appiot.es.PropertySetDescription" Multiplicity="*" Role="PropertySetDescriptions"></End>
</Association>
<EntityContainer Name="UnifiedEvents" m:IsDefaultEntityContainer="true">
<EntitySet Name="Statuses" EntityType="com.sap.appiot.es.Status"></EntitySet>
<EntitySet Name="Annotations" EntityType="com.sap.appiot.es.Annotations"></EntitySet>
<EntitySet Name="Properties" EntityType="com.sap.appiot.es.Property"></EntitySet>
<EntitySet Name="EventTypes" EntityType="com.sap.appiot.es.EventType"></EntitySet>
<EntitySet Name="EventCorrelations" EntityType="com.sap.appiot.es.EventCorrelation"></EntitySet>
<EntitySet Name="PropertySetDescriptions" EntityType="com.sap.appiot.es.PropertySetDescription"></EntitySet>
<EntitySet Name="EventPropertySetTypes" EntityType="com.sap.appiot.es.EventPropertySetType"></EntitySet>
<EntitySet Name="Descriptions" EntityType="com.sap.appiot.es.Description"></EntitySet>
<EntitySet Name="Severities" EntityType="com.sap.appiot.es.Severity"></EntitySet>
<EntitySet Name="Events" EntityType="com.sap.appiot.es.Event"></EntitySet>
<EntitySet Name="Codes" EntityType="com.sap.appiot.es.Code"></EntitySet>
<AssociationSet Name="EventPropertySetType_Annotation" Association="com.sap.appiot.es.EventPropertySetType_Annotation">
<End EntitySet="EventPropertySetTypes" Role="EventPropertySetTypes"></End>
<End EntitySet="Annotations" Role="Annotations"></End>
</AssociationSet>
<AssociationSet Name="Property_Description" Association="com.sap.appiot.es.Property_Description">
<End EntitySet="Properties" Role="Properties"></End>
<End EntitySet="Descriptions" Role="Descriptions"></End>
</AssociationSet>
<AssociationSet Name="Severity_Description" Association="com.sap.appiot.es.Severity_Description">
<End EntitySet="Severities" Role="Severities"></End>
<End EntitySet="Descriptions" Role="Descriptions"></End>
</AssociationSet>
<AssociationSet Name="EventType_Code" Association="com.sap.appiot.es.EventType_Code">
<End EntitySet="EventTypes" Role="EventTypes"></End>
<End EntitySet="Codes" Role="Codes"></End>
</AssociationSet>
<AssociationSet Name="EventPropertySetType_Property" Association="com.sap.appiot.es.EventPropertySetType_Property">
<End EntitySet="EventPropertySetTypes" Role="EventPropertySetTypes"></End>
<End EntitySet="Properties" Role="Properties"></End>
</AssociationSet>
<AssociationSet Name="EventType_Status" Association="com.sap.appiot.es.EventType_Status">
<End EntitySet="EventTypes" Role="EventTypes"></End>
<End EntitySet="Statuses" Role="Statuses"></End>
</AssociationSet>
<AssociationSet Name="EventCorrelation_Event" Association="com.sap.appiot.es.EventCorrelation_Event">
<End EntitySet="EventCorrelations" Role="EventCorrelations"></End>
<End EntitySet="Events" Role="Events"></End>
</AssociationSet>
<AssociationSet Name="EventType_Description" Association="com.sap.appiot.es.EventType_Description">
<End EntitySet="EventTypes" Role="EventTypes"></End>
<End EntitySet="Descriptions" Role="Descriptions"></End>
</AssociationSet>
<AssociationSet Name="EventType_Severity" Association="com.sap.appiot.es.EventType_Severity">
<End EntitySet="EventTypes" Role="EventTypes"></End>
<End EntitySet="Severities" Role="Severities"></End>
</AssociationSet>
<AssociationSet Name="Status_Description" Association="com.sap.appiot.es.Status_Description">
<End EntitySet="Statuses" Role="Statuses"></End>
<End EntitySet="Descriptions" Role="Descriptions"></End>
</AssociationSet>
<AssociationSet Name="Code_Description" Association="com.sap.appiot.es.Code_Description">
<End EntitySet="Codes" Role="Codes"></End>
<End EntitySet="Descriptions" Role="Descriptions"></End>
</AssociationSet>
<AssociationSet Name="EventPropertySetType_Description" Association="com.sap.appiot.es.EventPropertySetType_Description">
<End EntitySet="EventPropertySetTypes" Role="EventPropertySetTypes"></End>
<End EntitySet="Descriptions" Role="Descriptions"></End>
</AssociationSet>
<AssociationSet Name="EventType_PropertySetDescription" Association="com.sap.appiot.es.EventType_PropertySetDescription">
<End EntitySet="EventTypes" Role="EventTypes"></End>
<End EntitySet="PropertySetDescriptions" Role="PropertySetDescriptions"></End>
</AssociationSet>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>