Get the metadata document that includes the metadata for the application connection settings and proxy endpoints.
http[s]://<host:port>/[public/]odata/applications/{v1|latest}/{appid}/$metadata
GET /odata/applications/v1/com.sap.myapp/$metadata HTTP/1.1 Host: smpserver:8080 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.3 (java 1.5) Authorization: Basic REVWMDAwMTppbml0aWFs
HTTP response header:
HTTP/1.1 200 OK Content-Type: application/xml;charset=utf-8 Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: X-SMP-SESSID=97ts80gwhxkc;Path=/ Set-Cookie: X-SMP-APPCID=b6d50e93-bcaa-439d-9741-660a3cb56771 DataServiceVersion: 1.0 Date: Tue, 14 Aug 2012 21:32:34 GMT Transfer-Encoding: chunked
HTTP response body (metadata):
<?xml version="1.0" encoding="utf-8"?> <edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:smp="http://www.sap.com/smp/odata"><edmx:DataServices m:DataServiceVersion="2.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><Schema Namespace="applications" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"> <EntityType Name="Connection"> <Key> <PropertyRef Name="ApplicationConnectionId"></PropertyRef></Key> <Property Name="ETag" Type="Edm.String" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="ApplicationConnectionId" Type="Edm.String" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="AndroidGcmPushEnabled" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="false"></Property> <Property Name="AndroidGcmRegistrationId" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="AndroidGcmSenderId" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="ApnsPushEnable" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="false"></Property> <Property Name="ApnsDeviceToken" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="ApplicationVersion" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="BlackberryPushEnabled" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="false"></Property> <Property Name="BlackberryDevicePin" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="BlackberryBESListenerPort" Type="Edm.Int32" Nullable="false" sup:ReadOnly="false"></Property> <Property Name="BlackberryPushAppID" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="BlackberryPushBaseURL" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="BlackberryPushListenerPort" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="BlackberryListenerType" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="ConnectionLogLevel" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="CustomizationBundleId" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="CustomCustom1" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="CustomCustom2" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="CustomCustom3" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="CustomCustom4" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="DeviceModel" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="DeviceType" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="DeviceSubType" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="DevicePhoneNumber" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="DeviceIMSI" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="MpnsChannelURI" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="MpnsPushEnable" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="false"></Property> <Property Name="PasswordPolicyEnabled" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyDefaultPasswordAllowed" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyMinLength" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyDigitRequired" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyUpperRequired" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyLowerRequired" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicySpecialRequired" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyExpiresInNDays" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyMinUniqueChars" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyLockTimeout" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="PasswordPolicyRetryLimit" Type="Edm.Int32" Nullable="false" sup:ReadOnly="true"></Property> <Property Name="ProxyApplicationEndpoint" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="ProxyPushEndpoint" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="UploadLogs" Type="Edm.String" Nullable="true" sup:ReadOnly="true"></Property> <Property Name="WnsChannelURI" Type="Edm.String" Nullable="true" sup:ReadOnly="false"></Property> <Property Name="WnsPushEnable" Type="Edm.Boolean" Nullable="false" sup:ReadOnly="false"></Property> </EntityType> <EntityContainer Name="Container" m:IsDefaultEntityContainer="true"> <EntitySet Name="Connections" EntityType="applications.Connection"> </EntitySet> </EntityContainer> </Schema> </edmx:DataServices> </edmx:Edmx>