The Wireless Network Services APIs use the following data types:
The following table describes the most commonly used primitive data types.
NOTE: A complete set of XML schema data types (both primitive and derived) is available at the World Wide Web Consortium (W3C) website, at www.w3.org/TR/xmlschema-2/.
|Primitive Data Type||Description|
|Boolean||Binary-valued logic: True, False; 1, 0.|
Date/time format: YYYY-MM-DDThh:mm:ss.SSSxyy:zz
The time zone used in responses is UTC. You are responsible for any conversion of time and date data to and from UTC time zone.
|decimal||Arbitrary precision decimal numbers: -43.21, 1500.00.|
|double||A double-precision 64-bit floating point: 12.78e-2.|
Format is: PnYn MnDT nH nMnS
NOTE: The number of seconds can include decimal digits to arbitrary precision. An optional preceding minus sign ("-") is allowed, to indicate a negative duration. When the sign is omitted, a positive duration is indicated. For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, you would write: P1Y2M3DT10H30M.
For more information on the duration definition, visit the W3C.org website: www.w3.org/TR/xmlschema-2/#duration
|float||A single-precision 32-bit floating point.|
|string||A text string: "This is a string."|
|Int||An integer range from -2147483647 to +2147483648.|
|Short||A short range from -32767 to + 32768.|
Complex data types are defined in the WSDL files, and are documented throughout this guide.
The units used by Wireless Network Services are: