Read Metadata of Composite Custom Master Data Basic Service

This service retrieves the metadata of Composite Custom Master Data Basic Service.

Request

URI: /CompositeMasterData/v1/$metadata

Operation Type: CRUD

HTTP Method: GET

Permissions: <compcd>.r

Request Parameters

None

Request Example

/CompositeMasterData/v1/$metadata

Response

Response Status and Error Codes

Code Description
200 Metadata retrieved successfully

Payload

Only media type supported is XML. The XML for this method has the structure as shown in the following example.

Example

/CompositeMasterData/v1/$metadata
<?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" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
            <EntityType Name="ObjectInstance">
                <Key>
                    <PropertyRef Name="ObjectType"></PropertyRef>
                    <PropertyRef Name="ObjectId"></PropertyRef>
                </Key>
                <Property Name="ObjectId" Type="Edm.String"></Property>
                <Property Name="ObjectType" Type="Edm.String"></Property>
                <Property Name="StartTime" Type="Edm.DateTime"></Property>
                <Property Name="ExpiryTime" Type="Edm.DateTime"></Property>
            </EntityType>
            <EntityType Name="Thing">
                <Key>
                    <PropertyRef Name="ThingId"></PropertyRef>
                </Key>
                <Property Name="ThingId" Type="Edm.String" Nullable="false">
                    <Documentation>
                        <LongDescription>Thing unique ID</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ThingDescription" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Thing description</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ThingName" Type="Edm.String" Nullable="false">
                    <Documentation>
                        <LongDescription>Thing name</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="AlternateId" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Thing AlternateId</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ThingExternalId" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Thing external id</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ThingType" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Thing Type ID associated with the Thing</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ObjectGroup" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Object group used to create the Thing</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ThingCustomerId" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Business partner ID associated for the Thing</LongDescription>
                    </Documentation>
                </Property>
                <Property Name="ThingLocationId" Type="Edm.String">
                    <Documentation>
                        <LongDescription>Thing location ID</LongDescription>
                    </Documentation>
                </Property>
                <NavigationProperty Name="ObjectInstance" Relationship="com.sap.appiot.ObjectInstance" FromRole="ThingEntities" ToRole="ObjectInstanceEntities"></NavigationProperty>
            </EntityType>
            <Association Name="ObjectInstance">
                <End Type="com.sap.appiot.Thing" Multiplicity="1" Role="ThingEntities"></End>
                <End Type="com.sap.appiot.ObjectInstance" Multiplicity="*" Role="ObjectInstanceEntities"></End>
            </Association>
            <EntityContainer Name="CompositeMasterDataAnalytics" m:IsDefaultEntityContainer="true">
                <EntitySet Name="ObjectInstances" EntityType="com.sap.appiot.ObjectInstance"></EntitySet>
                <EntitySet Name="Things" EntityType="com.sap.appiot.Thing"></EntitySet>
                <AssociationSet Name="ObjectInstance" Association="com.sap.appiot.ObjectInstance">
                    <End EntitySet="Things" Role="ThingEntities"></End>
                    <End EntitySet="ObjectInstances" Role="ObjectInstanceEntities"></End>
                </AssociationSet>
            </EntityContainer>
        </Schema>
    </edmx:DataServices>
</edmx:Edmx>