6-8
Cisco Unified IP Phone Services Application Development Notes
OL-20949-01
Chapter 6 HTTP Requests and Header Settings
Accept Header

x-CiscoIPPhoneSDKVersion

This Cisco-proprietary header contains the version of the IP Phone Services SDK that the requesting
phone supports. The HTTP header does not specify which URI s a re supp orte d. T he refor e, y ou mu st
check the “Supported URIs” matrix in the IP Phone Services SDK to determine which URIs are
supported based on the Phone Model Name and supported SDK version.
See Tabl e 5-1 table to find which IP phone models support the URIs documented in this SDK.
Note Beginning with the IP Phone Services SDK 3.3(3), the SDK version numb er m atc hes the minimu m
Cisco Unified Communications Manager software that is required to support it. For exa mple , SD K
version 3.3(4) gets supported only on Cisco Communications Manager version 3.3(4) or later.
Accept Header
The Accept header represents a standard HTTP header that is used to inform web servers about the
content-handling capabilities of the client.
Cisco Unified IP Phones include proprietary content-types to indicate which XML obj ect s are
supported. These proprietary content-types all begin with x-CiscoIPPhone, to indicate
Cisco Unified IP Phone XML objects, followed by a slash “/”, foll ow ed b y either a spec if ic XML ob ject
or a “*” to indicate all objects.
For example, x-CiscoIPPhone/* indicates that all XML objects defined in the specified version of the
SDK are supported, and x-CiscoIPPhone/Menu specifies th at th e <C iscoIPPhoneMenu> object gets
supported.
As the example illustrates, the name of the XML object can be derived dire ctly from the conte nt-typ e by
appending the sub-type (the part after the slash) onto “CiscoIPPhone .” The content-type can also include
an optional version to indicate support for a particular SDK ver sio n of t hat obje ct. If a version is n ot
specified, then the x-CiscoIPPhoneSDKVersion is implied. T he synta x of th e version number may vary,
but, in general, will be as follows:
<major version>.<minor version>.<maintenance version>
Here are some examples of typical content-types:
x-CiscoIPPhone/*;version=3.3.3
x-CiscoIPPhone/Text
x-CiscoIPPhone/Menu;version=3.3.4