Get Application Settings

Get the application settings.

Syntax

Perform an HTTP GET request at the following URL:

http://domain: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-SUP-APPCID=b6d50e93-bcaa-439d-9741-660a3cb56771; X-SUP-SESSID=97ts80gwhxkc 
    Host: supserver:8000
    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/atom+xml;charset=utf-8
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Set-Cookie: X-SUP-APPCID=b6d50e93-bcaa-439d-9741-660a3cb56771
    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 xmlns="http://www.w3.org/2005/Atom"
           xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
           xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
           xml:base="http://localhost:8000/odata/applications/v1/e2eTest/">
      <id>http://localhost:8000/odata/applications/v1/e2eTest/Connections('c9d8a9da-9f36-4ae5-9da5-37d6d90483b5')</id>
      <title type="text" />
      <updated>2012-06-28T09:55:48Z</updated>
      <author><name /></author>
      <link rel="edit" title="Connections" href="Connections('c9d8a9da-9f36-4ae5-9da5-37d6d90483b5')" />
      <category term="applications.Connection" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
      <content type="application/xml">
        <m:properties>
          <d:ETag>2012-06-28 17:55:47.685</d:ETag>
          <d:ApplicationConnectionId>c9d8a9da-9f36-4ae5-9da5-37d6d90483b5</d:ApplicationConnectionId>
          <d:AndroidGcmPushEnabled m:type="Edm.Boolean">false</d:AndroidGcmPushEnabled>
          <d:AndroidGcmRegistrationId m:null="true" />
          <d:AndroidGcmSenderId m:null="true" />
          <d:ApnsPushEnable m:type="Edm.Boolean">true</d:ApnsPushEnable>
          <d:ApnsAlerts m:type="Edm.Boolean">true</d:ApnsAlerts>
          <d:ApnsBadgesm:type="Edm.Boolean">true</d:ApnsBadges>
          <d:ApnsSounds m:type="Edm.Boolean">true</d:ApnsSounds>
          <d:ApnsAlertMessage>New Items Available</d:ApnsAlertMessage>
          <d:ApnsDeviceToken m:null="true" />
          <d:CustomizationBundleId>TestMDC:1.0</d: CustomizationBundleId>
          <d:ApplicationVersion m:null="true" />
          <d:ClientSdkVersion m:null="true" />
          <d:BlackberryPushEnabled m:type="Edm.Boolean">true</d:BlackberryPushEnabled>
          <d:BlackberryDevicePin>00000000</d:BlackberryDevicePin>
          <d:BlackberryBESListenerPort m:type="Edm.Int32">5011</d:BlackberryBESListenerPort>
          <d:CapabilitiesPasswordPolicy m:type="Edm.Boolean">false</d:CapabilitiesPasswordPolicy>
          <d:CustomCustom1>custom1</d:CustomCustom1>
          <d:CustomCustom2 m:null="true" />
          <d:CustomCustom3 m:null="true" />
          <d:CustomCustom4 m:null="true" />
          <d:DeviceModel m:null="true" />
          <d:DeviceType>Unknown</d:DeviceType>
          <d:DeviceSubType m:null="true" />
          <d:DevicePhoneNumber>12345678901</d:DevicePhoneNumber>
          <d:DeviceIMSI m:null="true" />
          <d:PasswordPolicyEnabled m:type="Edm.Boolean">true</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:ProxyApplicationEndpointm:null="true" />
          <d:ProxyPushEndpoint>http://domain:8000/GWC/SUPNotification</d:ProxyPushEndpoint>
      </content>
    </entry>