Mobile SDK > Disconnected mobile application reference > Mobile Synchronization Web Service (MobileSyncWebService) reference > URL overview > /Projects/PROJECT/Routing/ [VERSION]/[ROUTINGCONTEXT] URL
 
/Projects/PROJECT/Routing/ [VERSION]/[ROUTINGCONTEXT] URL
Description
Retrieves the Routing XML for the specified version and routing context. The version and routing context are optional, but when they are not specified, the latest version and default routing are used. An optional parameter can only be specified if all preceding parameters in the URL are specified. For example, to specify a routing context, the required version must also be specified. The "-" special value can be used in place of the Version, Language, Context, or LabelType to indicate the value has not been specified, and the latest version or default LCL must be used.
Versions use the M:N format (for example, 1:2). The colon character is not valid on the URL. Therefore, a version of 1:2 must be formatted as 1.2 in the URL.
Get Request
The caller can include If-Modified-Since in the header to request only updated files.
Example URLs:
/SPSSMR/MobileSync/Projects/Museum/Routing
/SPSSMR/MobileSync/Projects/Museum/Routing/4
/SPSSMR/MobileSync/Projects/Museum/Routing/-/Mobile
Get Response
The Routing XML is returned, or an HTTP 304 message if the file was not modified.
Example response:
<Routing Project="sampletest" Version="1"
         RoutingContext="Paper">
  <Ask Name="Respondent" Question="Respondent" />
  <Ask Name="Quest1" Question="Quest1" />
  <Ask Name="Quest2" Question="Quest2" />
  <Ask Name="Quest3" Question="Quest3" />
</Routing>
See also
URL overview