Getting Application Settings

You can retrieve the application connection settings for the device application instance by issuing the GET method.

You can retrieve application settings by either explicitly specifying the application connection ID, or by having the application connection ID determined from the call context (that is, from either the X-SUP-APPCID cookie or X-SUP-APPCID HTTP header, if supplied). On the first call you can simplify your client application code by having the application connection ID determined from the call context, since you have not yet received an application connection ID.

If you supply an application connection ID, perform an HTTP GET method at the following URL:

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

If you do not supply an application connection ID, perform an HTTP GET method at the following URL:

http://domain:port/[public/]odata/applications/{v1|latest}/{appid}/Connections(‘*current ’)

You can also retrieve a property value by appending the property name in the URL. For example, to retrieve the ClientLogLevel property value:

http://domain:port/[public/]odata/applications/{v1|latest}/{appid}/Connections(‘{appcid}’)/ClientLogLevel