Show TOC

Create Application ConnectionLocate this document in the navigation structure

Create an application connection and initially set the application connection settings. Because all application connection settings are optional, the minimal body contains no properties at all. Mobile platform populates default values as needed.

Syntax
Perform an HTTP POST request at the following URL:
  • On-Premise
    http[s]://<host:port>/[public/]/odata/applications/{v1|latest}/<appid>/Connections
  • Cloud
    https://<HMC base URL>/odata/applications/{v1|latest}/<appid>/Connections
Parameters
  • appid

    – ID that uniquely identifies the application.

    Note If an application is configured for anonymous access in the cockpit, the registration is successful even if there are no credentials, or incorrect ones, in the authorization header.
Returns

If successful, a 201 Created status code is returned, and the new application connection settings are included in the response body.

Examples
  • Request minimal body:
    <?xml version='1.0' encoding='utf-8'?>
    <entry xmlns="http://www.w3.org/2005/Atom"
    xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <title type="text"/>
    <updated>2014-061-15T02:23:29Z</updated>
    <author>
    <name/>
    </author>
    <category term="applications.Connection" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    <content type="application/xml">
    <m:properties>
    <d:DeviceType>iPhone</d:DeviceType>
    <d:DeviceModel m:null="true" />
    <d:ApnsDeviceToken m:null="false">18AA4813FB9E6393065BFEDADCDD68173782A42599F3C9E2BF14F990F2D9F096</d:ApnsDeviceToken>
    </m:properties>
    </content>
    </entry>

    Response body:

    <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://10.53.138.236:8080/odata/applications/latest/docTest/">
    <id>http://10.53.138.236:8080/odata/applications/latest/docTest/Connections('a21eb32b-0eb5-4dbe-baaa-8e5ca079176e')</id>
    <title type="text" />
    <updated>2014-01-06T09:19:18Z</updated>
    <author>
    <name />
    </author>
    <link rel="edit" title="Connection" href="Connections('a21eb32b-0eb5-4dbe-baaa-8e5ca079176e')" />
    <category term="applications.Connection" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <content type="application/xml">
     <m:properties>
    <d:ETag>2014-01-06 14:49:18.0</d:ETag>
    <d:ApplicationConnectionId>a21eb32b-0eb5-4dbe-baaa-8e5ca079176e</d:ApplicationConnectionId>
    <d:AndroidGcmPushEnabled m:type="Edm.Boolean">false</d:AndroidGcmPushEnabled>
    <d:AndroidGcmRegistrationId m:null="true" />
    <d:AndroidGcmSenderId />
    <d:ApnsPushEnable m:type="Edm.Boolean">false</d:ApnsPushEnable>
    <d:ApnsDeviceToken>18AA4813FB9E6393065BFEDADCDD68173782A42599F3C9E2BF14F990F2D9F096</d:ApnsDeviceToken>
    <d:ApplicationVersion>1.0</d:ApplicationVersion>
    <d:BlackberryPushEnabled m:type="Edm.Boolean">false</d:BlackberryPushEnabled>
    <d:BlackberryDevicePin>2100000A</d:BlackberryDevicePin>
    <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">false</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://INLD50802854A: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>