Get Application Settings

Get the application settings.

Syntax

Perform an HTTP GET request at the following URL:

http[s]://<host:port>/[public/]odata/applications/{v1|latest}/{appid}/Connections(‘{appcid}’)  

Parameters

  • appid – The application ID that uniquely identifies the application.
  • appcid – The application connection ID of the application instance interacting with the service.

Returns

If successful, returns a 200 OK status code and an HTTP response body with the application settings.

Examples

  • Get application settings – HTTP request header:
    GET /odata/applications/v1/com.sap.myapp/Connections('b6d50e93-bcaa-439d-9741-660a3cb56771') HTTP/1.1
    Cookie: X-SMP-APPCID=<XXXX>; X-SMP-SESSID=<XXXX> 
    Host: smpserver:8080
    Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.1.3 (java 1.5)
    Authorization: Basic <XXXX>

    HTTP response header:

    HTTP/1.1 200 OK
    Content-Type: application/atom+xml;charset=utf-8
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Set-Cookie: X-SMP-APPCID=<XXXX>
    DataServiceVersion: 1.0
    Date: Mon, 13 Aug 2012 22:56:50 GMT
    Transfer-Encoding: chunked

    HTTP response body:

    <?xml version="1.0" encoding="UTF-8"?>
    -<entry xml:base="http://10.53.138.170:8080/odata/applications/latest/G3T/"
    xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" 
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <id>http://10.53.138.170:8080/odata/applications/latest/G3T/Connections<XXXX></id>
    <title type="text"/>
    <updated>2013-11-07T09:15:17Z</updated>
    <author><name/></author>
    <link title="Connection" href="Connections('xxxx')" rel="edit"/>
    <category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="applications.Connection"/>
    <content type="application/xml">
    <m:properties>
    	<d:ETag>2013-11-07 14:44:43.0</d:ETag><d:ApplicationConnectionId>xxxx</d:ApplicationConnectionId>
    	<d:AndroidGcmPushEnabled m:type="Edm.Boolean">false</d:AndroidGcmPushEnabled>
    	<d:AndroidGcmRegistrationId m:null="true"/><d:AndroidGcmSenderId/>
    	<d:ApnsPushEnable m:type="Edm.Boolean">true</d:ApnsPushEnable>
    	<d:ApnsDeviceToken m:null="true"/>
    	<d:ApplicationVersion>1.0</d:ApplicationVersion>
    	<d:BlackberryPushEnabled m:type="Edm.Boolean">false</d:BlackberryPushEnabled>
    	<d:BlackberryDevicePin m:null="true"/>
    	<d:BlackberryBESListenerPort m:type="Edm.Int32">0</d:BlackberryBESListenerPort>
    	<d:BlackberryPushAppID m:null="true"/>
    	<d:BlackberryPushBaseURL m:null="true"/>
    	<d:BlackberryPushListenerPort m:type="Edm.Int32">0</d:BlackberryPushListenerPort>
    	<d:BlackberryListenerType m:type="Edm.Int32">0</d:BlackberryListenerType>
    	<d:ConnectionLogLevel>NONE</d:ConnectionLogLevel>
    	<d:CustomizationBundleId m:null="true"/><d:CustomCustom1/><d:CustomCustom2/><d:CustomCustom3/><d:CustomCustom4/>
    	<d:DeviceModel m:null="true"/>
    	<d:DeviceType>Unknown</d:DeviceType>
    	<d:DeviceSubType m:null="true"/>
    	<d:DevicePhoneNumber m:null="true"/>
    	<d:DeviceIMSI m:null="true"/>
    	<d:MpnsChannelURI m:null="true"/>
    	<d:MpnsPushEnable m:type="Edm.Boolean">true</d:MpnsPushEnable>
    	<d:PasswordPolicyEnabled m:type="Edm.Boolean">false</d:PasswordPolicyEnabled>
    	<d:PasswordPolicyDefaultPasswordAllowed m:type="Edm.Boolean">false</d:PasswordPolicyDefaultPasswordAllowed>
    	<d:PasswordPolicyMinLength m:type="Edm.Int32">8</d:PasswordPolicyMinLength>
    	<d:PasswordPolicyDigitRequired m:type="Edm.Boolean">false</d:PasswordPolicyDigitRequired>
    	<d:PasswordPolicyUpperRequired m:type="Edm.Boolean">false</d:PasswordPolicyUpperRequired>
    	<d:PasswordPolicyLowerRequired m:type="Edm.Boolean">false</d:PasswordPolicyLowerRequired>
    	<d:PasswordPolicySpecialRequired m:type="Edm.Boolean">false</d:PasswordPolicySpecialRequired>
    	<d:PasswordPolicyExpiresInNDays m:type="Edm.Int32">0</d:PasswordPolicyExpiresInNDays>
    	<d:PasswordPolicyMinUniqueChars m:type="Edm.Int32">0</d:PasswordPolicyMinUniqueChars>
    	<d:PasswordPolicyLockTimeout m:type="Edm.Int32">0</d:PasswordPolicyLockTimeout>
    	<d:PasswordPolicyRetryLimit 	m:type="Edm.Int32">20</d:PasswordPolicyRetryLimit>
    <d:ProxyApplicationEndpoint>http://vmw3815.wdf.sap.corp:50009/sap/opu/sdata/iwfnd/RMTSAMPLEFLIGHT/</d:ProxyApplicationEndpoint>
    <d:ProxyPushEndpoint>http://INLC50802847A:8080/Notification</d:ProxyPushEndpoint>
    <d:UploadLogs>false</d:UploadLogs>
    <d:WnsChannelURI m:null="true"/>
    <d:WnsPushEnable m:type="Edm.Boolean">false</d:WnsPushEnable>
    </m:properties>
    </content>
    </entry>